@mechane-ai/elements 0.20.0 → 0.21.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 +11 -5
- package/dist/{categorical-values-Cf-zlA1u.js → categorical-values-DG0kzYxN.js} +2 -2
- package/dist/{chart-frame-Cf6LBA8M.js → chart-frame-DxAZ0h_q.js} +49 -50
- package/dist/{chart-input-BTDzeBQU.js → chart-input-Dru0GScv.js} +1 -1
- package/dist/charts/cartesian.js +276 -226
- package/dist/charts/distribution.js +2 -2
- package/dist/charts/graph.js +82 -80
- package/dist/charts/hierarchy.js +3 -3
- package/dist/charts/matrix.js +136 -134
- package/dist/charts/timeline.js +1 -1
- package/dist/charts.js +1 -1
- package/dist/code-block-DlUwVaPP.js +182 -0
- package/dist/collections.js +227 -117
- package/dist/content/code.js +1 -1
- package/dist/content/diff.js +2 -2
- package/dist/content/markdown.js +108 -102
- package/dist/content/tree.js +41 -39
- package/dist/content.js +138 -136
- package/dist/elements.css +42 -0
- package/dist/layout.js +212 -203
- package/dist/navigation.js +0 -1
- package/dist/packages/charts/src/chart-cursor.d.ts +7 -0
- package/dist/packages/charts/src/chart-theme.d.ts +1 -7
- package/dist/packages/collections/src/index.d.ts +1 -0
- package/dist/packages/collections/src/metrics.d.ts +64 -5
- package/dist/packages/foundations/src/use-scroll-tab-index.d.ts +6 -0
- package/dist/packages/layout/src/index.d.ts +2 -0
- package/dist/packages/layout/src/report-section.d.ts +6 -0
- package/dist/pierre-diff-CHQsoQSZ.js +72 -0
- package/dist/use-scroll-tab-index-Dxpdh4W7.js +45 -0
- package/package.json +1 -1
- package/dist/code-block-D1_kzPrs.js +0 -180
- package/dist/pierre-diff-hAwARDse.js +0 -71
package/dist/layout.js
CHANGED
|
@@ -1,22 +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 {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
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-qU5Z5LRH.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";
|
|
11
12
|
// packages/layout/src/frame.stylex.ts
|
|
12
|
-
var
|
|
13
|
+
var k = {
|
|
13
14
|
sidebarMobile: "@media (max-width:800px)",
|
|
14
15
|
sidebarDesktopQuery: "(min-width:801px)",
|
|
15
16
|
sidebarCoarse: "@media (min-width:801px) and (pointer: coarse)",
|
|
16
17
|
detailMobile: "@media (max-width:720px)",
|
|
17
18
|
toolbarCompact: "@container toolbar (max-width:600px)",
|
|
18
19
|
workbenchCompact: "@container workbench (max-width:860px)"
|
|
19
|
-
},
|
|
20
|
+
}, A = h(null), j = {
|
|
20
21
|
footer: {
|
|
21
22
|
kB7OPa: "x9f619",
|
|
22
23
|
k1xSpc: "x78zum5",
|
|
@@ -50,54 +51,53 @@ var D = {
|
|
|
50
51
|
k8WAf4: "xn9t2bk",
|
|
51
52
|
$$css: !0
|
|
52
53
|
}
|
|
53
|
-
},
|
|
54
|
-
inline:
|
|
55
|
-
navigation:
|
|
54
|
+
}, te = {
|
|
55
|
+
inline: j.inlineFooter,
|
|
56
|
+
navigation: j.navigationFooter
|
|
56
57
|
};
|
|
57
|
-
function
|
|
58
|
-
return /* @__PURE__ */
|
|
59
|
-
/* @__PURE__ */
|
|
58
|
+
function M({ header: e, navigationHeader: t, footer: n, close: r, children: i }) {
|
|
59
|
+
return /* @__PURE__ */ C(x, { children: [
|
|
60
|
+
/* @__PURE__ */ C("div", {
|
|
60
61
|
...{
|
|
61
62
|
0: { className: "x9f619 x78zum5 x1qjc9v5 xnyqvp6 x2lah0s xeuugli xso031l x1q0q8m5 x1qndepd" },
|
|
62
63
|
1: { className: "x9f619 x1qjc9v5 xnyqvp6 x2lah0s xeuugli xso031l x1q0q8m5 x1qndepd x1s85apg x1rhi5y4" }
|
|
63
64
|
}[e == null | 0],
|
|
64
|
-
children: [/* @__PURE__ */
|
|
65
|
+
children: [/* @__PURE__ */ S("div", {
|
|
65
66
|
className: "x78zum5 x6s0dn4 x98rzlu xeuugli",
|
|
66
67
|
children: e
|
|
67
68
|
}), r]
|
|
68
69
|
}),
|
|
69
70
|
t,
|
|
70
|
-
/* @__PURE__ */
|
|
71
|
+
/* @__PURE__ */ S("div", {
|
|
71
72
|
role: "region",
|
|
72
73
|
"aria-label": "Navigation links",
|
|
73
|
-
tabIndex: 0,
|
|
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 M({ 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 N({ 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 P({ 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 P({ 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 F({ 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 F({ 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 I({ 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 R() {
|
|
|
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 z = p(!1), B = {
|
|
|
277
277
|
$$css: !0
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
|
-
function
|
|
281
|
-
let
|
|
282
|
-
function
|
|
280
|
+
function U({ label: e, links: a, action: o }) {
|
|
281
|
+
let s = g(V), l = g(A);
|
|
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
|
-
onClick: (e) =>
|
|
299
|
-
children: [/* @__PURE__ */
|
|
298
|
+
onClick: (e) => u(i.onClick, e),
|
|
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
|
-
onClick: (e) =>
|
|
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
|
-
sidebarId:
|
|
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,8 +393,8 @@ function U({ rail: t, sidebarHeader: n, sidebar: r, footer: i, children: a, main
|
|
|
393
393
|
}[!!s | 0],
|
|
394
394
|
children: t
|
|
395
395
|
}),
|
|
396
|
-
/* @__PURE__ */
|
|
397
|
-
id:
|
|
396
|
+
/* @__PURE__ */ S("aside", {
|
|
397
|
+
id: h,
|
|
398
398
|
"aria-label": "Navigation",
|
|
399
399
|
hidden: p,
|
|
400
400
|
...{
|
|
@@ -407,49 +407,49 @@ function U({ 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__ */
|
|
428
|
-
ref:
|
|
429
|
-
xstyle:
|
|
427
|
+
children: /* @__PURE__ */ C(e.Portal, { children: [/* @__PURE__ */ S(e.Backdrop, {}), /* @__PURE__ */ S(e.Viewport, { children: /* @__PURE__ */ C(e.Popup, {
|
|
428
|
+
ref: w,
|
|
429
|
+
xstyle: W.drawer,
|
|
430
430
|
finalFocus: () => {
|
|
431
|
-
if (
|
|
432
|
-
|
|
431
|
+
if (T.current) {
|
|
432
|
+
T.current = !1;
|
|
433
433
|
let e = document.querySelector(`#${CSS.escape(o)}`), t = document.activeElement;
|
|
434
434
|
if (t instanceof HTMLElement) {
|
|
435
435
|
let e = t.closest("[role=\"dialog\"], [role=\"alertdialog\"]");
|
|
436
|
-
if (e !== null && e !==
|
|
436
|
+
if (e !== null && e !== w.current) return t;
|
|
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 U({ 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,11 +498,13 @@ function K({ header: e, children: t, inspector: n }) {
|
|
|
498
498
|
})]
|
|
499
499
|
});
|
|
500
500
|
}
|
|
501
|
-
function
|
|
502
|
-
|
|
501
|
+
function J({ label: e, children: t, isFlush: n = !1, scrollRestorationId: r }) {
|
|
502
|
+
let i = u();
|
|
503
|
+
return /* @__PURE__ */ S("div", {
|
|
504
|
+
ref: i.ref,
|
|
503
505
|
role: "region",
|
|
504
506
|
"aria-label": e,
|
|
505
|
-
tabIndex:
|
|
507
|
+
tabIndex: i.tabIndex,
|
|
506
508
|
"data-scroll-restoration-id": r,
|
|
507
509
|
...{
|
|
508
510
|
0: { className: "x1odjw0f x1e4zzel x98rzlu xeuugli x2lwn1j x1jvlu93 x1t137rt x13qnu6 x9v5kkp x19rmrnh x1bqaal" },
|
|
@@ -511,21 +513,21 @@ function q({ label: e, children: t, isFlush: n = !1, scrollRestorationId: r }) {
|
|
|
511
513
|
children: t
|
|
512
514
|
});
|
|
513
515
|
}
|
|
514
|
-
function
|
|
515
|
-
return /* @__PURE__ */
|
|
516
|
+
function Y({ children: e }) {
|
|
517
|
+
return /* @__PURE__ */ S("div", {
|
|
516
518
|
className: "x2lah0s x1c8xbx5 x178xt8z x13fuv20 xhjagg4 xpvm0e4",
|
|
517
519
|
children: e
|
|
518
520
|
});
|
|
519
521
|
}
|
|
520
522
|
// packages/layout/src/view-stack.tsx
|
|
521
|
-
function
|
|
522
|
-
return /* @__PURE__ */
|
|
523
|
+
function X({ children: e }) {
|
|
524
|
+
return /* @__PURE__ */ S("div", {
|
|
523
525
|
className: "x1n2onr6 x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j",
|
|
524
526
|
children: e
|
|
525
527
|
});
|
|
526
528
|
}
|
|
527
|
-
function
|
|
528
|
-
return /* @__PURE__ */
|
|
529
|
+
function Z({ isActive: e, children: t }) {
|
|
530
|
+
return /* @__PURE__ */ S("section", {
|
|
529
531
|
"aria-hidden": !e,
|
|
530
532
|
inert: !e,
|
|
531
533
|
...{
|
|
@@ -535,62 +537,62 @@ function Y({ isActive: e, children: t }) {
|
|
|
535
537
|
children: t
|
|
536
538
|
});
|
|
537
539
|
}
|
|
538
|
-
var
|
|
539
|
-
Root:
|
|
540
|
-
Panel:
|
|
541
|
-
},
|
|
540
|
+
var re = {
|
|
541
|
+
Root: X,
|
|
542
|
+
Panel: Z
|
|
543
|
+
}, ie = { action: {
|
|
542
544
|
k7Eaqz: "xeuugli",
|
|
543
545
|
ks0D6T: "x193iq5w",
|
|
544
546
|
$$css: !0
|
|
545
547
|
} };
|
|
546
548
|
function Q({ title: e, actions: t, showBreadcrumb: n = !1, showNavigation: r = !0, views: i, leading: a }) {
|
|
547
|
-
let o =
|
|
548
|
-
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([
|
|
549
551
|
e,
|
|
550
552
|
t,
|
|
551
553
|
i,
|
|
552
554
|
a
|
|
553
|
-
]).length === 0 ? null : /* @__PURE__ */
|
|
555
|
+
]).length === 0 ? null : /* @__PURE__ */ C("div", {
|
|
554
556
|
className: "x9f619 x78zum5 x12h1iku x14ut1dr x1qjc9v5 xnyqvp6 x2lah0s xso031l x1q0q8m5 x1qndepd xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xeuugli",
|
|
555
557
|
children: [
|
|
556
|
-
l ? /* @__PURE__ */
|
|
558
|
+
l ? /* @__PURE__ */ S("div", {
|
|
557
559
|
className: "x78zum5 x6s0dn4 xyibt8p x2lah0s",
|
|
558
560
|
children: a
|
|
559
|
-
}) : r && /* @__PURE__ */
|
|
560
|
-
o && /* @__PURE__ */
|
|
561
|
+
}) : r && /* @__PURE__ */ S(B, {}),
|
|
562
|
+
o && /* @__PURE__ */ S(n ? "nav" : "h1", {
|
|
561
563
|
tabIndex: n ? void 0 : -1,
|
|
562
564
|
"aria-label": n ? "Breadcrumb" : void 0,
|
|
563
565
|
className: "x78zum5 x6s0dn4 x1hnptsi x1dc62k6 xeuugli xs83m0k x1ghz6dp x1qlqyl8 xj57cvi x1t137rt",
|
|
564
|
-
children: /* @__PURE__ */
|
|
566
|
+
children: /* @__PURE__ */ S("span", {
|
|
565
567
|
className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
|
|
566
568
|
children: e
|
|
567
569
|
})
|
|
568
570
|
}),
|
|
569
|
-
c && /* @__PURE__ */
|
|
571
|
+
c && /* @__PURE__ */ S("div", {
|
|
570
572
|
className: "x78zum5 x6s0dn4 xeuugli x2lah0s",
|
|
571
573
|
children: i
|
|
572
574
|
}),
|
|
573
|
-
s && /* @__PURE__ */
|
|
575
|
+
s && /* @__PURE__ */ S("div", {
|
|
574
576
|
className: "x78zum5 x6s0dn4 xunmzkg x1dc62k6 xeuugli x2lah0s x8x9d4c",
|
|
575
577
|
children: t
|
|
576
578
|
})
|
|
577
579
|
]
|
|
578
580
|
});
|
|
579
581
|
}
|
|
580
|
-
function
|
|
582
|
+
function ae({ icon: e, children: t, ...r }) {
|
|
581
583
|
let i = e != null;
|
|
582
|
-
return /* @__PURE__ */
|
|
584
|
+
return /* @__PURE__ */ S("div", {
|
|
583
585
|
className: "x9f619 x78zum5 x1qjc9v5 xeuugli",
|
|
584
|
-
children: /* @__PURE__ */
|
|
586
|
+
children: /* @__PURE__ */ C(n, {
|
|
585
587
|
...r,
|
|
586
588
|
variant: "ghost",
|
|
587
589
|
"aria-label": r["aria-label"] ?? (typeof t == "string" ? t : void 0),
|
|
588
|
-
xstyle:
|
|
589
|
-
children: [i && /* @__PURE__ */
|
|
590
|
+
xstyle: ie.action,
|
|
591
|
+
children: [i && /* @__PURE__ */ S("span", {
|
|
590
592
|
"aria-hidden": !0,
|
|
591
593
|
className: "x3nfvp2 x2lah0s x6s0dn4",
|
|
592
594
|
children: e
|
|
593
|
-
}), i || typeof t == "string" ? /* @__PURE__ */
|
|
595
|
+
}), i || typeof t == "string" ? /* @__PURE__ */ S("span", {
|
|
594
596
|
...{
|
|
595
597
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
596
598
|
1: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft xt0psk2 xlllsrz" }
|
|
@@ -601,25 +603,32 @@ function re({ icon: e, children: t, ...r }) {
|
|
|
601
603
|
});
|
|
602
604
|
}
|
|
603
605
|
// packages/layout/src/page-content.tsx
|
|
604
|
-
function
|
|
605
|
-
return /* @__PURE__ */
|
|
606
|
+
function oe({ children: e }) {
|
|
607
|
+
return /* @__PURE__ */ S("div", {
|
|
606
608
|
className: "x9f619 x78zum5 xdt5ytf xdz4d12 xeuugli xg7ukam",
|
|
607
609
|
children: e
|
|
608
610
|
});
|
|
609
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
|
+
}
|
|
610
619
|
// packages/layout/src/record-page.tsx
|
|
611
|
-
function
|
|
612
|
-
return /* @__PURE__ */
|
|
620
|
+
function ce({ children: e }) {
|
|
621
|
+
return /* @__PURE__ */ S("div", {
|
|
613
622
|
className: "x78zum5 xdt5ytf xeuugli xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
614
623
|
children: e
|
|
615
624
|
});
|
|
616
625
|
}
|
|
617
|
-
function
|
|
618
|
-
return /* @__PURE__ */
|
|
626
|
+
function le({ backLabel: e, backHref: t, onBack: n, actions: r, showNavigation: i = !0 }) {
|
|
627
|
+
return /* @__PURE__ */ S(Q, {
|
|
619
628
|
showBreadcrumb: !0,
|
|
620
629
|
showNavigation: i,
|
|
621
630
|
actions: r,
|
|
622
|
-
title: /* @__PURE__ */
|
|
631
|
+
title: /* @__PURE__ */ C("a", {
|
|
623
632
|
href: t,
|
|
624
633
|
className: "x3nfvp2 x6s0dn4 x1hnptsi xid9utz xeuugli x193iq5w xbixft xkrqix3 x5638nf x13qnu6 x9v5kkp x19rmrnh x1bqaal",
|
|
625
634
|
onClick: (e) => {
|
|
@@ -627,65 +636,65 @@ function oe({ backLabel: e, backHref: t, onBack: n, actions: r, showNavigation:
|
|
|
627
636
|
let t = e.metaKey || e.ctrlKey, r = e.shiftKey || e.altKey;
|
|
628
637
|
t || r || (e.preventDefault(), n());
|
|
629
638
|
},
|
|
630
|
-
children: [/* @__PURE__ */
|
|
639
|
+
children: [/* @__PURE__ */ S(w, {
|
|
631
640
|
size: 16,
|
|
632
641
|
"aria-hidden": !0,
|
|
633
642
|
className: "x2lah0s"
|
|
634
|
-
}), /* @__PURE__ */
|
|
643
|
+
}), /* @__PURE__ */ S("span", {
|
|
635
644
|
className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
|
|
636
645
|
children: e
|
|
637
646
|
})]
|
|
638
647
|
})
|
|
639
648
|
});
|
|
640
649
|
}
|
|
641
|
-
function
|
|
642
|
-
return /* @__PURE__ */
|
|
650
|
+
function ue({ children: e }) {
|
|
651
|
+
return /* @__PURE__ */ S(K, { children: /* @__PURE__ */ S("div", {
|
|
643
652
|
className: "x78zum5 x1a02dak x1cy8zhl xdz4d12 xeuugli",
|
|
644
653
|
children: e
|
|
645
654
|
}) });
|
|
646
655
|
}
|
|
647
|
-
function
|
|
648
|
-
return /* @__PURE__ */
|
|
656
|
+
function de({ children: e }) {
|
|
657
|
+
return /* @__PURE__ */ S("div", {
|
|
649
658
|
className: "x78zum5 xdt5ytf x1ewej1i x1iyjqo2 xdz4d12 xeuugli",
|
|
650
659
|
children: e
|
|
651
660
|
});
|
|
652
661
|
}
|
|
653
|
-
function
|
|
654
|
-
return /* @__PURE__ */
|
|
662
|
+
function fe({ title: e, description: t, icon: n, titleRef: r }) {
|
|
663
|
+
return /* @__PURE__ */ C("header", {
|
|
655
664
|
className: "xrvj5dj x1n8ia3y xeuugli",
|
|
656
|
-
children: [/* @__PURE__ */
|
|
665
|
+
children: [/* @__PURE__ */ C("div", {
|
|
657
666
|
className: "x78zum5 x6s0dn4 x1n8ia3y xeuugli",
|
|
658
|
-
children: [n != null && /* @__PURE__ */
|
|
667
|
+
children: [n != null && /* @__PURE__ */ S("span", {
|
|
659
668
|
"aria-hidden": !0,
|
|
660
669
|
className: "x3nfvp2 x6s0dn4 x2lah0s",
|
|
661
670
|
children: n
|
|
662
|
-
}), /* @__PURE__ */
|
|
671
|
+
}), /* @__PURE__ */ S(o, {
|
|
663
672
|
ref: r,
|
|
664
673
|
tabIndex: -1,
|
|
665
674
|
className: "xeuugli x1t137rt",
|
|
666
675
|
children: e
|
|
667
676
|
})]
|
|
668
|
-
}), t != null && /* @__PURE__ */
|
|
677
|
+
}), t != null && /* @__PURE__ */ S(a, { children: t })]
|
|
669
678
|
});
|
|
670
679
|
}
|
|
671
|
-
function
|
|
672
|
-
return /* @__PURE__ */
|
|
680
|
+
function pe({ children: e, label: t = "Properties" }) {
|
|
681
|
+
return /* @__PURE__ */ S("aside", {
|
|
673
682
|
"aria-label": t,
|
|
674
683
|
className: "x78zum5 xdt5ytf x1irul0l x1iyjqo2 x1j825kq xeuugli",
|
|
675
684
|
children: e
|
|
676
685
|
});
|
|
677
686
|
}
|
|
678
|
-
var
|
|
679
|
-
Root:
|
|
680
|
-
Toolbar:
|
|
681
|
-
Body:
|
|
682
|
-
Content:
|
|
683
|
-
Header:
|
|
684
|
-
Aside:
|
|
687
|
+
var $ = {
|
|
688
|
+
Root: ce,
|
|
689
|
+
Toolbar: le,
|
|
690
|
+
Body: ue,
|
|
691
|
+
Content: de,
|
|
692
|
+
Header: fe,
|
|
693
|
+
Aside: pe
|
|
685
694
|
};
|
|
686
695
|
// packages/layout/src/resizable.tsx
|
|
687
|
-
function
|
|
688
|
-
return /* @__PURE__ */
|
|
696
|
+
function me({ orientation: e = "horizontal", initialSizes: t, onSizesChange: n, disabled: r, ref: i, ...a }) {
|
|
697
|
+
return /* @__PURE__ */ S(ee, {
|
|
689
698
|
orientation: e,
|
|
690
699
|
defaultLayout: t,
|
|
691
700
|
onLayoutChanged: (e, t) => {
|
|
@@ -697,29 +706,29 @@ function de({ orientation: e = "horizontal", initialSizes: t, onSizesChange: n,
|
|
|
697
706
|
coarse: 44,
|
|
698
707
|
fine: 12
|
|
699
708
|
},
|
|
700
|
-
...
|
|
709
|
+
...f({ className: "xeuugli x2lwn1j xh8yej3 x5yr21d" }, a)
|
|
701
710
|
});
|
|
702
711
|
}
|
|
703
|
-
function
|
|
704
|
-
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, {
|
|
705
714
|
id: e,
|
|
706
715
|
defaultSize: t === void 0 ? void 0 : `${t}%`,
|
|
707
716
|
minSize: `${n}%`,
|
|
708
717
|
maxSize: `${r}%`,
|
|
709
718
|
collapsible: i,
|
|
710
719
|
elementRef: a,
|
|
711
|
-
...
|
|
720
|
+
...f({ className: "xeuugli x2lwn1j xysyzu8" }, o)
|
|
712
721
|
});
|
|
713
722
|
}
|
|
714
|
-
function
|
|
715
|
-
return /* @__PURE__ */
|
|
723
|
+
function ge({ ref: e, ...t }) {
|
|
724
|
+
return /* @__PURE__ */ S(O, {
|
|
716
725
|
elementRef: e,
|
|
717
|
-
...
|
|
726
|
+
...f({ className: "x1fa40ue x1i1rx1s xgc0pbm xir5lan xfaai28 x1rbdpqn x8wp5i9 x13qnu6 x9v5kkp x19rmrnh x13iak60" }, t)
|
|
718
727
|
});
|
|
719
728
|
}
|
|
720
|
-
var
|
|
721
|
-
Root:
|
|
722
|
-
Pane:
|
|
723
|
-
Handle:
|
|
729
|
+
var _e = {
|
|
730
|
+
Root: me,
|
|
731
|
+
Pane: he,
|
|
732
|
+
Handle: ge
|
|
724
733
|
};
|
|
725
|
-
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 };
|