@mechane-ai/elements 0.9.0 → 0.11.0
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/NOTICE +24 -0
- package/README.md +7 -1
- package/dist/ai.js +153 -133
- package/dist/{categorical-values-DYRiw5Qd.js → categorical-values-FYc43JCa.js} +4 -4
- package/dist/{chart-frame-RL1hCWBC.js → chart-frame-Bczk5sWj.js} +22 -14
- package/dist/{chart-input-Bm3ot1yD.js → chart-input-CbzVN76m.js} +2 -2
- package/dist/charts/cartesian.js +529 -450
- package/dist/charts/distribution.js +302 -261
- package/dist/charts/graph.js +137 -103
- package/dist/charts/hierarchy.js +7 -7
- package/dist/charts/matrix.js +187 -174
- package/dist/charts/timeline.js +119 -92
- package/dist/charts.js +1 -1
- package/dist/code-block-B7xzM3tD.js +180 -0
- package/dist/collections.js +319 -242
- package/dist/content/code.js +1 -1
- package/dist/content/diff.js +81 -63
- package/dist/content/link.js +1 -1
- package/dist/content/markdown.js +115 -96
- package/dist/content/tree.js +43 -38
- package/dist/{content-link-BrPrpBof.js → content-link-CatGOrbo.js} +6 -2
- package/dist/content.js +172 -153
- package/dist/{assets/stylex.css → elements.css} +585 -229
- package/dist/feedback.js +1 -1
- package/dist/forms/dates.js +25 -25
- package/dist/forms.js +1 -1
- package/dist/index.js +1 -1
- package/dist/layout.js +239 -192
- package/dist/navigation/commands.js +45 -42
- package/dist/{navigation-yxK3iQXo.js → navigation-D2_sGy3C.js} +2 -2
- package/dist/navigation.js +10 -10
- package/dist/overlays.js +1 -1
- package/dist/packages/ai/src/conversation.d.ts +14 -2
- package/dist/packages/ai/src/index.d.ts +1 -1
- package/dist/packages/charts/src/cartesian/bar-chart.d.ts +5 -0
- package/dist/packages/charts/src/cartesian/index.d.ts +2 -2
- package/dist/packages/charts/src/chart-frame.d.ts +3 -0
- package/dist/packages/charts/src/chart-theme.d.ts +2 -1
- package/dist/packages/charts/src/distribution/distribution-plot.d.ts +22 -2
- package/dist/packages/charts/src/timeline/waterfall.d.ts +3 -2
- package/dist/packages/collections/src/collection-scroll.d.ts +2 -1
- package/dist/packages/collections/src/index.d.ts +1 -0
- package/dist/packages/collections/src/inspector.d.ts +6 -3
- package/dist/packages/content/src/diff/pierre-diff.d.ts +2 -1
- package/dist/packages/content/src/viewer-styles.d.ts +64 -0
- package/dist/packages/core/src/agent-avatar-glyphs.d.ts +1 -1
- package/dist/packages/core/src/index.d.ts +1 -1
- package/dist/packages/core/src/surfaces.d.ts +5 -0
- package/dist/packages/feedback/src/index.d.ts +4 -1
- package/dist/packages/feedback/src/toast.d.ts +5 -27
- package/dist/packages/forms/src/field-styles.d.ts +9 -0
- package/dist/packages/forms/src/selection-styles.d.ts +18 -2
- package/dist/packages/foundations/src/overlay-styles.d.ts +3 -1
- package/dist/packages/foundations/src/popup-styles.d.ts +7 -0
- package/dist/packages/foundations/src/tokens.stylex.d.ts +9 -0
- package/dist/packages/layout/src/frame.stylex.d.ts +1 -0
- package/dist/packages/layout/src/sidebar.d.ts +3 -1
- package/dist/packages/overlays/src/alert-dialog.d.ts +5 -2
- package/dist/packages/overlays/src/dialog.d.ts +7 -3
- package/dist/pierre-diff--zsiHCCB.js +71 -0
- package/dist/pierre-theme-D9hnHv3Z.js +126 -0
- package/dist/{pierre-tree-CRk09rx7.js → pierre-tree-D47uA7lb.js} +3 -3
- package/dist/{src-Cc0Sadzr.js → src-C_heP5kL.js} +295 -221
- package/dist/src-Cs0dRc4X.js +617 -0
- package/dist/src-D05isEh_.js +1652 -0
- package/dist/src-DXsGTJgv.js +969 -0
- package/dist/tokens.js +33 -25
- package/dist/viewer-styles-CpHqp5Qv.js +70 -0
- package/package.json +2 -1
- package/packages/foundations/src/tokens.stylex.ts +55 -48
- package/styles.css +1 -1
- package/dist/code-block-B30xQKqg.js +0 -175
- package/dist/pierre-diff-CZdzgiYm.js +0 -66
- package/dist/pierre-theme-BpESNIsV.js +0 -96
- package/dist/popup-styles-CvtZDE2t.js +0 -135
- package/dist/src-CfDf8TY8.js +0 -466
- package/dist/src-DuuAmS-c.js +0 -360
- package/dist/src-elMBQ2Dh.js +0 -1087
package/dist/layout.js
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { a as e } from "./src-
|
|
2
|
-
import { C as t,
|
|
1
|
+
import { a as e } from "./src-Cs0dRc4X.js";
|
|
2
|
+
import { C as t, i as n, n as r, w as i } from "./src-D05isEh_.js";
|
|
3
3
|
import { mergeProps as a } from "@base-ui/react/merge-props";
|
|
4
|
-
import "@stylexjs/stylex";
|
|
5
|
-
import { createContext as
|
|
6
|
-
import { Fragment as
|
|
7
|
-
import { ArrowLeft as
|
|
8
|
-
import { Group as
|
|
4
|
+
import * as o from "@stylexjs/stylex";
|
|
5
|
+
import { createContext as s, useContext as c, useEffect as l, useId as u, useRef as d, useState as f } from "react";
|
|
6
|
+
import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
7
|
+
import { ArrowLeft as g, PanelLeft as _, X as v } from "lucide-react";
|
|
8
|
+
import { Group as y, Panel as b, Separator as x } from "react-resizable-panels";
|
|
9
9
|
// packages/layout/src/frame.stylex.ts
|
|
10
|
-
var
|
|
10
|
+
var S = {
|
|
11
11
|
sidebarMobile: "@media (max-width:800px)",
|
|
12
12
|
sidebarDesktopQuery: "(min-width:801px)",
|
|
13
13
|
sidebarCoarse: "@media (min-width:801px) and (pointer: coarse)",
|
|
14
14
|
detailMobile: "@media (max-width:720px)",
|
|
15
|
-
toolbarCompact: "@container toolbar (max-width:600px)"
|
|
16
|
-
|
|
15
|
+
toolbarCompact: "@container toolbar (max-width:600px)",
|
|
16
|
+
workbenchCompact: "@container workbench (max-width:860px)"
|
|
17
|
+
}, C = s(null), w = {
|
|
17
18
|
navigationControl: {
|
|
18
19
|
kjj79g: "x1nhvcw1",
|
|
19
20
|
kOIVth: "x1hnptsi",
|
|
@@ -29,6 +30,39 @@ var x = {
|
|
|
29
30
|
kjj79g: "xl56j7k x1l31gyv",
|
|
30
31
|
$$css: !0
|
|
31
32
|
},
|
|
33
|
+
footer: {
|
|
34
|
+
kB7OPa: "x9f619",
|
|
35
|
+
k1xSpc: "x78zum5",
|
|
36
|
+
kGNEyG: "x6s0dn4",
|
|
37
|
+
kOIVth: "x1hnptsi",
|
|
38
|
+
kAzted: "x1sy804",
|
|
39
|
+
k7Eaqz: "xeuugli",
|
|
40
|
+
kmuXW: "x2lah0s",
|
|
41
|
+
kg3NbH: "x11sw1hy",
|
|
42
|
+
kEafiO: "x178xt8z",
|
|
43
|
+
kPef9Z: "x13fuv20",
|
|
44
|
+
kLZC3w: "xhjagg4",
|
|
45
|
+
kWkggS: "xpvm0e4",
|
|
46
|
+
kMwMTN: "x153jb6y",
|
|
47
|
+
kMv6JI: "x1hz01jw",
|
|
48
|
+
kGuDYH: "xy8obcc",
|
|
49
|
+
kLWn49: "xas2l8k",
|
|
50
|
+
k63SB2: "xj57cvi",
|
|
51
|
+
khDVqt: "xuxw1ft",
|
|
52
|
+
$$css: !0
|
|
53
|
+
},
|
|
54
|
+
collapsedFooter: {
|
|
55
|
+
kjj79g: "xl56j7k x1l31gyv",
|
|
56
|
+
kg3NbH: "xnjsko4 xn5eaz9",
|
|
57
|
+
$$css: !0
|
|
58
|
+
},
|
|
59
|
+
inlineFooter: { $$css: !0 },
|
|
60
|
+
navigationFooter: {
|
|
61
|
+
k1xSpc: "x1lliihq",
|
|
62
|
+
kg3NbH: "xnjsko4",
|
|
63
|
+
k8WAf4: "xn9t2bk",
|
|
64
|
+
$$css: !0
|
|
65
|
+
},
|
|
32
66
|
toggle: {
|
|
33
67
|
kZKoxP: "x5yr21d",
|
|
34
68
|
kzqmXN: "xh8yej3",
|
|
@@ -47,48 +81,51 @@ var x = {
|
|
|
47
81
|
kg3NbH: "xnjsko4",
|
|
48
82
|
$$css: !0
|
|
49
83
|
}
|
|
84
|
+
}, T = {
|
|
85
|
+
inline: w.inlineFooter,
|
|
86
|
+
navigation: w.navigationFooter
|
|
50
87
|
};
|
|
51
|
-
function
|
|
52
|
-
return /* @__PURE__ */
|
|
53
|
-
/* @__PURE__ */
|
|
88
|
+
function E({ header: e, footer: t, close: n, children: r }) {
|
|
89
|
+
return /* @__PURE__ */ h(p, { children: [
|
|
90
|
+
/* @__PURE__ */ h("div", {
|
|
54
91
|
...{
|
|
55
92
|
0: { className: "x9f619 x78zum5 x1qjc9v5 xcn9na3 x2lah0s xeuugli xso031l x1q0q8m5 x1qndepd" },
|
|
56
93
|
1: { className: "x9f619 x1qjc9v5 xcn9na3 x2lah0s xeuugli xso031l x1q0q8m5 x1qndepd x1s85apg x1rhi5y4" }
|
|
57
94
|
}[e == null | 0],
|
|
58
|
-
children: [/* @__PURE__ */
|
|
95
|
+
children: [/* @__PURE__ */ m("div", {
|
|
59
96
|
className: "x78zum5 x6s0dn4 x98rzlu xeuugli",
|
|
60
97
|
children: e
|
|
61
98
|
}), n]
|
|
62
99
|
}),
|
|
63
|
-
/* @__PURE__ */
|
|
100
|
+
/* @__PURE__ */ m("div", {
|
|
64
101
|
role: "region",
|
|
65
102
|
"aria-label": "Navigation links",
|
|
66
103
|
tabIndex: 0,
|
|
67
104
|
className: "x98rzlu x2lwn1j x1odjw0f xish69e x1t137rt x7d1sxj x13qnu6 x9v5kkp x19rmrnh x1bqaal",
|
|
68
105
|
children: r
|
|
69
106
|
}),
|
|
70
|
-
t != null && /* @__PURE__ */
|
|
71
|
-
className: "xr1yuqi x153jb6y",
|
|
107
|
+
t != null && /* @__PURE__ */ m("div", {
|
|
108
|
+
className: "x2lah0s xeuugli xr1yuqi xpvm0e4 x153jb6y",
|
|
72
109
|
children: t
|
|
73
110
|
})
|
|
74
111
|
] });
|
|
75
112
|
}
|
|
76
|
-
function
|
|
77
|
-
return /* @__PURE__ */
|
|
78
|
-
render: /* @__PURE__ */
|
|
113
|
+
function D() {
|
|
114
|
+
return /* @__PURE__ */ m(e.Close, {
|
|
115
|
+
render: /* @__PURE__ */ m(i, {
|
|
79
116
|
variant: "ghost",
|
|
80
117
|
"aria-label": "Close navigation",
|
|
81
|
-
xstyle:
|
|
118
|
+
xstyle: w.close
|
|
82
119
|
}),
|
|
83
|
-
children: /* @__PURE__ */
|
|
120
|
+
children: /* @__PURE__ */ m(v, {
|
|
84
121
|
size: 16,
|
|
85
122
|
"aria-hidden": !0
|
|
86
123
|
})
|
|
87
124
|
});
|
|
88
125
|
}
|
|
89
|
-
function
|
|
90
|
-
let n =
|
|
91
|
-
return /* @__PURE__ */
|
|
126
|
+
function O({ children: e, label: t = "Main" }) {
|
|
127
|
+
let n = c(C), r = n !== null && !n.isExpanded;
|
|
128
|
+
return /* @__PURE__ */ m("nav", {
|
|
92
129
|
"aria-label": t,
|
|
93
130
|
...{
|
|
94
131
|
0: { className: "x78zum5 xdt5ytf xksvo5r" },
|
|
@@ -97,81 +134,81 @@ function E({ children: e, label: t = "Main" }) {
|
|
|
97
134
|
children: e
|
|
98
135
|
});
|
|
99
136
|
}
|
|
100
|
-
function
|
|
101
|
-
let n =
|
|
102
|
-
return /* @__PURE__ */
|
|
137
|
+
function k({ children: e, label: t }) {
|
|
138
|
+
let n = c(C), r = n !== null && !n.isExpanded, i = u();
|
|
139
|
+
return /* @__PURE__ */ h("section", {
|
|
103
140
|
"aria-labelledby": i,
|
|
104
141
|
className: "xn9t2bk",
|
|
105
|
-
children: [/* @__PURE__ */
|
|
142
|
+
children: [/* @__PURE__ */ m("div", {
|
|
106
143
|
id: i,
|
|
107
144
|
...{
|
|
108
|
-
0: { className: "xn9t2bk xksvo5r x153jb6y xy8obcc xas2l8k
|
|
109
|
-
1: { className: "xn9t2bk xksvo5r x153jb6y xy8obcc xas2l8k
|
|
145
|
+
0: { className: "xeuugli xn9t2bk xksvo5r x153jb6y x1hz01jw xy8obcc xas2l8k xk4h15q xj0a0fe" },
|
|
146
|
+
1: { className: "xeuugli xn9t2bk xksvo5r x153jb6y x1hz01jw xy8obcc xas2l8k xk4h15q xj0a0fe x1s85apg xeod2sa" }
|
|
110
147
|
}[!!r | 0],
|
|
111
148
|
children: t
|
|
112
149
|
}), e]
|
|
113
150
|
});
|
|
114
151
|
}
|
|
115
|
-
function
|
|
116
|
-
let o =
|
|
117
|
-
return /* @__PURE__ */
|
|
152
|
+
function A({ children: e, icon: n, selected: r = !1, onClick: i, ...a }) {
|
|
153
|
+
let o = c(C), s = u(), l = o !== null && !o.isExpanded;
|
|
154
|
+
return /* @__PURE__ */ m("div", {
|
|
118
155
|
...{
|
|
119
156
|
0: { className: "x78zum5 xeuugli x1ok0vyi" },
|
|
120
157
|
1: { className: "x78zum5 xeuugli x1ok0vyi x1r7kqkb" }
|
|
121
158
|
}[!!r | 0],
|
|
122
|
-
children: /* @__PURE__ */
|
|
159
|
+
children: /* @__PURE__ */ h(t, {
|
|
123
160
|
...a,
|
|
124
161
|
variant: "ghost",
|
|
125
162
|
"aria-current": r ? "page" : void 0,
|
|
126
|
-
"aria-labelledby": a["aria-labelledby"] ??
|
|
163
|
+
"aria-labelledby": a["aria-labelledby"] ?? (a["aria-label"] === void 0 ? s : void 0),
|
|
127
164
|
title: a.title ?? (typeof e == "string" ? e : void 0),
|
|
128
165
|
onClick: (e) => {
|
|
129
166
|
i !== void 0 && i(e), !e.defaultPrevented && o !== null && o.onNavigate();
|
|
130
167
|
},
|
|
131
|
-
xstyle: [
|
|
132
|
-
children: [
|
|
168
|
+
xstyle: [w.navigationControl, l && w.collapsedButton],
|
|
169
|
+
children: [n != null && /* @__PURE__ */ m("span", {
|
|
133
170
|
"aria-hidden": !0,
|
|
134
171
|
className: "x3nfvp2 x6s0dn4 xl56j7k xtwnzbg x18utl2x x2lah0s",
|
|
135
|
-
children:
|
|
136
|
-
}), /* @__PURE__ */
|
|
137
|
-
id:
|
|
172
|
+
children: n
|
|
173
|
+
}), /* @__PURE__ */ m("span", {
|
|
174
|
+
id: s,
|
|
138
175
|
...{
|
|
139
176
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
140
177
|
1: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft x1s85apg xeod2sa" }
|
|
141
|
-
}[!!
|
|
178
|
+
}[!!l | 0],
|
|
142
179
|
children: e
|
|
143
180
|
})]
|
|
144
181
|
})
|
|
145
182
|
});
|
|
146
183
|
}
|
|
147
|
-
function
|
|
148
|
-
let
|
|
149
|
-
0: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt
|
|
150
|
-
2: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt
|
|
151
|
-
1: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft x1hz01jw xtqrqnz x1778rvt
|
|
152
|
-
3: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft x1hz01jw xtqrqnz x1778rvt
|
|
184
|
+
function j({ children: e, icon: t, selected: n = !1, onClick: r, className: i, style: a, ...o }) {
|
|
185
|
+
let s = c(C), l = u(), d = s !== null && !s.isExpanded, f = {
|
|
186
|
+
0: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x13nmlw8 x1ecmtor x13qnu6 x9v5kkp x19rmrnh x1bqaal x1nhvcw1 x1hnptsi x15rya3k x17kqdoe x1avwmir xh8yej3 xeuugli xt970qd xksvo5r" },
|
|
187
|
+
2: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x13nmlw8 x1ecmtor x13qnu6 x9v5kkp x19rmrnh x1bqaal x1hnptsi x15rya3k x17kqdoe x1avwmir xh8yej3 xeuugli xt970qd xksvo5r xl56j7k x1l31gyv" },
|
|
188
|
+
1: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x13nmlw8 x1ecmtor x13qnu6 x9v5kkp x19rmrnh x1bqaal x1nhvcw1 x1hnptsi x15rya3k x17kqdoe x1avwmir xh8yej3 xeuugli xt970qd xksvo5r x1r7kqkb" },
|
|
189
|
+
3: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x13nmlw8 x1ecmtor x13qnu6 x9v5kkp x19rmrnh x1bqaal x1hnptsi x15rya3k x17kqdoe x1avwmir xh8yej3 xeuugli xt970qd xksvo5r xl56j7k x1l31gyv x1r7kqkb" }
|
|
153
190
|
}[!!d << 1 | !!n];
|
|
154
|
-
return /* @__PURE__ */
|
|
191
|
+
return /* @__PURE__ */ h("a", {
|
|
155
192
|
...o,
|
|
156
193
|
"aria-current": n ? "page" : void 0,
|
|
157
|
-
"aria-labelledby": o["aria-labelledby"] ??
|
|
194
|
+
"aria-labelledby": o["aria-labelledby"] ?? (o["aria-label"] === void 0 ? l : void 0),
|
|
158
195
|
title: o.title ?? (typeof e == "string" ? e : void 0),
|
|
159
196
|
onClick: (e) => {
|
|
160
|
-
if (r !== void 0 && r(e),
|
|
197
|
+
if (r !== void 0 && r(e), s === null || e.button !== 0) return;
|
|
161
198
|
let t = e.metaKey || e.ctrlKey, n = e.shiftKey || e.altKey;
|
|
162
|
-
t || n ||
|
|
199
|
+
t || n || s.onNavigate();
|
|
163
200
|
},
|
|
164
201
|
className: [f.className, i].filter(Boolean).join(" "),
|
|
165
202
|
style: {
|
|
166
203
|
...f.style,
|
|
167
204
|
...a
|
|
168
205
|
},
|
|
169
|
-
children: [t != null && /* @__PURE__ */
|
|
206
|
+
children: [t != null && /* @__PURE__ */ m("span", {
|
|
170
207
|
"aria-hidden": !0,
|
|
171
208
|
className: "x3nfvp2 x6s0dn4 xl56j7k xtwnzbg x18utl2x x2lah0s",
|
|
172
209
|
children: t
|
|
173
|
-
}), /* @__PURE__ */
|
|
174
|
-
id:
|
|
210
|
+
}), /* @__PURE__ */ m("span", {
|
|
211
|
+
id: l,
|
|
175
212
|
...{
|
|
176
213
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
177
214
|
1: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft x1s85apg xeod2sa" }
|
|
@@ -180,9 +217,9 @@ function k({ children: e, icon: t, selected: n = !1, onClick: r, className: i, s
|
|
|
180
217
|
})]
|
|
181
218
|
});
|
|
182
219
|
}
|
|
183
|
-
function
|
|
184
|
-
let n =
|
|
185
|
-
return /* @__PURE__ */
|
|
220
|
+
function M({ children: e, grow: t = !1 }) {
|
|
221
|
+
let n = c(C), r = n !== null && !n.isExpanded;
|
|
222
|
+
return /* @__PURE__ */ m("span", {
|
|
186
223
|
...{
|
|
187
224
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
188
225
|
2: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft x78zum5 x6s0dn4 x1hnptsi x98rzlu" },
|
|
@@ -192,44 +229,41 @@ function A({ children: e, grow: t = !1 }) {
|
|
|
192
229
|
children: e
|
|
193
230
|
});
|
|
194
231
|
}
|
|
195
|
-
function
|
|
196
|
-
let
|
|
197
|
-
return /* @__PURE__ */
|
|
198
|
-
...
|
|
199
|
-
0: { className: "x9f619 x78zum5 x6s0dn4 x1hnptsi x1uxtkha x11sw1hy x178xt8z x13fuv20 xhjagg4 x153jb6y xy8obcc xas2l8k xuxw1ft" },
|
|
200
|
-
1: { className: "x9f619 x78zum5 x6s0dn4 x1hnptsi x1uxtkha x178xt8z x13fuv20 xhjagg4 x153jb6y xy8obcc xas2l8k xuxw1ft xl56j7k x1l31gyv xnjsko4 xn5eaz9" }
|
|
201
|
-
}[!!n | 0],
|
|
232
|
+
function N({ children: e, layout: t = "inline" }) {
|
|
233
|
+
let n = c(C), r = n !== null && !n.isExpanded;
|
|
234
|
+
return /* @__PURE__ */ m("div", {
|
|
235
|
+
...o.props(w.footer, r && w.collapsedFooter, T[t]),
|
|
202
236
|
children: e
|
|
203
237
|
});
|
|
204
238
|
}
|
|
205
|
-
function
|
|
206
|
-
let
|
|
207
|
-
return
|
|
239
|
+
function P() {
|
|
240
|
+
let t = c(C);
|
|
241
|
+
return t === null ? null : /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m("div", {
|
|
208
242
|
className: "x9f619 x2lah0s xrlepb6 xs1s249 x32b0ac xelkwwr x78zum5 x1ykma7f",
|
|
209
|
-
children: /* @__PURE__ */
|
|
210
|
-
ref:
|
|
243
|
+
children: /* @__PURE__ */ m(i, {
|
|
244
|
+
ref: t.navigationToggleRef,
|
|
211
245
|
variant: "ghost",
|
|
212
|
-
"aria-label":
|
|
213
|
-
"aria-controls":
|
|
214
|
-
"aria-expanded":
|
|
215
|
-
onClick:
|
|
216
|
-
xstyle:
|
|
217
|
-
children: /* @__PURE__ */
|
|
246
|
+
"aria-label": t.isExpanded ? "Collapse navigation" : "Expand navigation",
|
|
247
|
+
"aria-controls": t.sidebarId,
|
|
248
|
+
"aria-expanded": t.isExpanded,
|
|
249
|
+
onClick: t.onToggle,
|
|
250
|
+
xstyle: w.toggle,
|
|
251
|
+
children: /* @__PURE__ */ m(_, {
|
|
218
252
|
size: 16,
|
|
219
253
|
"aria-hidden": !0
|
|
220
254
|
})
|
|
221
255
|
})
|
|
222
|
-
}), /* @__PURE__ */
|
|
256
|
+
}), /* @__PURE__ */ m("div", {
|
|
223
257
|
className: "x9f619 x2lah0s xrlepb6 xs1s249 x32b0ac xelkwwr x1s85apg x1rhi5y4",
|
|
224
|
-
children: /* @__PURE__ */
|
|
225
|
-
ref:
|
|
226
|
-
handle:
|
|
227
|
-
render: /* @__PURE__ */
|
|
258
|
+
children: /* @__PURE__ */ m(e.Trigger, {
|
|
259
|
+
ref: t.mobileNavigationToggleRef,
|
|
260
|
+
handle: t.drawerHandle,
|
|
261
|
+
render: /* @__PURE__ */ m(i, {
|
|
228
262
|
variant: "ghost",
|
|
229
263
|
"aria-label": "Open navigation",
|
|
230
|
-
xstyle:
|
|
264
|
+
xstyle: w.toggle
|
|
231
265
|
}),
|
|
232
|
-
children: /* @__PURE__ */
|
|
266
|
+
children: /* @__PURE__ */ m(_, {
|
|
233
267
|
size: 16,
|
|
234
268
|
"aria-hidden": !0
|
|
235
269
|
})
|
|
@@ -237,32 +271,32 @@ function M() {
|
|
|
237
271
|
})] });
|
|
238
272
|
}
|
|
239
273
|
// packages/layout/src/app-shell.tsx
|
|
240
|
-
var
|
|
274
|
+
var F = { drawer: {
|
|
241
275
|
kzqmXN: "x68ju84",
|
|
242
276
|
ks0D6T: "x1recik0",
|
|
243
277
|
$$css: !0
|
|
244
278
|
} };
|
|
245
|
-
function
|
|
246
|
-
let [s,
|
|
247
|
-
return
|
|
248
|
-
let e = globalThis.matchMedia(
|
|
279
|
+
function I({ sidebarHeader: t, sidebar: n, footer: r, children: i, mainId: a = "main", focus: o = !1 }) {
|
|
280
|
+
let [s, c] = f(!0), [p, g] = f(!1), [_] = f(() => e.createHandle()), v = u(), y = d(null), b = d(null);
|
|
281
|
+
return l(() => {
|
|
282
|
+
let e = globalThis.matchMedia(S.sidebarDesktopQuery);
|
|
249
283
|
function t() {
|
|
250
284
|
e.matches && g(!1);
|
|
251
285
|
}
|
|
252
286
|
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
|
|
253
|
-
}, []), /* @__PURE__ */
|
|
287
|
+
}, []), /* @__PURE__ */ h(C.Provider, {
|
|
254
288
|
value: {
|
|
255
289
|
isExpanded: s,
|
|
256
290
|
sidebarId: v,
|
|
257
291
|
drawerHandle: _,
|
|
258
292
|
navigationToggleRef: y,
|
|
259
293
|
mobileNavigationToggleRef: b,
|
|
260
|
-
onToggle: () =>
|
|
294
|
+
onToggle: () => c((e) => !e),
|
|
261
295
|
onNavigate: () => g(!1)
|
|
262
296
|
},
|
|
263
|
-
children: [/* @__PURE__ */
|
|
297
|
+
children: [/* @__PURE__ */ h("div", {
|
|
264
298
|
className: "x9f619 x1ov3xa9 x78zum5 xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
265
|
-
children: [/* @__PURE__ */
|
|
299
|
+
children: [/* @__PURE__ */ m("aside", {
|
|
266
300
|
id: v,
|
|
267
301
|
"aria-label": "Navigation",
|
|
268
302
|
hidden: o,
|
|
@@ -272,31 +306,31 @@ function P({ sidebarHeader: t, sidebar: n, footer: r, children: i, mainId: a = "
|
|
|
272
306
|
1: { className: "x9f619 xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x68ju84 x2lah0s x2lwn1j xeuugli x1s85apg" },
|
|
273
307
|
3: { className: "x9f619 xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli xrlepb6 x1s85apg" }
|
|
274
308
|
}[!s << 1 | !!o],
|
|
275
|
-
children: /* @__PURE__ */
|
|
309
|
+
children: /* @__PURE__ */ m(E, {
|
|
276
310
|
header: t,
|
|
277
311
|
footer: r,
|
|
278
312
|
children: n
|
|
279
313
|
})
|
|
280
|
-
}), /* @__PURE__ */
|
|
314
|
+
}), /* @__PURE__ */ m("main", {
|
|
281
315
|
id: a,
|
|
282
316
|
tabIndex: -1,
|
|
283
317
|
className: "xeuugli x98rzlu",
|
|
284
318
|
children: i
|
|
285
319
|
})]
|
|
286
|
-
}), /* @__PURE__ */
|
|
320
|
+
}), /* @__PURE__ */ m(e.Root, {
|
|
287
321
|
handle: _,
|
|
288
|
-
open:
|
|
322
|
+
open: p && !o,
|
|
289
323
|
onOpenChange: g,
|
|
290
|
-
children: /* @__PURE__ */
|
|
291
|
-
xstyle:
|
|
292
|
-
finalFocus: () => globalThis.matchMedia(
|
|
293
|
-
children: [/* @__PURE__ */
|
|
324
|
+
children: /* @__PURE__ */ h(e.Portal, { children: [/* @__PURE__ */ m(e.Backdrop, {}), /* @__PURE__ */ m(e.Viewport, { children: /* @__PURE__ */ h(e.Popup, {
|
|
325
|
+
xstyle: F.drawer,
|
|
326
|
+
finalFocus: () => globalThis.matchMedia(S.sidebarDesktopQuery).matches ? y.current : b.current,
|
|
327
|
+
children: [/* @__PURE__ */ m(e.Title, {
|
|
294
328
|
visuallyHidden: !0,
|
|
295
329
|
children: "Navigation"
|
|
296
|
-
}), /* @__PURE__ */
|
|
330
|
+
}), /* @__PURE__ */ m(E, {
|
|
297
331
|
header: t,
|
|
298
332
|
footer: r,
|
|
299
|
-
close: /* @__PURE__ */
|
|
333
|
+
close: /* @__PURE__ */ m(D, {}),
|
|
300
334
|
children: n
|
|
301
335
|
})]
|
|
302
336
|
}) })] })
|
|
@@ -304,75 +338,75 @@ function P({ sidebarHeader: t, sidebar: n, footer: r, children: i, mainId: a = "
|
|
|
304
338
|
});
|
|
305
339
|
}
|
|
306
340
|
// packages/layout/src/detail-page.tsx
|
|
307
|
-
function
|
|
308
|
-
return /* @__PURE__ */
|
|
341
|
+
function L({ children: e }) {
|
|
342
|
+
return /* @__PURE__ */ m("div", {
|
|
309
343
|
className: "x9f619 x13na7z x96idz6 x9g60mw xeuugli xvueqy4 xnjsko4 x10gdey3 x14y0u4g x1foqgtu x1uwsqpk x14oio8y",
|
|
310
344
|
children: e
|
|
311
345
|
});
|
|
312
346
|
}
|
|
313
347
|
// packages/layout/src/focus-page.tsx
|
|
314
|
-
function
|
|
315
|
-
return /* @__PURE__ */
|
|
348
|
+
function R({ children: e }) {
|
|
349
|
+
return /* @__PURE__ */ m("main", {
|
|
316
350
|
id: "main",
|
|
317
351
|
tabIndex: -1,
|
|
318
|
-
className: "x9f619 x1ov3xa9 xrvj5dj x1ku5rj1 x1jvlu93 xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
319
|
-
children: /* @__PURE__ */
|
|
320
|
-
className: "xh8yej3 xxc7z9f xrvj5dj x1j825kq",
|
|
352
|
+
className: "x9f619 x1ov3xa9 xeuugli xrvj5dj x1ku5rj1 x1jvlu93 xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
353
|
+
children: /* @__PURE__ */ m("div", {
|
|
354
|
+
className: "xh8yej3 xxc7z9f xeuugli xrvj5dj x1mkdm3x x1j825kq",
|
|
321
355
|
children: e
|
|
322
356
|
})
|
|
323
357
|
});
|
|
324
358
|
}
|
|
325
359
|
// packages/layout/src/workbench.tsx
|
|
326
|
-
function
|
|
327
|
-
return /* @__PURE__ */
|
|
328
|
-
className: "x78zum5 xdt5ytf x1b7uu3i xeuugli x2lwn1j",
|
|
329
|
-
children: [e != null && /* @__PURE__ */
|
|
330
|
-
className: "x1ydxw8w xnx3t7k xso031l x1q0q8m5 x1qndepd",
|
|
360
|
+
function z({ header: e, children: t, inspector: n }) {
|
|
361
|
+
return /* @__PURE__ */ h("div", {
|
|
362
|
+
className: "x78zum5 xdt5ytf x1b7uu3i xeuugli x2lwn1j x12h1iku x1a75771 xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel",
|
|
363
|
+
children: [e != null && /* @__PURE__ */ m("div", {
|
|
364
|
+
className: "xeuugli x2lah0s x1ydxw8w xnx3t7k xso031l x1q0q8m5 x1qndepd",
|
|
331
365
|
children: e
|
|
332
|
-
}), /* @__PURE__ */
|
|
366
|
+
}), /* @__PURE__ */ h("div", {
|
|
333
367
|
className: "x78zum5 x98rzlu xeuugli x2lwn1j x7giv3",
|
|
334
|
-
children: [/* @__PURE__ */
|
|
368
|
+
children: [/* @__PURE__ */ m("div", {
|
|
335
369
|
...{
|
|
336
370
|
0: { className: "x1n2onr6 x78zum5 x98rzlu xdt5ytf xeuugli x2lwn1j" },
|
|
337
|
-
1: { className: "x1n2onr6 x98rzlu xdt5ytf xeuugli x2lwn1j x78zum5
|
|
371
|
+
1: { className: "x1n2onr6 x98rzlu xdt5ytf xeuugli x2lwn1j x78zum5 x152g2jv" }
|
|
338
372
|
}[n != null | 0],
|
|
339
373
|
children: t
|
|
340
|
-
}), n != null && /* @__PURE__ */
|
|
374
|
+
}), n != null && /* @__PURE__ */ m("aside", {
|
|
341
375
|
"aria-label": "Execution inspector",
|
|
342
|
-
className: "x9f619 x1peuizl
|
|
376
|
+
className: "x9f619 x1peuizl x1vx4hiz xeuugli x2lah0s x1odjw0f x1c8xbx5 xpvm0e4 xe0pwq xs311s2 x19ypqd9 x1l3ounx",
|
|
343
377
|
children: n
|
|
344
378
|
})]
|
|
345
379
|
})]
|
|
346
380
|
});
|
|
347
381
|
}
|
|
348
|
-
function
|
|
349
|
-
return /* @__PURE__ */
|
|
382
|
+
function B({ label: e, children: t, flush: n = !1, scrollRestorationId: r }) {
|
|
383
|
+
return /* @__PURE__ */ m("div", {
|
|
350
384
|
role: "region",
|
|
351
385
|
"aria-label": e,
|
|
352
386
|
tabIndex: 0,
|
|
353
387
|
"data-scroll-restoration-id": r,
|
|
354
388
|
...{
|
|
355
|
-
0: { className: "x1odjw0f x98rzlu xeuugli x2lwn1j x1jvlu93" },
|
|
356
|
-
1: { className: "x1odjw0f x98rzlu xeuugli x2lwn1j x1717udv" }
|
|
389
|
+
0: { className: "x1odjw0f x1e4zzel x98rzlu xeuugli x2lwn1j x1jvlu93 x1t137rt x13qnu6 x9v5kkp x19rmrnh x1bqaal" },
|
|
390
|
+
1: { className: "x1odjw0f x1e4zzel x98rzlu xeuugli x2lwn1j x1t137rt x13qnu6 x9v5kkp x19rmrnh x1bqaal x1717udv" }
|
|
357
391
|
}[!!n | 0],
|
|
358
392
|
children: t
|
|
359
393
|
});
|
|
360
394
|
}
|
|
361
|
-
function
|
|
362
|
-
return /* @__PURE__ */
|
|
395
|
+
function V({ children: e }) {
|
|
396
|
+
return /* @__PURE__ */ m("div", {
|
|
363
397
|
className: "x2lah0s x1c8xbx5 x178xt8z x13fuv20 xhjagg4 xpvm0e4",
|
|
364
398
|
children: e
|
|
365
399
|
});
|
|
366
400
|
}
|
|
367
401
|
// packages/layout/src/view-stack.tsx
|
|
368
|
-
function
|
|
369
|
-
return /* @__PURE__ */
|
|
402
|
+
function H({ children: e }) {
|
|
403
|
+
return /* @__PURE__ */ m("div", {
|
|
370
404
|
className: "x1n2onr6 x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j",
|
|
371
405
|
children: e
|
|
372
406
|
});
|
|
373
407
|
}
|
|
374
|
-
function
|
|
375
|
-
return /* @__PURE__ */
|
|
408
|
+
function U({ active: e, children: t }) {
|
|
409
|
+
return /* @__PURE__ */ m("section", {
|
|
376
410
|
"aria-hidden": !e,
|
|
377
411
|
inert: !e,
|
|
378
412
|
...{
|
|
@@ -382,133 +416,146 @@ function V({ active: e, children: t }) {
|
|
|
382
416
|
children: t
|
|
383
417
|
});
|
|
384
418
|
}
|
|
385
|
-
var
|
|
386
|
-
Root:
|
|
387
|
-
Panel:
|
|
388
|
-
},
|
|
419
|
+
var W = {
|
|
420
|
+
Root: H,
|
|
421
|
+
Panel: U
|
|
422
|
+
}, G = { action: {
|
|
389
423
|
kOIVth: "x1hnptsi",
|
|
424
|
+
k7Eaqz: "xeuugli",
|
|
425
|
+
ks0D6T: "x193iq5w",
|
|
390
426
|
$$css: !0
|
|
391
427
|
} };
|
|
392
|
-
function
|
|
393
|
-
return /* @__PURE__ */
|
|
394
|
-
className: "x9f619 x78zum5 x12h1iku x14ut1dr x1qjc9v5 xcn9na3 x2lah0s xso031l x1q0q8m5 x1qndepd xpvm0e4 xbixft x1hz01jw
|
|
428
|
+
function K({ title: e, actions: t, breadcrumb: n = !1, navigation: r = !0, views: i, leading: a }) {
|
|
429
|
+
return /* @__PURE__ */ h("div", {
|
|
430
|
+
className: "x9f619 x78zum5 x12h1iku x14ut1dr x1qjc9v5 xcn9na3 x2lah0s xso031l x1q0q8m5 x1qndepd xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xeuugli",
|
|
395
431
|
children: [
|
|
396
|
-
a === void 0 ? r && /* @__PURE__ */
|
|
432
|
+
a === void 0 ? r && /* @__PURE__ */ m(P, {}) : /* @__PURE__ */ m("div", {
|
|
397
433
|
className: "x78zum5 x6s0dn4 xyibt8p x2lah0s",
|
|
398
434
|
children: a
|
|
399
435
|
}),
|
|
400
|
-
/* @__PURE__ */
|
|
436
|
+
/* @__PURE__ */ m(n ? "nav" : "h1", {
|
|
401
437
|
tabIndex: n ? void 0 : -1,
|
|
402
438
|
"aria-label": n ? "Breadcrumb" : void 0,
|
|
403
|
-
className: "x78zum5 x6s0dn4 x1hnptsi x1m92p3w xeuugli xs83m0k x1ghz6dp x1qlqyl8
|
|
404
|
-
children: /* @__PURE__ */
|
|
439
|
+
className: "x78zum5 x6s0dn4 x1hnptsi x1m92p3w xeuugli xs83m0k x1ghz6dp x1qlqyl8 xj57cvi x1t137rt",
|
|
440
|
+
children: /* @__PURE__ */ m("span", {
|
|
405
441
|
className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
|
|
406
442
|
children: e
|
|
407
443
|
})
|
|
408
444
|
}),
|
|
409
|
-
i != null && /* @__PURE__ */
|
|
445
|
+
i != null && /* @__PURE__ */ m("div", {
|
|
410
446
|
className: "x78zum5 x6s0dn4 xeuugli x2lah0s",
|
|
411
447
|
children: i
|
|
412
448
|
}),
|
|
413
|
-
t != null && /* @__PURE__ */
|
|
414
|
-
className: "x78zum5 x6s0dn4 xunmzkg x5g2kb4 xeuugli
|
|
449
|
+
t != null && /* @__PURE__ */ m("div", {
|
|
450
|
+
className: "x78zum5 x6s0dn4 xunmzkg x5g2kb4 xeuugli xs83m0k x8x9d4c",
|
|
415
451
|
children: t
|
|
416
452
|
})
|
|
417
453
|
]
|
|
418
454
|
});
|
|
419
455
|
}
|
|
420
|
-
function
|
|
456
|
+
function q({ icon: e, children: n, ...r }) {
|
|
421
457
|
let i = e != null;
|
|
422
|
-
return /* @__PURE__ */
|
|
458
|
+
return /* @__PURE__ */ m("div", {
|
|
423
459
|
className: "x9f619 x78zum5 x1qjc9v5 xeuugli",
|
|
424
|
-
children: /* @__PURE__ */
|
|
460
|
+
children: /* @__PURE__ */ h(t, {
|
|
425
461
|
...r,
|
|
426
462
|
variant: "ghost",
|
|
427
463
|
size: "sm",
|
|
428
|
-
"aria-label": r["aria-label"] ?? (typeof
|
|
429
|
-
xstyle:
|
|
430
|
-
children: [
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
464
|
+
"aria-label": r["aria-label"] ?? (typeof n == "string" ? n : void 0),
|
|
465
|
+
xstyle: G.action,
|
|
466
|
+
children: [i && /* @__PURE__ */ m("span", {
|
|
467
|
+
"aria-hidden": !0,
|
|
468
|
+
className: "x3nfvp2 x2lah0s x6s0dn4",
|
|
469
|
+
children: e
|
|
470
|
+
}), i || typeof n == "string" ? /* @__PURE__ */ m("span", {
|
|
471
|
+
...{
|
|
472
|
+
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
473
|
+
1: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft xt0psk2 xlllsrz" }
|
|
474
|
+
}[!!i | 0],
|
|
475
|
+
children: n
|
|
476
|
+
}) : n]
|
|
434
477
|
})
|
|
435
478
|
});
|
|
436
479
|
}
|
|
437
480
|
// packages/layout/src/record-page.tsx
|
|
438
|
-
function
|
|
439
|
-
return /* @__PURE__ */
|
|
481
|
+
function J({ children: e }) {
|
|
482
|
+
return /* @__PURE__ */ m("div", {
|
|
440
483
|
className: "x78zum5 xdt5ytf xeuugli xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
441
484
|
children: e
|
|
442
485
|
});
|
|
443
486
|
}
|
|
444
|
-
function
|
|
445
|
-
return /* @__PURE__ */
|
|
487
|
+
function Y({ backLabel: e, backHref: t, onBack: n, actions: r, navigation: i = !0 }) {
|
|
488
|
+
return /* @__PURE__ */ m(K, {
|
|
446
489
|
breadcrumb: !0,
|
|
447
490
|
navigation: i,
|
|
448
491
|
actions: r,
|
|
449
|
-
title: /* @__PURE__ */
|
|
492
|
+
title: /* @__PURE__ */ h("a", {
|
|
450
493
|
href: t,
|
|
451
|
-
className: "x3nfvp2 x6s0dn4 x1hnptsi xid9utz xbixft xkrqix3 x9p3ypd x13qnu6 x9v5kkp x19rmrnh x1bqaal",
|
|
494
|
+
className: "x3nfvp2 x6s0dn4 x1hnptsi xid9utz xeuugli x193iq5w xbixft xkrqix3 x9p3ypd x13qnu6 x9v5kkp x19rmrnh x1bqaal",
|
|
452
495
|
onClick: (e) => {
|
|
453
496
|
if (n === void 0 || e.defaultPrevented || e.button !== 0) return;
|
|
454
497
|
let t = e.metaKey || e.ctrlKey, r = e.shiftKey || e.altKey;
|
|
455
498
|
t || r || (e.preventDefault(), n());
|
|
456
499
|
},
|
|
457
|
-
children: [/* @__PURE__ */
|
|
500
|
+
children: [/* @__PURE__ */ m(g, {
|
|
458
501
|
size: 16,
|
|
459
|
-
"aria-hidden": !0
|
|
460
|
-
|
|
502
|
+
"aria-hidden": !0,
|
|
503
|
+
className: "x2lah0s"
|
|
504
|
+
}), /* @__PURE__ */ m("span", {
|
|
505
|
+
className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
|
|
506
|
+
children: e
|
|
507
|
+
})]
|
|
461
508
|
})
|
|
462
509
|
});
|
|
463
510
|
}
|
|
464
|
-
function
|
|
465
|
-
return /* @__PURE__ */
|
|
511
|
+
function X({ children: e }) {
|
|
512
|
+
return /* @__PURE__ */ m(L, { children: /* @__PURE__ */ m("div", {
|
|
466
513
|
className: "x78zum5 x1a02dak x1cy8zhl x1m6b44x xeuugli",
|
|
467
514
|
children: e
|
|
468
515
|
}) });
|
|
469
516
|
}
|
|
470
|
-
function
|
|
471
|
-
return /* @__PURE__ */
|
|
517
|
+
function Z({ children: e }) {
|
|
518
|
+
return /* @__PURE__ */ m("div", {
|
|
472
519
|
className: "x78zum5 xdt5ytf x1ewej1i x1iyjqo2 x1m6b44x xeuugli",
|
|
473
520
|
children: e
|
|
474
521
|
});
|
|
475
522
|
}
|
|
476
|
-
function
|
|
477
|
-
return /* @__PURE__ */
|
|
523
|
+
function Q({ title: e, description: t, icon: i, titleRef: a }) {
|
|
524
|
+
return /* @__PURE__ */ h("header", {
|
|
478
525
|
className: "xrvj5dj x1n8ia3y xeuugli",
|
|
479
|
-
children: [/* @__PURE__ */
|
|
526
|
+
children: [/* @__PURE__ */ h("div", {
|
|
480
527
|
className: "x78zum5 x6s0dn4 x1n8ia3y xeuugli",
|
|
481
|
-
children: [
|
|
528
|
+
children: [i != null && /* @__PURE__ */ m("span", {
|
|
482
529
|
"aria-hidden": !0,
|
|
483
530
|
className: "x3nfvp2 x6s0dn4 x2lah0s",
|
|
484
|
-
children:
|
|
485
|
-
}), /* @__PURE__ */
|
|
531
|
+
children: i
|
|
532
|
+
}), /* @__PURE__ */ m(r, {
|
|
486
533
|
ref: a,
|
|
487
534
|
tabIndex: -1,
|
|
488
535
|
className: "xeuugli x1t137rt",
|
|
489
536
|
children: e
|
|
490
537
|
})]
|
|
491
|
-
}), t != null && /* @__PURE__ */
|
|
538
|
+
}), t != null && /* @__PURE__ */ m(n, { children: t })]
|
|
492
539
|
});
|
|
493
540
|
}
|
|
494
|
-
function
|
|
495
|
-
return /* @__PURE__ */
|
|
541
|
+
function $({ children: e, label: t = "Properties" }) {
|
|
542
|
+
return /* @__PURE__ */ m("aside", {
|
|
496
543
|
"aria-label": t,
|
|
497
544
|
className: "x78zum5 xdt5ytf x1irul0l x1iyjqo2 x1j825kq xeuugli",
|
|
498
545
|
children: e
|
|
499
546
|
});
|
|
500
547
|
}
|
|
501
|
-
var
|
|
502
|
-
Root:
|
|
503
|
-
Toolbar:
|
|
504
|
-
Body:
|
|
505
|
-
Content:
|
|
506
|
-
Header:
|
|
507
|
-
Aside:
|
|
548
|
+
var ee = {
|
|
549
|
+
Root: J,
|
|
550
|
+
Toolbar: Y,
|
|
551
|
+
Body: X,
|
|
552
|
+
Content: Z,
|
|
553
|
+
Header: Q,
|
|
554
|
+
Aside: $
|
|
508
555
|
};
|
|
509
556
|
// packages/layout/src/resizable.tsx
|
|
510
|
-
function
|
|
511
|
-
return /* @__PURE__ */
|
|
557
|
+
function te({ orientation: e = "horizontal", initialSizes: t, onSizesChange: n, disabled: r, ref: i, ...o }) {
|
|
558
|
+
return /* @__PURE__ */ m(y, {
|
|
512
559
|
orientation: e,
|
|
513
560
|
defaultLayout: t,
|
|
514
561
|
onLayoutChanged: (e, t) => {
|
|
@@ -523,8 +570,8 @@ function $({ orientation: e = "horizontal", initialSizes: t, onSizesChange: n, d
|
|
|
523
570
|
...a({ className: "xeuugli x2lwn1j xh8yej3 x5yr21d" }, o)
|
|
524
571
|
});
|
|
525
572
|
}
|
|
526
|
-
function
|
|
527
|
-
return /* @__PURE__ */
|
|
573
|
+
function ne({ id: e, initialSizePercent: t, minimumSizePercent: n = 10, maximumSizePercent: r = 100, collapsible: i = !1, ref: o, ...s }) {
|
|
574
|
+
return /* @__PURE__ */ m(b, {
|
|
528
575
|
id: e,
|
|
529
576
|
defaultSize: t === void 0 ? void 0 : `${t}%`,
|
|
530
577
|
minSize: `${n}%`,
|
|
@@ -534,15 +581,15 @@ function ee({ id: e, initialSizePercent: t, minimumSizePercent: n = 10, maximumS
|
|
|
534
581
|
...a({ className: "xeuugli x2lwn1j xysyzu8" }, s)
|
|
535
582
|
});
|
|
536
583
|
}
|
|
537
|
-
function
|
|
538
|
-
return /* @__PURE__ */
|
|
584
|
+
function re({ ref: e, ...t }) {
|
|
585
|
+
return /* @__PURE__ */ m(x, {
|
|
539
586
|
elementRef: e,
|
|
540
587
|
...a({ className: "x1fa40ue x1i1rx1s xgc0pbm xir5lan xfaai28 x1rbdpqn x8wp5i9 x13qnu6 x9v5kkp x19rmrnh x13iak60" }, t)
|
|
541
588
|
});
|
|
542
589
|
}
|
|
543
|
-
var
|
|
544
|
-
Root:
|
|
545
|
-
Pane:
|
|
546
|
-
Handle:
|
|
590
|
+
var ie = {
|
|
591
|
+
Root: te,
|
|
592
|
+
Pane: ne,
|
|
593
|
+
Handle: re
|
|
547
594
|
};
|
|
548
|
-
export {
|
|
595
|
+
export { I as AppShell, L as DetailPage, R as FocusPage, O as Navigation, A as NavigationItem, j as NavigationLink, k as NavigationSection, K as PageToolbar, ee as RecordPage, ie as Resizable, N as SidebarFooter, M as SidebarLabel, q as ToolbarAction, W as ViewStack, z as Workbench, V as WorkbenchFooter, B as WorkbenchScroll };
|