nexus-shell 0.1.21 → 0.1.22
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/{index-C6hsm0HE.js → index-CldzmX--.js} +87 -85
- package/dist/{maplibre-gl-DcUgsYL2.js → maplibre-gl-4rEhwx6Y.js} +1 -1
- package/dist/nexus-shell.es.js +1 -1
- package/dist/nexus-shell.umd.js +2 -2
- package/dist/stories/GlobalModal.stories.d.ts +7 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -17501,7 +17501,7 @@ function wG(r, e) {
|
|
|
17501
17501
|
Qe(() => {
|
|
17502
17502
|
const p = r.mapLib;
|
|
17503
17503
|
let f = !0, E;
|
|
17504
|
-
return Promise.resolve(p || import("./maplibre-gl-
|
|
17504
|
+
return Promise.resolve(p || import("./maplibre-gl-4rEhwx6Y.js").then((g) => g.m)).then((g) => {
|
|
17505
17505
|
if (!f)
|
|
17506
17506
|
return;
|
|
17507
17507
|
if (!g)
|
|
@@ -75642,8 +75642,8 @@ const FI = ({
|
|
|
75642
75642
|
)
|
|
75643
75643
|
]
|
|
75644
75644
|
}
|
|
75645
|
-
) : /* @__PURE__ */ y.jsxs("div", { className: Xr("flex items-center
|
|
75646
|
-
p && /* @__PURE__ */ y.jsx(
|
|
75645
|
+
) : /* @__PURE__ */ y.jsxs("div", { className: Xr("flex items-center justify-between text-foreground font-sans w-full", a), children: [
|
|
75646
|
+
/* @__PURE__ */ y.jsx("div", { className: "flex items-center justify-start min-w-[40px]", children: p && /* @__PURE__ */ y.jsx(
|
|
75647
75647
|
"button",
|
|
75648
75648
|
{
|
|
75649
75649
|
onClick: p,
|
|
@@ -75654,93 +75654,95 @@ const FI = ({
|
|
|
75654
75654
|
title: "Toggle Node Library",
|
|
75655
75655
|
children: /* @__PURE__ */ y.jsx(j7, { size: 16 })
|
|
75656
75656
|
}
|
|
75657
|
-
),
|
|
75658
|
-
|
|
75659
|
-
/* @__PURE__ */ y.jsxs(
|
|
75660
|
-
|
|
75661
|
-
|
|
75662
|
-
|
|
75663
|
-
|
|
75664
|
-
|
|
75665
|
-
|
|
75666
|
-
|
|
75667
|
-
|
|
75668
|
-
|
|
75669
|
-
|
|
75670
|
-
|
|
75671
|
-
|
|
75672
|
-
|
|
75673
|
-
|
|
75674
|
-
|
|
75675
|
-
|
|
75676
|
-
|
|
75677
|
-
|
|
75678
|
-
|
|
75679
|
-
|
|
75680
|
-
|
|
75681
|
-
|
|
75682
|
-
|
|
75683
|
-
|
|
75684
|
-
|
|
75685
|
-
|
|
75686
|
-
|
|
75687
|
-
|
|
75688
|
-
|
|
75689
|
-
|
|
75690
|
-
|
|
75691
|
-
/* @__PURE__ */ y.jsxs(
|
|
75657
|
+
) }),
|
|
75658
|
+
/* @__PURE__ */ y.jsxs("div", { className: "flex items-center space-x-3", children: [
|
|
75659
|
+
n && e && /* @__PURE__ */ y.jsxs("div", { className: "flex items-center border border-border/80 rounded p-0.5 bg-muted/20", children: [
|
|
75660
|
+
/* @__PURE__ */ y.jsxs(
|
|
75661
|
+
"button",
|
|
75662
|
+
{
|
|
75663
|
+
onClick: () => n("pan"),
|
|
75664
|
+
className: Xr(
|
|
75665
|
+
"px-2 py-1 text-[10px] font-bold rounded flex items-center gap-1 transition-all active:scale-95",
|
|
75666
|
+
e === "pan" ? "bg-primary text-primary-foreground shadow-sm" : "hover:bg-accent text-muted-foreground hover:text-foreground"
|
|
75667
|
+
),
|
|
75668
|
+
title: "Pan Mode",
|
|
75669
|
+
children: [
|
|
75670
|
+
/* @__PURE__ */ y.jsx(Y8, { size: 11 }),
|
|
75671
|
+
" Pan"
|
|
75672
|
+
]
|
|
75673
|
+
}
|
|
75674
|
+
),
|
|
75675
|
+
/* @__PURE__ */ y.jsxs(
|
|
75676
|
+
"button",
|
|
75677
|
+
{
|
|
75678
|
+
onClick: () => n("select"),
|
|
75679
|
+
className: Xr(
|
|
75680
|
+
"px-2 py-1 text-[10px] font-bold rounded flex items-center gap-1 transition-all active:scale-95",
|
|
75681
|
+
e === "select" ? "bg-primary text-primary-foreground shadow-sm" : "hover:bg-accent text-muted-foreground hover:text-foreground"
|
|
75682
|
+
),
|
|
75683
|
+
title: "Box Select Mode",
|
|
75684
|
+
children: [
|
|
75685
|
+
/* @__PURE__ */ y.jsx(Wd, { size: 11 }),
|
|
75686
|
+
" Select"
|
|
75687
|
+
]
|
|
75688
|
+
}
|
|
75689
|
+
)
|
|
75690
|
+
] }),
|
|
75691
|
+
/* @__PURE__ */ y.jsxs("div", { className: "flex items-center border border-border/80 rounded p-0.5 bg-muted/20", children: [
|
|
75692
|
+
/* @__PURE__ */ y.jsxs(
|
|
75693
|
+
"button",
|
|
75694
|
+
{
|
|
75695
|
+
onClick: () => o("vertical"),
|
|
75696
|
+
className: Xr(
|
|
75697
|
+
"px-2 py-1 text-[10px] font-bold rounded flex items-center gap-1 transition-all active:scale-95",
|
|
75698
|
+
t === "vertical" ? "bg-primary text-primary-foreground shadow-sm" : "hover:bg-accent text-muted-foreground hover:text-foreground"
|
|
75699
|
+
),
|
|
75700
|
+
title: "Vertical Auto-layout",
|
|
75701
|
+
children: [
|
|
75702
|
+
/* @__PURE__ */ y.jsx(ll, { size: 11, className: t === "vertical" ? "text-primary-foreground" : "text-primary" }),
|
|
75703
|
+
" Vertical"
|
|
75704
|
+
]
|
|
75705
|
+
}
|
|
75706
|
+
),
|
|
75707
|
+
/* @__PURE__ */ y.jsx(
|
|
75708
|
+
"button",
|
|
75709
|
+
{
|
|
75710
|
+
onClick: () => o("horizontal"),
|
|
75711
|
+
className: Xr(
|
|
75712
|
+
"px-2 py-1 text-[10px] font-bold rounded flex items-center gap-1 transition-all active:scale-95",
|
|
75713
|
+
t === "horizontal" ? "bg-primary text-primary-foreground shadow-sm" : "hover:bg-accent text-muted-foreground hover:text-foreground"
|
|
75714
|
+
),
|
|
75715
|
+
title: "Horizontal Auto-layout",
|
|
75716
|
+
children: "Horizontal"
|
|
75717
|
+
}
|
|
75718
|
+
),
|
|
75719
|
+
/* @__PURE__ */ y.jsx(
|
|
75720
|
+
"button",
|
|
75721
|
+
{
|
|
75722
|
+
onClick: () => o("freeform"),
|
|
75723
|
+
className: Xr(
|
|
75724
|
+
"px-2 py-1 text-[10px] font-bold rounded flex items-center gap-1 transition-all active:scale-95",
|
|
75725
|
+
t === "freeform" ? "bg-primary text-primary-foreground shadow-sm" : "hover:bg-accent text-muted-foreground hover:text-foreground"
|
|
75726
|
+
),
|
|
75727
|
+
title: "Freeform Manual Layout",
|
|
75728
|
+
children: "Freeform"
|
|
75729
|
+
}
|
|
75730
|
+
)
|
|
75731
|
+
] }),
|
|
75732
|
+
s && /* @__PURE__ */ y.jsxs(
|
|
75692
75733
|
"button",
|
|
75693
75734
|
{
|
|
75694
|
-
onClick:
|
|
75695
|
-
className:
|
|
75696
|
-
|
|
75697
|
-
t === "vertical" ? "bg-primary text-primary-foreground shadow-sm" : "hover:bg-accent text-muted-foreground hover:text-foreground"
|
|
75698
|
-
),
|
|
75699
|
-
title: "Vertical Auto-layout",
|
|
75735
|
+
onClick: i,
|
|
75736
|
+
className: "p-1.5 rounded hover:bg-accent text-foreground border border-border/80 flex items-center gap-1 text-[10px] font-bold transition-all active:scale-95",
|
|
75737
|
+
title: "Undo Last Move or Layout Action",
|
|
75700
75738
|
children: [
|
|
75701
|
-
/* @__PURE__ */ y.jsx(
|
|
75702
|
-
"
|
|
75739
|
+
/* @__PURE__ */ y.jsx(Z8, { size: 12 }),
|
|
75740
|
+
" Undo Layout"
|
|
75703
75741
|
]
|
|
75704
75742
|
}
|
|
75705
|
-
),
|
|
75706
|
-
/* @__PURE__ */ y.jsx(
|
|
75707
|
-
"button",
|
|
75708
|
-
{
|
|
75709
|
-
onClick: () => o("horizontal"),
|
|
75710
|
-
className: Xr(
|
|
75711
|
-
"px-2 py-1 text-[10px] font-bold rounded flex items-center gap-1 transition-all active:scale-95",
|
|
75712
|
-
t === "horizontal" ? "bg-primary text-primary-foreground shadow-sm" : "hover:bg-accent text-muted-foreground hover:text-foreground"
|
|
75713
|
-
),
|
|
75714
|
-
title: "Horizontal Auto-layout",
|
|
75715
|
-
children: "Horizontal"
|
|
75716
|
-
}
|
|
75717
|
-
),
|
|
75718
|
-
/* @__PURE__ */ y.jsx(
|
|
75719
|
-
"button",
|
|
75720
|
-
{
|
|
75721
|
-
onClick: () => o("freeform"),
|
|
75722
|
-
className: Xr(
|
|
75723
|
-
"px-2 py-1 text-[10px] font-bold rounded flex items-center gap-1 transition-all active:scale-95",
|
|
75724
|
-
t === "freeform" ? "bg-primary text-primary-foreground shadow-sm" : "hover:bg-accent text-muted-foreground hover:text-foreground"
|
|
75725
|
-
),
|
|
75726
|
-
title: "Freeform Manual Layout",
|
|
75727
|
-
children: "Freeform"
|
|
75728
|
-
}
|
|
75729
75743
|
)
|
|
75730
75744
|
] }),
|
|
75731
|
-
|
|
75732
|
-
"button",
|
|
75733
|
-
{
|
|
75734
|
-
onClick: i,
|
|
75735
|
-
className: "p-1.5 rounded hover:bg-accent text-foreground border border-border/80 flex items-center gap-1 text-[10px] font-bold transition-all active:scale-95",
|
|
75736
|
-
title: "Undo Last Move or Layout Action",
|
|
75737
|
-
children: [
|
|
75738
|
-
/* @__PURE__ */ y.jsx(Z8, { size: 12 }),
|
|
75739
|
-
" Undo Layout"
|
|
75740
|
-
]
|
|
75741
|
-
}
|
|
75742
|
-
),
|
|
75743
|
-
E && /* @__PURE__ */ y.jsx(
|
|
75745
|
+
/* @__PURE__ */ y.jsx("div", { className: "flex items-center justify-end min-w-[40px]", children: E && /* @__PURE__ */ y.jsx(
|
|
75744
75746
|
"button",
|
|
75745
75747
|
{
|
|
75746
75748
|
onClick: E,
|
|
@@ -75751,7 +75753,7 @@ const FI = ({
|
|
|
75751
75753
|
title: "Toggle Argument Inspector",
|
|
75752
75754
|
children: /* @__PURE__ */ y.jsx(B7, { size: 16 })
|
|
75753
75755
|
}
|
|
75754
|
-
)
|
|
75756
|
+
) })
|
|
75755
75757
|
] }), dQ = ({ setActiveTab: r }) => {
|
|
75756
75758
|
const {
|
|
75757
75759
|
nodes: e,
|
|
@@ -77300,7 +77302,7 @@ const XI = ({
|
|
|
77300
77302
|
] })
|
|
77301
77303
|
] }),
|
|
77302
77304
|
/* @__PURE__ */ y.jsxs("main", { ref: H, className: "flex-1 flex flex-col min-w-0 h-full relative", children: [
|
|
77303
|
-
/* @__PURE__ */ y.jsx("div", { className: "
|
|
77305
|
+
/* @__PURE__ */ y.jsx("div", { className: "w-full shrink-0 z-40 bg-card border-b border-border flex items-center px-4 py-2 select-none shadow-sm", children: /* @__PURE__ */ y.jsx(
|
|
77304
77306
|
FI,
|
|
77305
77307
|
{
|
|
77306
77308
|
variant: "header",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var L_ = Object.defineProperty;
|
|
2
2
|
var B_ = (or, lr, ki) => lr in or ? L_(or, lr, { enumerable: !0, configurable: !0, writable: !0, value: ki }) : or[lr] = ki;
|
|
3
3
|
var Ce = (or, lr, ki) => B_(or, typeof lr != "symbol" ? lr + "" : lr, ki);
|
|
4
|
-
import { g as O_, c as V_ } from "./index-
|
|
4
|
+
import { g as O_, c as V_ } from "./index-CldzmX--.js";
|
|
5
5
|
function j_(or, lr) {
|
|
6
6
|
for (var ki = 0; ki < lr.length; ki++) {
|
|
7
7
|
const Gi = lr[ki];
|
package/dist/nexus-shell.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, a as r, b as t, C as i, d as o, D as u, e as g, f as l, h as S, F as n, M as p, i as d, N as m, j as h, S as c, k as y, l as M, m as W, T as b, n as T, o as R, U as D, W as P, p as k, q as w, r as B, s as C, t as f, u as v, v as x, w as A, x as L, y as N, z as U, B as z, E as F, G, H as I, I as j } from "./index-
|
|
1
|
+
import { A as s, a as r, b as t, C as i, d as o, D as u, e as g, f as l, h as S, F as n, M as p, i as d, N as m, j as h, S as c, k as y, l as M, m as W, T as b, n as T, o as R, U as D, W as P, p as k, q as w, r as B, s as C, t as f, u as v, v as x, w as A, x as L, y as N, z as U, B as z, E as F, G, H as I, I as j } from "./index-CldzmX--.js";
|
|
2
2
|
export {
|
|
3
3
|
s as ActivityBar,
|
|
4
4
|
r as AgentManager,
|