@mechane-ai/elements 0.20.1 → 0.22.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/README.md +7 -4
- package/dist/ai.js +111 -103
- package/dist/{categorical-values-DG0kzYxN.js → categorical-values-B_Z-X-tI.js} +2 -2
- package/dist/{chart-frame-DxAZ0h_q.js → chart-frame-CT_mfkYD.js} +1 -1
- package/dist/{chart-input-Dru0GScv.js → chart-input-C78Vq8ON.js} +2 -2
- package/dist/charts/cartesian.js +6 -6
- package/dist/charts/distribution.js +2 -2
- package/dist/charts/graph.js +2 -2
- package/dist/charts/hierarchy.js +3 -3
- package/dist/charts/matrix.js +2 -2
- package/dist/charts/timeline.js +2 -2
- package/dist/charts.js +1 -1
- package/dist/{code-block-DlUwVaPP.js → code-block-C3wqGP_q.js} +1 -1
- package/dist/collections.js +183 -74
- package/dist/content/code.js +1 -1
- package/dist/content/diff.js +2 -2
- package/dist/content/link.js +1 -1
- package/dist/content/markdown.js +8 -8
- package/dist/content/tree.js +2 -2
- package/dist/{content-link-BIMrgXbz.js → content-link-Dc-pl2ee.js} +1 -1
- package/dist/content.js +3 -3
- package/dist/elements.css +32 -10
- package/dist/feedback.js +1 -1
- package/dist/forms/dates.js +1 -1
- package/dist/forms.js +1 -1
- package/dist/foundations.css +7 -0
- package/dist/index.js +1 -1
- package/dist/layout.js +199 -192
- package/dist/navigation/commands.js +1 -1
- package/dist/packages/ai/src/conversation.d.ts +2 -1
- package/dist/packages/collections/src/index.d.ts +1 -0
- package/dist/packages/collections/src/metrics.d.ts +64 -5
- package/dist/packages/core/src/disclosure.d.ts +4 -2
- package/dist/packages/layout/src/index.d.ts +2 -0
- package/dist/packages/layout/src/report-section.d.ts +6 -0
- package/dist/{pierre-tree-D3XsgEH6.js → pierre-tree-Ba80jL2Z.js} +2 -2
- package/dist/{src-D4zPPr32.js → src-CWA2Tigm.js} +1 -1
- package/dist/{src-0mocxTaR.js → src-D3AGX7uZ.js} +1 -1
- package/dist/{src-qU5Z5LRH.js → src-F1zdubkU.js} +121 -55
- package/package.json +1 -1
- package/styles.css +1 -1
package/dist/layout.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { a as e, t } from "./src-d7EAi61b.js";
|
|
2
|
-
import { C as n, O as r, T as i, i as a, n as o,
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { Button as
|
|
6
|
-
import { mergeProps as
|
|
7
|
-
import * as
|
|
8
|
-
import { Children as
|
|
9
|
-
import { Fragment as
|
|
10
|
-
import { ArrowLeft as
|
|
11
|
-
import { Group as
|
|
2
|
+
import { C as n, O as r, T as i, i as a, n as o, p as s, w as c } from "./src-F1zdubkU.js";
|
|
3
|
+
import { t as l } from "./style-composition-uYlczSsB.js";
|
|
4
|
+
import { t as u } from "./use-scroll-tab-index-Dxpdh4W7.js";
|
|
5
|
+
import { Button as d } from "@base-ui/react/button";
|
|
6
|
+
import { mergeProps as f } from "@base-ui/react/merge-props";
|
|
7
|
+
import * as p from "@stylexjs/stylex";
|
|
8
|
+
import { Children as m, createContext as h, useContext as g, useEffect as _, useId as v, useRef as y, useState as b } from "react";
|
|
9
|
+
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
10
|
+
import { ArrowLeft as w, PanelLeft as T, X as E } from "lucide-react";
|
|
11
|
+
import { Group as ee, Panel as D, Separator as O } from "react-resizable-panels";
|
|
12
12
|
// packages/layout/src/frame.stylex.ts
|
|
13
|
-
var
|
|
13
|
+
var k = {
|
|
14
14
|
sidebarMobile: "@media (max-width:800px)",
|
|
15
15
|
sidebarDesktopQuery: "(min-width:801px)",
|
|
16
16
|
sidebarCoarse: "@media (min-width:801px) and (pointer: coarse)",
|
|
17
17
|
detailMobile: "@media (max-width:720px)",
|
|
18
18
|
toolbarCompact: "@container toolbar (max-width:600px)",
|
|
19
19
|
workbenchCompact: "@container workbench (max-width:860px)"
|
|
20
|
-
},
|
|
20
|
+
}, A = h(null), j = {
|
|
21
21
|
footer: {
|
|
22
22
|
kB7OPa: "x9f619",
|
|
23
23
|
k1xSpc: "x78zum5",
|
|
@@ -52,52 +52,52 @@ var O = {
|
|
|
52
52
|
$$css: !0
|
|
53
53
|
}
|
|
54
54
|
}, te = {
|
|
55
|
-
inline:
|
|
56
|
-
navigation:
|
|
55
|
+
inline: j.inlineFooter,
|
|
56
|
+
navigation: j.navigationFooter
|
|
57
57
|
};
|
|
58
|
-
function
|
|
59
|
-
return /* @__PURE__ */
|
|
60
|
-
/* @__PURE__ */
|
|
58
|
+
function M({ header: e, navigationHeader: t, footer: n, close: r, children: i }) {
|
|
59
|
+
return /* @__PURE__ */ C(x, { children: [
|
|
60
|
+
/* @__PURE__ */ C("div", {
|
|
61
61
|
...{
|
|
62
62
|
0: { className: "x9f619 x78zum5 x1qjc9v5 xnyqvp6 x2lah0s xeuugli xso031l x1q0q8m5 x1qndepd" },
|
|
63
63
|
1: { className: "x9f619 x1qjc9v5 xnyqvp6 x2lah0s xeuugli xso031l x1q0q8m5 x1qndepd x1s85apg x1rhi5y4" }
|
|
64
64
|
}[e == null | 0],
|
|
65
|
-
children: [/* @__PURE__ */
|
|
65
|
+
children: [/* @__PURE__ */ S("div", {
|
|
66
66
|
className: "x78zum5 x6s0dn4 x98rzlu xeuugli",
|
|
67
67
|
children: e
|
|
68
68
|
}), r]
|
|
69
69
|
}),
|
|
70
70
|
t,
|
|
71
|
-
/* @__PURE__ */
|
|
71
|
+
/* @__PURE__ */ S("div", {
|
|
72
72
|
role: "region",
|
|
73
73
|
"aria-label": "Navigation links",
|
|
74
74
|
className: "x98rzlu x2lwn1j x1odjw0f xish69e x1t137rt x7d1sxj x13qnu6 x9v5kkp x19rmrnh x1bqaal",
|
|
75
75
|
children: i
|
|
76
76
|
}),
|
|
77
|
-
n != null && /* @__PURE__ */
|
|
77
|
+
n != null && /* @__PURE__ */ S("div", {
|
|
78
78
|
className: "x2lah0s xeuugli xr1yuqi xpvm0e4 x153jb6y",
|
|
79
79
|
children: n
|
|
80
80
|
})
|
|
81
81
|
] });
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
return /* @__PURE__ */
|
|
83
|
+
function N() {
|
|
84
|
+
return /* @__PURE__ */ S("div", {
|
|
85
85
|
className: "x78zum5 x6s0dn4 xl56j7k x14j3e4g x2lah0s",
|
|
86
|
-
children: /* @__PURE__ */
|
|
87
|
-
render: /* @__PURE__ */
|
|
86
|
+
children: /* @__PURE__ */ S(e.Close, {
|
|
87
|
+
render: /* @__PURE__ */ S(c, {
|
|
88
88
|
variant: "ghost",
|
|
89
89
|
"aria-label": "Close navigation"
|
|
90
90
|
}),
|
|
91
|
-
children: /* @__PURE__ */
|
|
91
|
+
children: /* @__PURE__ */ S(E, {
|
|
92
92
|
size: 16,
|
|
93
93
|
"aria-hidden": !0
|
|
94
94
|
})
|
|
95
95
|
})
|
|
96
96
|
});
|
|
97
97
|
}
|
|
98
|
-
function
|
|
99
|
-
let n =
|
|
100
|
-
return /* @__PURE__ */
|
|
98
|
+
function P({ children: e, label: t = "Main" }) {
|
|
99
|
+
let n = g(A), r = n !== null && !n.isExpanded;
|
|
100
|
+
return /* @__PURE__ */ S("nav", {
|
|
101
101
|
"aria-label": t,
|
|
102
102
|
...{
|
|
103
103
|
0: { className: "x78zum5 xdt5ytf xksvo5r" },
|
|
@@ -106,12 +106,12 @@ function N({ children: e, label: t = "Main" }) {
|
|
|
106
106
|
children: e
|
|
107
107
|
});
|
|
108
108
|
}
|
|
109
|
-
function
|
|
110
|
-
let n =
|
|
111
|
-
return /* @__PURE__ */
|
|
109
|
+
function F({ children: e, label: t }) {
|
|
110
|
+
let n = g(A), r = n !== null && !n.isExpanded, i = v();
|
|
111
|
+
return /* @__PURE__ */ C("section", {
|
|
112
112
|
"aria-labelledby": i,
|
|
113
113
|
className: "xn9t2bk",
|
|
114
|
-
children: [/* @__PURE__ */
|
|
114
|
+
children: [/* @__PURE__ */ S("div", {
|
|
115
115
|
id: i,
|
|
116
116
|
...{
|
|
117
117
|
0: { className: "xeuugli xn9t2bk xksvo5r x153jb6y x1hz01jw xy8obcc xas2l8k xk4h15q xj0a0fe" },
|
|
@@ -121,16 +121,16 @@ function P({ children: e, label: t }) {
|
|
|
121
121
|
}), e]
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
|
-
function
|
|
125
|
-
let
|
|
126
|
-
return /* @__PURE__ */
|
|
124
|
+
function I({ children: e, icon: t, isSelected: n = !1, shouldCloseOnActivate: r = !0, onClick: i, className: a, style: o, ...s }) {
|
|
125
|
+
let c = g(A), u = v(), f = c !== null && !c.isExpanded;
|
|
126
|
+
return /* @__PURE__ */ S("div", {
|
|
127
127
|
...{
|
|
128
128
|
0: { className: "x78zum5 xeuugli x1ok0vyi" },
|
|
129
129
|
1: { className: "x78zum5 xeuugli x1ok0vyi x1r7kqkb" }
|
|
130
130
|
}[!!n | 0],
|
|
131
|
-
children: /* @__PURE__ */
|
|
131
|
+
children: /* @__PURE__ */ C(d, {
|
|
132
132
|
...s,
|
|
133
|
-
...
|
|
133
|
+
...l({
|
|
134
134
|
className: a,
|
|
135
135
|
style: o,
|
|
136
136
|
styles: {
|
|
@@ -139,17 +139,17 @@ function F({ children: e, icon: t, isSelected: n = !1, shouldCloseOnActivate: r
|
|
|
139
139
|
}[!!f | 0]
|
|
140
140
|
}),
|
|
141
141
|
"aria-current": n ? "page" : void 0,
|
|
142
|
-
"aria-labelledby": s["aria-labelledby"] ?? (s["aria-label"] === void 0 ?
|
|
142
|
+
"aria-labelledby": s["aria-labelledby"] ?? (s["aria-label"] === void 0 ? u : void 0),
|
|
143
143
|
title: s.title ?? (typeof e == "string" ? e : void 0),
|
|
144
144
|
onClick: (e) => {
|
|
145
|
-
i !== void 0 && i(e), !e.defaultPrevented &&
|
|
145
|
+
i !== void 0 && i(e), !e.defaultPrevented && c !== null && r && c.onNavigate();
|
|
146
146
|
},
|
|
147
|
-
children: [t != null && /* @__PURE__ */
|
|
147
|
+
children: [t != null && /* @__PURE__ */ S("span", {
|
|
148
148
|
"aria-hidden": !0,
|
|
149
149
|
className: "x3nfvp2 x6s0dn4 xl56j7k xtwnzbg x18utl2x x2lah0s",
|
|
150
150
|
children: t
|
|
151
|
-
}), /* @__PURE__ */
|
|
152
|
-
id:
|
|
151
|
+
}), /* @__PURE__ */ S("span", {
|
|
152
|
+
id: u,
|
|
153
153
|
...{
|
|
154
154
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
155
155
|
1: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft x1s85apg xeod2sa" }
|
|
@@ -159,14 +159,14 @@ function F({ children: e, icon: t, isSelected: n = !1, shouldCloseOnActivate: r
|
|
|
159
159
|
})
|
|
160
160
|
});
|
|
161
161
|
}
|
|
162
|
-
function
|
|
163
|
-
let s =
|
|
162
|
+
function L({ children: e, icon: t, isSelected: n = !1, onClick: r, className: i, style: a, ...o }) {
|
|
163
|
+
let s = g(A), c = v(), l = s !== null && !s.isExpanded, u = {
|
|
164
164
|
0: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1nhvcw1 x1hnptsi x15rya3k x992rv9 x1avwmir xh8yej3 xeuugli xt970qd xksvo5r" },
|
|
165
165
|
2: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1hnptsi x15rya3k x992rv9 x1avwmir xh8yej3 xeuugli xt970qd xksvo5r xl56j7k x1l31gyv" },
|
|
166
166
|
1: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1nhvcw1 x1hnptsi x15rya3k x992rv9 x1avwmir xh8yej3 xeuugli xt970qd xksvo5r x1r7kqkb" },
|
|
167
167
|
3: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1hnptsi x15rya3k x992rv9 x1avwmir xh8yej3 xeuugli xt970qd xksvo5r xl56j7k x1l31gyv x1r7kqkb" }
|
|
168
168
|
}[!!l << 1 | !!n];
|
|
169
|
-
return /* @__PURE__ */
|
|
169
|
+
return /* @__PURE__ */ C("a", {
|
|
170
170
|
...o,
|
|
171
171
|
"aria-current": n ? "page" : void 0,
|
|
172
172
|
"aria-labelledby": o["aria-labelledby"] ?? (o["aria-label"] === void 0 ? c : void 0),
|
|
@@ -181,11 +181,11 @@ function I({ children: e, icon: t, isSelected: n = !1, onClick: r, className: i,
|
|
|
181
181
|
...u.style,
|
|
182
182
|
...a
|
|
183
183
|
},
|
|
184
|
-
children: [t != null && /* @__PURE__ */
|
|
184
|
+
children: [t != null && /* @__PURE__ */ S("span", {
|
|
185
185
|
"aria-hidden": !0,
|
|
186
186
|
className: "x3nfvp2 x6s0dn4 xl56j7k xtwnzbg x18utl2x x2lah0s",
|
|
187
187
|
children: t
|
|
188
|
-
}), /* @__PURE__ */
|
|
188
|
+
}), /* @__PURE__ */ S("span", {
|
|
189
189
|
id: c,
|
|
190
190
|
...{
|
|
191
191
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
@@ -195,9 +195,9 @@ function I({ children: e, icon: t, isSelected: n = !1, onClick: r, className: i,
|
|
|
195
195
|
})]
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
function
|
|
199
|
-
let n =
|
|
200
|
-
return /* @__PURE__ */
|
|
198
|
+
function R({ children: e, shouldGrow: t = !1 }) {
|
|
199
|
+
let n = g(A), r = n !== null && !n.isExpanded;
|
|
200
|
+
return /* @__PURE__ */ S("span", {
|
|
201
201
|
...{
|
|
202
202
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
203
203
|
2: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft x78zum5 x6s0dn4 x1hnptsi x98rzlu" },
|
|
@@ -207,39 +207,39 @@ function L({ children: e, shouldGrow: t = !1 }) {
|
|
|
207
207
|
children: e
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
let n =
|
|
212
|
-
return /* @__PURE__ */
|
|
213
|
-
...
|
|
210
|
+
function z({ children: e, layout: t = "inline" }) {
|
|
211
|
+
let n = g(A), r = n !== null && !n.isExpanded;
|
|
212
|
+
return /* @__PURE__ */ S("div", {
|
|
213
|
+
...p.props(j.footer, r && j.collapsedFooter, te[t]),
|
|
214
214
|
children: e
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
|
-
function
|
|
218
|
-
let t =
|
|
219
|
-
return t === null ? null : /* @__PURE__ */
|
|
217
|
+
function B() {
|
|
218
|
+
let t = g(A);
|
|
219
|
+
return t === null ? null : /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("div", {
|
|
220
220
|
className: "x9f619 x6s0dn4 xl56j7k x2lah0s x14j3e4g xs1s249 x32b0ac xelkwwr x78zum5 x1ykma7f",
|
|
221
|
-
children: /* @__PURE__ */
|
|
221
|
+
children: /* @__PURE__ */ S(c, {
|
|
222
222
|
ref: t.navigationToggleRef,
|
|
223
223
|
variant: "ghost",
|
|
224
224
|
"aria-label": t.isExpanded ? "Collapse navigation" : "Expand navigation",
|
|
225
225
|
"aria-controls": t.sidebarId,
|
|
226
226
|
"aria-expanded": t.isExpanded,
|
|
227
227
|
onClick: t.onToggle,
|
|
228
|
-
children: /* @__PURE__ */
|
|
228
|
+
children: /* @__PURE__ */ S(T, {
|
|
229
229
|
size: 16,
|
|
230
230
|
"aria-hidden": !0
|
|
231
231
|
})
|
|
232
232
|
})
|
|
233
|
-
}), /* @__PURE__ */
|
|
233
|
+
}), /* @__PURE__ */ S("div", {
|
|
234
234
|
className: "x9f619 x6s0dn4 xl56j7k x2lah0s x14j3e4g xs1s249 x32b0ac xelkwwr x1s85apg x1rhi5y4",
|
|
235
|
-
children: /* @__PURE__ */
|
|
235
|
+
children: /* @__PURE__ */ S(e.Trigger, {
|
|
236
236
|
ref: t.mobileNavigationToggleRef,
|
|
237
237
|
handle: t.drawerHandle,
|
|
238
|
-
render: /* @__PURE__ */
|
|
238
|
+
render: /* @__PURE__ */ S(c, {
|
|
239
239
|
variant: "ghost",
|
|
240
240
|
"aria-label": "Open navigation"
|
|
241
241
|
}),
|
|
242
|
-
children: /* @__PURE__ */
|
|
242
|
+
children: /* @__PURE__ */ S(T, {
|
|
243
243
|
size: 16,
|
|
244
244
|
"aria-hidden": !0
|
|
245
245
|
})
|
|
@@ -247,7 +247,7 @@ function z() {
|
|
|
247
247
|
})] });
|
|
248
248
|
}
|
|
249
249
|
// packages/layout/src/navigation-rail.tsx
|
|
250
|
-
var
|
|
250
|
+
var V = h(!1), H = {
|
|
251
251
|
mobileSelected: {
|
|
252
252
|
kWkggS: "x1r7kqkb",
|
|
253
253
|
$$css: !0
|
|
@@ -277,115 +277,115 @@ var B = m(!1), V = {
|
|
|
277
277
|
$$css: !0
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
|
-
function
|
|
281
|
-
let
|
|
280
|
+
function U({ label: e, links: a, action: o }) {
|
|
281
|
+
let s = g(V), l = g(A);
|
|
282
282
|
function u(e, t) {
|
|
283
283
|
e?.(t);
|
|
284
284
|
let n = t.metaKey || t.ctrlKey, r = t.shiftKey || t.altKey;
|
|
285
285
|
t.button !== 0 || n || r || l?.onNavigate();
|
|
286
286
|
}
|
|
287
|
-
let
|
|
287
|
+
let d = (e) => {
|
|
288
288
|
o?.onClick(e), e.defaultPrevented || l?.onNavigate();
|
|
289
289
|
};
|
|
290
|
-
return
|
|
290
|
+
return s ? /* @__PURE__ */ C("div", {
|
|
291
291
|
className: "x78zum5 xdt5ytf x1qjc9v5 x2lah0s xeuugli",
|
|
292
|
-
children: [/* @__PURE__ */
|
|
292
|
+
children: [/* @__PURE__ */ S("nav", {
|
|
293
293
|
"aria-label": e,
|
|
294
294
|
className: "xrvj5dj x1mt1orb x1rnidkh xunmzkg x1s01oa9",
|
|
295
|
-
children: a.map(({ label: e, icon: t, isCurrent: n = !1, ...i }) => /* @__PURE__ */
|
|
296
|
-
...
|
|
295
|
+
children: a.map(({ label: e, icon: t, isCurrent: n = !1, ...i }) => /* @__PURE__ */ C("a", {
|
|
296
|
+
...f(p.props(r.base, r.button, H.mobileLink, H.rounded, n && H.mobileSelected), i),
|
|
297
297
|
"aria-current": n ? "location" : void 0,
|
|
298
298
|
onClick: (e) => u(i.onClick, e),
|
|
299
|
-
children: [/* @__PURE__ */
|
|
299
|
+
children: [/* @__PURE__ */ S("span", {
|
|
300
300
|
"aria-hidden": !0,
|
|
301
301
|
className: "x3nfvp2 x2lah0s xtwnzbg x18utl2x",
|
|
302
302
|
children: t
|
|
303
|
-
}), /* @__PURE__ */
|
|
303
|
+
}), /* @__PURE__ */ S("span", {
|
|
304
304
|
className: "xeuugli x193iq5w xj0a0fe",
|
|
305
305
|
children: e
|
|
306
306
|
})]
|
|
307
307
|
}, i.href))
|
|
308
|
-
}), o !== void 0 && /* @__PURE__ */
|
|
308
|
+
}), o !== void 0 && /* @__PURE__ */ S("div", {
|
|
309
309
|
className: "xrvj5dj x14w6jbu xngumbj xso031l x1q0q8m5 x1qndepd",
|
|
310
|
-
children: /* @__PURE__ */
|
|
310
|
+
children: /* @__PURE__ */ C(n, {
|
|
311
311
|
variant: "ghost",
|
|
312
|
-
onClick:
|
|
313
|
-
children: [/* @__PURE__ */
|
|
312
|
+
onClick: d,
|
|
313
|
+
children: [/* @__PURE__ */ S("span", {
|
|
314
314
|
"aria-hidden": !0,
|
|
315
315
|
className: "x3nfvp2 x2lah0s xtwnzbg x18utl2x",
|
|
316
316
|
children: o.icon
|
|
317
317
|
}), o.label]
|
|
318
318
|
})
|
|
319
319
|
})]
|
|
320
|
-
}) : /* @__PURE__ */
|
|
320
|
+
}) : /* @__PURE__ */ S(t.Provider, { children: /* @__PURE__ */ C("div", {
|
|
321
321
|
className: "x78zum5 xdt5ytf x1qjc9v5 x2lah0s xeuugli",
|
|
322
|
-
children: [/* @__PURE__ */
|
|
322
|
+
children: [/* @__PURE__ */ S("nav", {
|
|
323
323
|
"aria-label": e,
|
|
324
324
|
className: "x78zum5 xdt5ytf x1qjc9v5",
|
|
325
|
-
children: a.map(({ label: e, icon: n, isCurrent: r = !1, ...a }) => /* @__PURE__ */
|
|
325
|
+
children: a.map(({ label: e, icon: n, isCurrent: r = !1, ...a }) => /* @__PURE__ */ S("div", {
|
|
326
326
|
...{
|
|
327
327
|
0: { className: "x1n2onr6 x78zum5 x6s0dn4 xl56j7k x1oec0jp" },
|
|
328
328
|
1: { className: "x1n2onr6 x78zum5 x6s0dn4 xl56j7k x1oec0jp x1r7kqkb xh3r7i3" }
|
|
329
329
|
}[!!r | 0],
|
|
330
|
-
children: /* @__PURE__ */
|
|
331
|
-
render: /* @__PURE__ */
|
|
330
|
+
children: /* @__PURE__ */ C(t.Root, { children: [/* @__PURE__ */ S(t.Trigger, {
|
|
331
|
+
render: /* @__PURE__ */ S(i, {
|
|
332
332
|
...a,
|
|
333
333
|
"aria-label": e,
|
|
334
334
|
"aria-current": r ? "location" : void 0,
|
|
335
335
|
onClick: (e) => u(a.onClick, e)
|
|
336
336
|
}),
|
|
337
337
|
children: n
|
|
338
|
-
}), /* @__PURE__ */
|
|
338
|
+
}), /* @__PURE__ */ S(t.Portal, { children: /* @__PURE__ */ S(t.Positioner, {
|
|
339
339
|
side: "right",
|
|
340
|
-
children: /* @__PURE__ */
|
|
340
|
+
children: /* @__PURE__ */ S(t.Popup, { children: e })
|
|
341
341
|
}) })] })
|
|
342
342
|
}, a.href))
|
|
343
|
-
}), o !== void 0 && /* @__PURE__ */
|
|
343
|
+
}), o !== void 0 && /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("hr", { className: "xc342km x178xt8z x13fuv20 xhjagg4 xv06hpe xn92wy8" }), /* @__PURE__ */ S("div", {
|
|
344
344
|
className: "x1n2onr6 x78zum5 x6s0dn4 xl56j7k x1oec0jp",
|
|
345
|
-
children: /* @__PURE__ */
|
|
346
|
-
render: /* @__PURE__ */
|
|
345
|
+
children: /* @__PURE__ */ C(t.Root, { children: [/* @__PURE__ */ S(t.Trigger, {
|
|
346
|
+
render: /* @__PURE__ */ S(c, {
|
|
347
347
|
variant: "ghost",
|
|
348
348
|
"aria-label": o.label
|
|
349
349
|
}),
|
|
350
|
-
onClick:
|
|
350
|
+
onClick: d,
|
|
351
351
|
children: o.icon
|
|
352
|
-
}), /* @__PURE__ */
|
|
352
|
+
}), /* @__PURE__ */ S(t.Portal, { children: /* @__PURE__ */ S(t.Positioner, {
|
|
353
353
|
side: "right",
|
|
354
|
-
children: /* @__PURE__ */
|
|
354
|
+
children: /* @__PURE__ */ S(t.Popup, { children: o.label })
|
|
355
355
|
}) })] })
|
|
356
356
|
})] })]
|
|
357
357
|
}) });
|
|
358
358
|
}
|
|
359
359
|
// packages/layout/src/app-shell.tsx
|
|
360
|
-
var
|
|
360
|
+
var W = { drawer: {
|
|
361
361
|
kzqmXN: "x68ju84",
|
|
362
362
|
ks0D6T: "x1recik0",
|
|
363
363
|
$$css: !0
|
|
364
364
|
} };
|
|
365
|
-
function
|
|
366
|
-
let c = t != null, [l, u] =
|
|
367
|
-
return
|
|
368
|
-
let e = globalThis.matchMedia(
|
|
365
|
+
function G({ rail: t, sidebarHeader: n, sidebar: r, footer: i, children: a, mainId: o = "main", shouldFocus: s = !1 }) {
|
|
366
|
+
let c = t != null, [l, u] = b(!0), [d, f] = b(!1), p = s || c && !l, [m] = b(() => e.createHandle()), h = v(), g = y(null), x = y(null), w = y(null), T = y(!1);
|
|
367
|
+
return _(() => {
|
|
368
|
+
let e = globalThis.matchMedia(k.sidebarDesktopQuery);
|
|
369
369
|
function t() {
|
|
370
370
|
e.matches && f(!1);
|
|
371
371
|
}
|
|
372
372
|
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
|
|
373
|
-
}, []), /* @__PURE__ */
|
|
373
|
+
}, []), /* @__PURE__ */ C(A.Provider, {
|
|
374
374
|
value: {
|
|
375
375
|
isExpanded: l,
|
|
376
376
|
sidebarId: h,
|
|
377
377
|
drawerHandle: m,
|
|
378
|
-
navigationToggleRef:
|
|
379
|
-
mobileNavigationToggleRef:
|
|
378
|
+
navigationToggleRef: g,
|
|
379
|
+
mobileNavigationToggleRef: x,
|
|
380
380
|
onToggle: () => u((e) => !e),
|
|
381
381
|
onNavigate: () => {
|
|
382
382
|
T.current = d, f(!1);
|
|
383
383
|
}
|
|
384
384
|
},
|
|
385
|
-
children: [/* @__PURE__ */
|
|
385
|
+
children: [/* @__PURE__ */ C("div", {
|
|
386
386
|
className: "x9f619 x1ov3xa9 x78zum5 xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
387
387
|
children: [
|
|
388
|
-
c && /* @__PURE__ */
|
|
388
|
+
c && /* @__PURE__ */ S("div", {
|
|
389
389
|
hidden: s,
|
|
390
390
|
...{
|
|
391
391
|
0: { className: "x9f619 x78zum5 x1ykma7f xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli x14j3e4g" },
|
|
@@ -393,7 +393,7 @@ function W({ rail: t, sidebarHeader: n, sidebar: r, footer: i, children: a, main
|
|
|
393
393
|
}[!!s | 0],
|
|
394
394
|
children: t
|
|
395
395
|
}),
|
|
396
|
-
/* @__PURE__ */
|
|
396
|
+
/* @__PURE__ */ S("aside", {
|
|
397
397
|
id: h,
|
|
398
398
|
"aria-label": "Navigation",
|
|
399
399
|
hidden: p,
|
|
@@ -407,26 +407,26 @@ function W({ rail: t, sidebarHeader: n, sidebar: r, footer: i, children: a, main
|
|
|
407
407
|
3: { className: "x9f619 xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli x14j3e4g x1s85apg" },
|
|
408
408
|
7: { className: "x9f619 xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli x14j3e4g x1s85apg" }
|
|
409
409
|
}[!!c << 2 | !(c || l) << 1 | !!p],
|
|
410
|
-
children: /* @__PURE__ */
|
|
410
|
+
children: /* @__PURE__ */ S(M, {
|
|
411
411
|
header: n,
|
|
412
412
|
footer: i,
|
|
413
413
|
children: r
|
|
414
414
|
})
|
|
415
415
|
}),
|
|
416
|
-
/* @__PURE__ */
|
|
416
|
+
/* @__PURE__ */ S("main", {
|
|
417
417
|
id: o,
|
|
418
418
|
tabIndex: -1,
|
|
419
419
|
className: "xeuugli x98rzlu",
|
|
420
420
|
children: a
|
|
421
421
|
})
|
|
422
422
|
]
|
|
423
|
-
}), /* @__PURE__ */
|
|
423
|
+
}), /* @__PURE__ */ S(e.Root, {
|
|
424
424
|
handle: m,
|
|
425
425
|
open: d && !s,
|
|
426
426
|
onOpenChange: f,
|
|
427
|
-
children: /* @__PURE__ */
|
|
427
|
+
children: /* @__PURE__ */ C(e.Portal, { children: [/* @__PURE__ */ S(e.Backdrop, {}), /* @__PURE__ */ S(e.Viewport, { children: /* @__PURE__ */ C(e.Popup, {
|
|
428
428
|
ref: w,
|
|
429
|
-
xstyle:
|
|
429
|
+
xstyle: W.drawer,
|
|
430
430
|
finalFocus: () => {
|
|
431
431
|
if (T.current) {
|
|
432
432
|
T.current = !1;
|
|
@@ -437,19 +437,19 @@ function W({ rail: t, sidebarHeader: n, sidebar: r, footer: i, children: a, main
|
|
|
437
437
|
}
|
|
438
438
|
return t instanceof HTMLElement && e?.contains(t) === !0 ? t : e;
|
|
439
439
|
}
|
|
440
|
-
return globalThis.matchMedia(
|
|
440
|
+
return globalThis.matchMedia(k.sidebarDesktopQuery).matches ? g.current : x.current;
|
|
441
441
|
},
|
|
442
|
-
children: [/* @__PURE__ */
|
|
442
|
+
children: [/* @__PURE__ */ S(e.Title, {
|
|
443
443
|
isVisuallyHidden: !0,
|
|
444
444
|
children: "Navigation"
|
|
445
|
-
}), /* @__PURE__ */
|
|
445
|
+
}), /* @__PURE__ */ S(M, {
|
|
446
446
|
header: n,
|
|
447
|
-
navigationHeader: c && /* @__PURE__ */
|
|
447
|
+
navigationHeader: c && /* @__PURE__ */ S(V.Provider, {
|
|
448
448
|
value: !0,
|
|
449
449
|
children: t
|
|
450
450
|
}),
|
|
451
451
|
footer: i,
|
|
452
|
-
close: /* @__PURE__ */
|
|
452
|
+
close: /* @__PURE__ */ S(N, {}),
|
|
453
453
|
children: r
|
|
454
454
|
})]
|
|
455
455
|
}) })] })
|
|
@@ -457,40 +457,40 @@ function W({ rail: t, sidebarHeader: n, sidebar: r, footer: i, children: a, main
|
|
|
457
457
|
});
|
|
458
458
|
}
|
|
459
459
|
// packages/layout/src/detail-page.tsx
|
|
460
|
-
function
|
|
461
|
-
return /* @__PURE__ */
|
|
460
|
+
function K({ children: e }) {
|
|
461
|
+
return /* @__PURE__ */ S("div", {
|
|
462
462
|
className: "x9f619 x13na7z x96idz6 x9g60mw xeuugli xvueqy4 xnjsko4 x10gdey3 x14y0u4g x1foqgtu x1uwsqpk x14oio8y",
|
|
463
463
|
children: e
|
|
464
464
|
});
|
|
465
465
|
}
|
|
466
466
|
// packages/layout/src/focus-page.tsx
|
|
467
|
-
function
|
|
468
|
-
return /* @__PURE__ */
|
|
467
|
+
function q({ children: e }) {
|
|
468
|
+
return /* @__PURE__ */ S("main", {
|
|
469
469
|
id: "main",
|
|
470
470
|
tabIndex: -1,
|
|
471
471
|
className: "x9f619 x1ov3xa9 xeuugli xrvj5dj x1ku5rj1 x1jvlu93 xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
472
|
-
children: /* @__PURE__ */
|
|
472
|
+
children: /* @__PURE__ */ S("div", {
|
|
473
473
|
className: "xh8yej3 xxc7z9f xeuugli xrvj5dj x1mkdm3x x1j825kq",
|
|
474
474
|
children: e
|
|
475
475
|
})
|
|
476
476
|
});
|
|
477
477
|
}
|
|
478
478
|
// packages/layout/src/workbench.tsx
|
|
479
|
-
function
|
|
480
|
-
return /* @__PURE__ */
|
|
479
|
+
function ne({ header: e, children: t, inspector: n }) {
|
|
480
|
+
return /* @__PURE__ */ C("div", {
|
|
481
481
|
className: "x78zum5 xdt5ytf x1r09gfs xeuugli x2lwn1j x12h1iku x1a75771 xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel",
|
|
482
|
-
children: [e != null && /* @__PURE__ */
|
|
482
|
+
children: [e != null && /* @__PURE__ */ S("div", {
|
|
483
483
|
className: "xeuugli x2lah0s x1ydxw8w xnx3t7k xso031l x1q0q8m5 x1qndepd",
|
|
484
484
|
children: e
|
|
485
|
-
}), /* @__PURE__ */
|
|
485
|
+
}), /* @__PURE__ */ C("div", {
|
|
486
486
|
className: "x78zum5 x98rzlu xeuugli x2lwn1j x7giv3",
|
|
487
|
-
children: [/* @__PURE__ */
|
|
487
|
+
children: [/* @__PURE__ */ S("div", {
|
|
488
488
|
...{
|
|
489
489
|
0: { className: "x1n2onr6 x78zum5 x98rzlu xdt5ytf xeuugli x2lwn1j" },
|
|
490
490
|
1: { className: "x1n2onr6 x98rzlu xdt5ytf xeuugli x2lwn1j x78zum5 x152g2jv" }
|
|
491
491
|
}[n !== void 0 | 0],
|
|
492
492
|
children: t
|
|
493
|
-
}), n !== void 0 && /* @__PURE__ */
|
|
493
|
+
}), n !== void 0 && /* @__PURE__ */ S("aside", {
|
|
494
494
|
"aria-label": n.label,
|
|
495
495
|
className: "x9f619 x1peuizl x1vx4hiz xeuugli x2lah0s x1odjw0f x1c8xbx5 xpvm0e4 xe0pwq xs311s2 x19ypqd9 x1l3ounx",
|
|
496
496
|
children: n.content
|
|
@@ -498,9 +498,9 @@ function q({ header: e, children: t, inspector: n }) {
|
|
|
498
498
|
})]
|
|
499
499
|
});
|
|
500
500
|
}
|
|
501
|
-
function
|
|
502
|
-
let i =
|
|
503
|
-
return /* @__PURE__ */
|
|
501
|
+
function J({ label: e, children: t, isFlush: n = !1, scrollRestorationId: r }) {
|
|
502
|
+
let i = u();
|
|
503
|
+
return /* @__PURE__ */ S("div", {
|
|
504
504
|
ref: i.ref,
|
|
505
505
|
role: "region",
|
|
506
506
|
"aria-label": e,
|
|
@@ -513,21 +513,21 @@ function ne({ label: e, children: t, isFlush: n = !1, scrollRestorationId: r })
|
|
|
513
513
|
children: t
|
|
514
514
|
});
|
|
515
515
|
}
|
|
516
|
-
function
|
|
517
|
-
return /* @__PURE__ */
|
|
516
|
+
function Y({ children: e }) {
|
|
517
|
+
return /* @__PURE__ */ S("div", {
|
|
518
518
|
className: "x2lah0s x1c8xbx5 x178xt8z x13fuv20 xhjagg4 xpvm0e4",
|
|
519
519
|
children: e
|
|
520
520
|
});
|
|
521
521
|
}
|
|
522
522
|
// packages/layout/src/view-stack.tsx
|
|
523
|
-
function
|
|
524
|
-
return /* @__PURE__ */
|
|
523
|
+
function X({ children: e }) {
|
|
524
|
+
return /* @__PURE__ */ S("div", {
|
|
525
525
|
className: "x1n2onr6 x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j",
|
|
526
526
|
children: e
|
|
527
527
|
});
|
|
528
528
|
}
|
|
529
|
-
function
|
|
530
|
-
return /* @__PURE__ */
|
|
529
|
+
function Z({ isActive: e, children: t }) {
|
|
530
|
+
return /* @__PURE__ */ S("section", {
|
|
531
531
|
"aria-hidden": !e,
|
|
532
532
|
inert: !e,
|
|
533
533
|
...{
|
|
@@ -537,62 +537,62 @@ function X({ isActive: e, children: t }) {
|
|
|
537
537
|
children: t
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
541
|
-
Root:
|
|
542
|
-
Panel:
|
|
543
|
-
},
|
|
540
|
+
var re = {
|
|
541
|
+
Root: X,
|
|
542
|
+
Panel: Z
|
|
543
|
+
}, ie = { action: {
|
|
544
544
|
k7Eaqz: "xeuugli",
|
|
545
545
|
ks0D6T: "x193iq5w",
|
|
546
546
|
$$css: !0
|
|
547
547
|
} };
|
|
548
548
|
function Q({ title: e, actions: t, showBreadcrumb: n = !1, showNavigation: r = !0, views: i, leading: a }) {
|
|
549
|
-
let o =
|
|
550
|
-
return
|
|
549
|
+
let o = m.toArray(e).length > 0, s = m.toArray(t).length > 0, c = m.toArray(i).length > 0, l = m.toArray(a).length > 0;
|
|
550
|
+
return m.toArray([
|
|
551
551
|
e,
|
|
552
552
|
t,
|
|
553
553
|
i,
|
|
554
554
|
a
|
|
555
|
-
]).length === 0 ? null : /* @__PURE__ */
|
|
555
|
+
]).length === 0 ? null : /* @__PURE__ */ C("div", {
|
|
556
556
|
className: "x9f619 x78zum5 x12h1iku x14ut1dr x1qjc9v5 xnyqvp6 x2lah0s xso031l x1q0q8m5 x1qndepd xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xeuugli",
|
|
557
557
|
children: [
|
|
558
|
-
l ? /* @__PURE__ */
|
|
558
|
+
l ? /* @__PURE__ */ S("div", {
|
|
559
559
|
className: "x78zum5 x6s0dn4 xyibt8p x2lah0s",
|
|
560
560
|
children: a
|
|
561
|
-
}) : r && /* @__PURE__ */
|
|
562
|
-
o && /* @__PURE__ */
|
|
561
|
+
}) : r && /* @__PURE__ */ S(B, {}),
|
|
562
|
+
o && /* @__PURE__ */ S(n ? "nav" : "h1", {
|
|
563
563
|
tabIndex: n ? void 0 : -1,
|
|
564
564
|
"aria-label": n ? "Breadcrumb" : void 0,
|
|
565
565
|
className: "x78zum5 x6s0dn4 x1hnptsi x1dc62k6 xeuugli xs83m0k x1ghz6dp x1qlqyl8 xj57cvi x1t137rt",
|
|
566
|
-
children: /* @__PURE__ */
|
|
566
|
+
children: /* @__PURE__ */ S("span", {
|
|
567
567
|
className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
|
|
568
568
|
children: e
|
|
569
569
|
})
|
|
570
570
|
}),
|
|
571
|
-
c && /* @__PURE__ */
|
|
571
|
+
c && /* @__PURE__ */ S("div", {
|
|
572
572
|
className: "x78zum5 x6s0dn4 xeuugli x2lah0s",
|
|
573
573
|
children: i
|
|
574
574
|
}),
|
|
575
|
-
s && /* @__PURE__ */
|
|
575
|
+
s && /* @__PURE__ */ S("div", {
|
|
576
576
|
className: "x78zum5 x6s0dn4 xunmzkg x1dc62k6 xeuugli x2lah0s x8x9d4c",
|
|
577
577
|
children: t
|
|
578
578
|
})
|
|
579
579
|
]
|
|
580
580
|
});
|
|
581
581
|
}
|
|
582
|
-
function
|
|
582
|
+
function ae({ icon: e, children: t, ...r }) {
|
|
583
583
|
let i = e != null;
|
|
584
|
-
return /* @__PURE__ */
|
|
584
|
+
return /* @__PURE__ */ S("div", {
|
|
585
585
|
className: "x9f619 x78zum5 x1qjc9v5 xeuugli",
|
|
586
|
-
children: /* @__PURE__ */
|
|
586
|
+
children: /* @__PURE__ */ C(n, {
|
|
587
587
|
...r,
|
|
588
588
|
variant: "ghost",
|
|
589
589
|
"aria-label": r["aria-label"] ?? (typeof t == "string" ? t : void 0),
|
|
590
|
-
xstyle:
|
|
591
|
-
children: [i && /* @__PURE__ */
|
|
590
|
+
xstyle: ie.action,
|
|
591
|
+
children: [i && /* @__PURE__ */ S("span", {
|
|
592
592
|
"aria-hidden": !0,
|
|
593
593
|
className: "x3nfvp2 x2lah0s x6s0dn4",
|
|
594
594
|
children: e
|
|
595
|
-
}), i || typeof t == "string" ? /* @__PURE__ */
|
|
595
|
+
}), i || typeof t == "string" ? /* @__PURE__ */ S("span", {
|
|
596
596
|
...{
|
|
597
597
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
598
598
|
1: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft xt0psk2 xlllsrz" }
|
|
@@ -603,25 +603,32 @@ function ie({ icon: e, children: t, ...r }) {
|
|
|
603
603
|
});
|
|
604
604
|
}
|
|
605
605
|
// packages/layout/src/page-content.tsx
|
|
606
|
-
function
|
|
607
|
-
return /* @__PURE__ */
|
|
606
|
+
function oe({ children: e }) {
|
|
607
|
+
return /* @__PURE__ */ S("div", {
|
|
608
608
|
className: "x9f619 x78zum5 xdt5ytf xdz4d12 xeuugli xg7ukam",
|
|
609
609
|
children: e
|
|
610
610
|
});
|
|
611
611
|
}
|
|
612
|
+
// packages/layout/src/report-section.tsx
|
|
613
|
+
function se({ summary: e, children: t }) {
|
|
614
|
+
return /* @__PURE__ */ C(s, {
|
|
615
|
+
isCompact: !0,
|
|
616
|
+
children: [e, t]
|
|
617
|
+
});
|
|
618
|
+
}
|
|
612
619
|
// packages/layout/src/record-page.tsx
|
|
613
|
-
function
|
|
614
|
-
return /* @__PURE__ */
|
|
620
|
+
function ce({ children: e }) {
|
|
621
|
+
return /* @__PURE__ */ S("div", {
|
|
615
622
|
className: "x78zum5 xdt5ytf xeuugli xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
616
623
|
children: e
|
|
617
624
|
});
|
|
618
625
|
}
|
|
619
|
-
function
|
|
620
|
-
return /* @__PURE__ */
|
|
626
|
+
function le({ backLabel: e, backHref: t, onBack: n, actions: r, showNavigation: i = !0 }) {
|
|
627
|
+
return /* @__PURE__ */ S(Q, {
|
|
621
628
|
showBreadcrumb: !0,
|
|
622
629
|
showNavigation: i,
|
|
623
630
|
actions: r,
|
|
624
|
-
title: /* @__PURE__ */
|
|
631
|
+
title: /* @__PURE__ */ C("a", {
|
|
625
632
|
href: t,
|
|
626
633
|
className: "x3nfvp2 x6s0dn4 x1hnptsi xid9utz xeuugli x193iq5w xbixft xkrqix3 x5638nf x13qnu6 x9v5kkp x19rmrnh x1bqaal",
|
|
627
634
|
onClick: (e) => {
|
|
@@ -629,65 +636,65 @@ function se({ backLabel: e, backHref: t, onBack: n, actions: r, showNavigation:
|
|
|
629
636
|
let t = e.metaKey || e.ctrlKey, r = e.shiftKey || e.altKey;
|
|
630
637
|
t || r || (e.preventDefault(), n());
|
|
631
638
|
},
|
|
632
|
-
children: [/* @__PURE__ */
|
|
639
|
+
children: [/* @__PURE__ */ S(w, {
|
|
633
640
|
size: 16,
|
|
634
641
|
"aria-hidden": !0,
|
|
635
642
|
className: "x2lah0s"
|
|
636
|
-
}), /* @__PURE__ */
|
|
643
|
+
}), /* @__PURE__ */ S("span", {
|
|
637
644
|
className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
|
|
638
645
|
children: e
|
|
639
646
|
})]
|
|
640
647
|
})
|
|
641
648
|
});
|
|
642
649
|
}
|
|
643
|
-
function
|
|
644
|
-
return /* @__PURE__ */
|
|
650
|
+
function ue({ children: e }) {
|
|
651
|
+
return /* @__PURE__ */ S(K, { children: /* @__PURE__ */ S("div", {
|
|
645
652
|
className: "x78zum5 x1a02dak x1cy8zhl xdz4d12 xeuugli",
|
|
646
653
|
children: e
|
|
647
654
|
}) });
|
|
648
655
|
}
|
|
649
|
-
function
|
|
650
|
-
return /* @__PURE__ */
|
|
656
|
+
function de({ children: e }) {
|
|
657
|
+
return /* @__PURE__ */ S("div", {
|
|
651
658
|
className: "x78zum5 xdt5ytf x1ewej1i x1iyjqo2 xdz4d12 xeuugli",
|
|
652
659
|
children: e
|
|
653
660
|
});
|
|
654
661
|
}
|
|
655
|
-
function
|
|
656
|
-
return /* @__PURE__ */
|
|
662
|
+
function fe({ title: e, description: t, icon: n, titleRef: r }) {
|
|
663
|
+
return /* @__PURE__ */ C("header", {
|
|
657
664
|
className: "xrvj5dj x1n8ia3y xeuugli",
|
|
658
|
-
children: [/* @__PURE__ */
|
|
665
|
+
children: [/* @__PURE__ */ C("div", {
|
|
659
666
|
className: "x78zum5 x6s0dn4 x1n8ia3y xeuugli",
|
|
660
|
-
children: [n != null && /* @__PURE__ */
|
|
667
|
+
children: [n != null && /* @__PURE__ */ S("span", {
|
|
661
668
|
"aria-hidden": !0,
|
|
662
669
|
className: "x3nfvp2 x6s0dn4 x2lah0s",
|
|
663
670
|
children: n
|
|
664
|
-
}), /* @__PURE__ */
|
|
671
|
+
}), /* @__PURE__ */ S(o, {
|
|
665
672
|
ref: r,
|
|
666
673
|
tabIndex: -1,
|
|
667
674
|
className: "xeuugli x1t137rt",
|
|
668
675
|
children: e
|
|
669
676
|
})]
|
|
670
|
-
}), t != null && /* @__PURE__ */
|
|
677
|
+
}), t != null && /* @__PURE__ */ S(a, { children: t })]
|
|
671
678
|
});
|
|
672
679
|
}
|
|
673
|
-
function
|
|
674
|
-
return /* @__PURE__ */
|
|
680
|
+
function pe({ children: e, label: t = "Properties" }) {
|
|
681
|
+
return /* @__PURE__ */ S("aside", {
|
|
675
682
|
"aria-label": t,
|
|
676
683
|
className: "x78zum5 xdt5ytf x1irul0l x1iyjqo2 x1j825kq xeuugli",
|
|
677
684
|
children: e
|
|
678
685
|
});
|
|
679
686
|
}
|
|
680
|
-
var
|
|
681
|
-
Root:
|
|
682
|
-
Toolbar:
|
|
683
|
-
Body:
|
|
684
|
-
Content:
|
|
685
|
-
Header:
|
|
686
|
-
Aside:
|
|
687
|
+
var $ = {
|
|
688
|
+
Root: ce,
|
|
689
|
+
Toolbar: le,
|
|
690
|
+
Body: ue,
|
|
691
|
+
Content: de,
|
|
692
|
+
Header: fe,
|
|
693
|
+
Aside: pe
|
|
687
694
|
};
|
|
688
695
|
// packages/layout/src/resizable.tsx
|
|
689
|
-
function
|
|
690
|
-
return /* @__PURE__ */
|
|
696
|
+
function me({ orientation: e = "horizontal", initialSizes: t, onSizesChange: n, disabled: r, ref: i, ...a }) {
|
|
697
|
+
return /* @__PURE__ */ S(ee, {
|
|
691
698
|
orientation: e,
|
|
692
699
|
defaultLayout: t,
|
|
693
700
|
onLayoutChanged: (e, t) => {
|
|
@@ -699,29 +706,29 @@ function fe({ orientation: e = "horizontal", initialSizes: t, onSizesChange: n,
|
|
|
699
706
|
coarse: 44,
|
|
700
707
|
fine: 12
|
|
701
708
|
},
|
|
702
|
-
...
|
|
709
|
+
...f({ className: "xeuugli x2lwn1j xh8yej3 x5yr21d" }, a)
|
|
703
710
|
});
|
|
704
711
|
}
|
|
705
|
-
function
|
|
706
|
-
return /* @__PURE__ */
|
|
712
|
+
function he({ id: e, initialSizePercent: t, minimumSizePercent: n = 10, maximumSizePercent: r = 100, canCollapse: i = !1, ref: a, ...o }) {
|
|
713
|
+
return /* @__PURE__ */ S(D, {
|
|
707
714
|
id: e,
|
|
708
715
|
defaultSize: t === void 0 ? void 0 : `${t}%`,
|
|
709
716
|
minSize: `${n}%`,
|
|
710
717
|
maxSize: `${r}%`,
|
|
711
718
|
collapsible: i,
|
|
712
719
|
elementRef: a,
|
|
713
|
-
...
|
|
720
|
+
...f({ className: "xeuugli x2lwn1j xysyzu8" }, o)
|
|
714
721
|
});
|
|
715
722
|
}
|
|
716
|
-
function
|
|
717
|
-
return /* @__PURE__ */
|
|
723
|
+
function ge({ ref: e, ...t }) {
|
|
724
|
+
return /* @__PURE__ */ S(O, {
|
|
718
725
|
elementRef: e,
|
|
719
|
-
...
|
|
726
|
+
...f({ className: "x1fa40ue x1i1rx1s xgc0pbm xir5lan xfaai28 x1rbdpqn x8wp5i9 x13qnu6 x9v5kkp x19rmrnh x13iak60" }, t)
|
|
720
727
|
});
|
|
721
728
|
}
|
|
722
|
-
var
|
|
723
|
-
Root:
|
|
724
|
-
Pane:
|
|
725
|
-
Handle:
|
|
729
|
+
var _e = {
|
|
730
|
+
Root: me,
|
|
731
|
+
Pane: he,
|
|
732
|
+
Handle: ge
|
|
726
733
|
};
|
|
727
|
-
export {
|
|
734
|
+
export { G as AppShell, K as DetailPage, q as FocusPage, P as Navigation, I as NavigationItem, L as NavigationLink, U as NavigationRail, F as NavigationSection, oe as PageContent, Q as PageToolbar, $ as RecordPage, se as ReportSection, _e as Resizable, z as SidebarFooter, R as SidebarLabel, ae as ToolbarAction, re as ViewStack, ne as Workbench, Y as WorkbenchFooter, J as WorkbenchScroll };
|