@mechane-ai/elements 0.20.0 → 0.20.1
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 +4 -1
- 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 +140 -139
- 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 +14 -0
- package/dist/layout.js +196 -194
- 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/foundations/src/use-scroll-tab-index.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
2
|
import { C as n, O as r, T as i, i as a, n as o, w as s } from "./src-qU5Z5LRH.js";
|
|
3
3
|
import { t as c } from "./style-composition-uYlczSsB.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
4
|
+
import { t as l } from "./use-scroll-tab-index-Dxpdh4W7.js";
|
|
5
|
+
import { Button as u } from "@base-ui/react/button";
|
|
6
|
+
import { mergeProps as d } from "@base-ui/react/merge-props";
|
|
7
|
+
import * as f from "@stylexjs/stylex";
|
|
8
|
+
import { Children as p, createContext as m, useContext as h, useEffect as g, useId as _, useRef as v, useState as y } from "react";
|
|
9
|
+
import { Fragment as b, jsx as x, jsxs as S } from "react/jsx-runtime";
|
|
10
|
+
import { ArrowLeft as C, PanelLeft as w, X as T } from "lucide-react";
|
|
11
|
+
import { Group as E, Panel as D, Separator as ee } from "react-resizable-panels";
|
|
11
12
|
// packages/layout/src/frame.stylex.ts
|
|
12
|
-
var
|
|
13
|
+
var O = {
|
|
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
|
+
}, k = m(null), A = {
|
|
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: A.inlineFooter,
|
|
56
|
+
navigation: A.navigationFooter
|
|
56
57
|
};
|
|
57
58
|
function j({ header: e, navigationHeader: t, footer: n, close: r, children: i }) {
|
|
58
|
-
return /* @__PURE__ */ b
|
|
59
|
-
/* @__PURE__ */
|
|
59
|
+
return /* @__PURE__ */ S(b, { children: [
|
|
60
|
+
/* @__PURE__ */ S("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__ */ x("div", {
|
|
65
66
|
className: "x78zum5 x6s0dn4 x98rzlu xeuugli",
|
|
66
67
|
children: e
|
|
67
68
|
}), r]
|
|
68
69
|
}),
|
|
69
70
|
t,
|
|
70
|
-
/* @__PURE__ */
|
|
71
|
+
/* @__PURE__ */ x("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__ */ x("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 M() {
|
|
84
|
+
return /* @__PURE__ */ x("div", {
|
|
85
85
|
className: "x78zum5 x6s0dn4 xl56j7k x14j3e4g x2lah0s",
|
|
86
|
-
children: /* @__PURE__ */
|
|
87
|
-
render: /* @__PURE__ */
|
|
86
|
+
children: /* @__PURE__ */ x(e.Close, {
|
|
87
|
+
render: /* @__PURE__ */ x(s, {
|
|
88
88
|
variant: "ghost",
|
|
89
89
|
"aria-label": "Close navigation"
|
|
90
90
|
}),
|
|
91
|
-
children: /* @__PURE__ */
|
|
91
|
+
children: /* @__PURE__ */ x(T, {
|
|
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 N({ children: e, label: t = "Main" }) {
|
|
99
|
+
let n = h(k), r = n !== null && !n.isExpanded;
|
|
100
|
+
return /* @__PURE__ */ x("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 P({ children: e, label: t }) {
|
|
110
|
+
let n = h(k), r = n !== null && !n.isExpanded, i = _();
|
|
111
|
+
return /* @__PURE__ */ S("section", {
|
|
112
112
|
"aria-labelledby": i,
|
|
113
113
|
className: "xn9t2bk",
|
|
114
|
-
children: [/* @__PURE__ */
|
|
114
|
+
children: [/* @__PURE__ */ x("div", {
|
|
115
115
|
id: i,
|
|
116
116
|
...{
|
|
117
117
|
0: { className: "xeuugli xn9t2bk xksvo5r x153jb6y x1hz01jw xy8obcc xas2l8k xk4h15q xj0a0fe" },
|
|
@@ -121,14 +121,14 @@ function N({ children: e, label: t }) {
|
|
|
121
121
|
}), e]
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
|
-
function
|
|
125
|
-
let
|
|
126
|
-
return /* @__PURE__ */
|
|
124
|
+
function F({ children: e, icon: t, isSelected: n = !1, shouldCloseOnActivate: r = !0, onClick: i, className: a, style: o, ...s }) {
|
|
125
|
+
let l = h(k), d = _(), f = l !== null && !l.isExpanded;
|
|
126
|
+
return /* @__PURE__ */ x("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__ */ S(u, {
|
|
132
132
|
...s,
|
|
133
133
|
...c({
|
|
134
134
|
className: a,
|
|
@@ -142,13 +142,13 @@ function P({ children: e, icon: t, isSelected: n = !1, shouldCloseOnActivate: r
|
|
|
142
142
|
"aria-labelledby": s["aria-labelledby"] ?? (s["aria-label"] === void 0 ? d : 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 && l !== null && r && l.onNavigate();
|
|
146
146
|
},
|
|
147
|
-
children: [t != null && /* @__PURE__ */
|
|
147
|
+
children: [t != null && /* @__PURE__ */ x("span", {
|
|
148
148
|
"aria-hidden": !0,
|
|
149
149
|
className: "x3nfvp2 x6s0dn4 xl56j7k xtwnzbg x18utl2x x2lah0s",
|
|
150
150
|
children: t
|
|
151
|
-
}), /* @__PURE__ */
|
|
151
|
+
}), /* @__PURE__ */ x("span", {
|
|
152
152
|
id: d,
|
|
153
153
|
...{
|
|
154
154
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
@@ -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 I({ children: e, icon: t, isSelected: n = !1, onClick: r, className: i, style: a, ...o }) {
|
|
163
|
+
let s = h(k), c = _(), 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__ */ S("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__ */ x("span", {
|
|
185
185
|
"aria-hidden": !0,
|
|
186
186
|
className: "x3nfvp2 x6s0dn4 xl56j7k xtwnzbg x18utl2x x2lah0s",
|
|
187
187
|
children: t
|
|
188
|
-
}), /* @__PURE__ */
|
|
188
|
+
}), /* @__PURE__ */ x("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 L({ children: e, shouldGrow: t = !1 }) {
|
|
199
|
+
let n = h(k), r = n !== null && !n.isExpanded;
|
|
200
|
+
return /* @__PURE__ */ x("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 R({ children: e, layout: t = "inline" }) {
|
|
211
|
+
let n = h(k), r = n !== null && !n.isExpanded;
|
|
212
|
+
return /* @__PURE__ */ x("div", {
|
|
213
|
+
...f.props(A.footer, r && A.collapsedFooter, te[t]),
|
|
214
214
|
children: e
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
|
-
function
|
|
218
|
-
let t =
|
|
219
|
-
return t === null ? null : /* @__PURE__ */ b
|
|
217
|
+
function z() {
|
|
218
|
+
let t = h(k);
|
|
219
|
+
return t === null ? null : /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("div", {
|
|
220
220
|
className: "x9f619 x6s0dn4 xl56j7k x2lah0s x14j3e4g xs1s249 x32b0ac xelkwwr x78zum5 x1ykma7f",
|
|
221
|
-
children: /* @__PURE__ */
|
|
221
|
+
children: /* @__PURE__ */ x(s, {
|
|
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__ */ x(w, {
|
|
229
229
|
size: 16,
|
|
230
230
|
"aria-hidden": !0
|
|
231
231
|
})
|
|
232
232
|
})
|
|
233
|
-
}), /* @__PURE__ */
|
|
233
|
+
}), /* @__PURE__ */ x("div", {
|
|
234
234
|
className: "x9f619 x6s0dn4 xl56j7k x2lah0s x14j3e4g xs1s249 x32b0ac xelkwwr x1s85apg x1rhi5y4",
|
|
235
|
-
children: /* @__PURE__ */
|
|
235
|
+
children: /* @__PURE__ */ x(e.Trigger, {
|
|
236
236
|
ref: t.mobileNavigationToggleRef,
|
|
237
237
|
handle: t.drawerHandle,
|
|
238
|
-
render: /* @__PURE__ */
|
|
238
|
+
render: /* @__PURE__ */ x(s, {
|
|
239
239
|
variant: "ghost",
|
|
240
240
|
"aria-label": "Open navigation"
|
|
241
241
|
}),
|
|
242
|
-
children: /* @__PURE__ */
|
|
242
|
+
children: /* @__PURE__ */ x(w, {
|
|
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 B = m(!1), V = {
|
|
251
251
|
mobileSelected: {
|
|
252
252
|
kWkggS: "x1r7kqkb",
|
|
253
253
|
$$css: !0
|
|
@@ -277,9 +277,9 @@ var z = p(!1), B = {
|
|
|
277
277
|
$$css: !0
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
|
-
function
|
|
281
|
-
let c =
|
|
282
|
-
function
|
|
280
|
+
function H({ label: e, links: a, action: o }) {
|
|
281
|
+
let c = h(B), l = h(k);
|
|
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();
|
|
@@ -287,105 +287,105 @@ function V({ label: e, links: a, action: o }) {
|
|
|
287
287
|
let p = (e) => {
|
|
288
288
|
o?.onClick(e), e.defaultPrevented || l?.onNavigate();
|
|
289
289
|
};
|
|
290
|
-
return c ? /* @__PURE__ */
|
|
290
|
+
return c ? /* @__PURE__ */ S("div", {
|
|
291
291
|
className: "x78zum5 xdt5ytf x1qjc9v5 x2lah0s xeuugli",
|
|
292
|
-
children: [/* @__PURE__ */
|
|
292
|
+
children: [/* @__PURE__ */ x("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__ */ S("a", {
|
|
296
|
+
...d(f.props(r.base, r.button, V.mobileLink, V.rounded, n && V.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__ */ x("span", {
|
|
300
300
|
"aria-hidden": !0,
|
|
301
301
|
className: "x3nfvp2 x2lah0s xtwnzbg x18utl2x",
|
|
302
302
|
children: t
|
|
303
|
-
}), /* @__PURE__ */
|
|
303
|
+
}), /* @__PURE__ */ x("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__ */ x("div", {
|
|
309
309
|
className: "xrvj5dj x14w6jbu xngumbj xso031l x1q0q8m5 x1qndepd",
|
|
310
|
-
children: /* @__PURE__ */
|
|
310
|
+
children: /* @__PURE__ */ S(n, {
|
|
311
311
|
variant: "ghost",
|
|
312
312
|
onClick: p,
|
|
313
|
-
children: [/* @__PURE__ */
|
|
313
|
+
children: [/* @__PURE__ */ x("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__ */ x(t.Provider, { children: /* @__PURE__ */ S("div", {
|
|
321
321
|
className: "x78zum5 xdt5ytf x1qjc9v5 x2lah0s xeuugli",
|
|
322
|
-
children: [/* @__PURE__ */
|
|
322
|
+
children: [/* @__PURE__ */ x("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__ */ x("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__ */ S(t.Root, { children: [/* @__PURE__ */ x(t.Trigger, {
|
|
331
|
+
render: /* @__PURE__ */ x(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__ */ x(t.Portal, { children: /* @__PURE__ */ x(t.Positioner, {
|
|
339
339
|
side: "right",
|
|
340
|
-
children: /* @__PURE__ */
|
|
340
|
+
children: /* @__PURE__ */ x(t.Popup, { children: e })
|
|
341
341
|
}) })] })
|
|
342
342
|
}, a.href))
|
|
343
|
-
}), o !== void 0 && /* @__PURE__ */ b
|
|
343
|
+
}), o !== void 0 && /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("hr", { className: "xc342km x178xt8z x13fuv20 xhjagg4 xv06hpe xn92wy8" }), /* @__PURE__ */ x("div", {
|
|
344
344
|
className: "x1n2onr6 x78zum5 x6s0dn4 xl56j7k x1oec0jp",
|
|
345
|
-
children: /* @__PURE__ */
|
|
346
|
-
render: /* @__PURE__ */
|
|
345
|
+
children: /* @__PURE__ */ S(t.Root, { children: [/* @__PURE__ */ x(t.Trigger, {
|
|
346
|
+
render: /* @__PURE__ */ x(s, {
|
|
347
347
|
variant: "ghost",
|
|
348
348
|
"aria-label": o.label
|
|
349
349
|
}),
|
|
350
350
|
onClick: p,
|
|
351
351
|
children: o.icon
|
|
352
|
-
}), /* @__PURE__ */
|
|
352
|
+
}), /* @__PURE__ */ x(t.Portal, { children: /* @__PURE__ */ x(t.Positioner, {
|
|
353
353
|
side: "right",
|
|
354
|
-
children: /* @__PURE__ */
|
|
354
|
+
children: /* @__PURE__ */ x(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 U = { 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 W({ rail: t, sidebarHeader: n, sidebar: r, footer: i, children: a, mainId: o = "main", shouldFocus: s = !1 }) {
|
|
366
|
+
let c = t != null, [l, u] = y(!0), [d, f] = y(!1), p = s || c && !l, [m] = y(() => e.createHandle()), h = _(), b = v(null), C = v(null), w = v(null), T = v(!1);
|
|
367
|
+
return g(() => {
|
|
368
|
+
let e = globalThis.matchMedia(O.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__ */ S(k.Provider, {
|
|
374
374
|
value: {
|
|
375
375
|
isExpanded: l,
|
|
376
|
-
sidebarId:
|
|
376
|
+
sidebarId: h,
|
|
377
377
|
drawerHandle: m,
|
|
378
|
-
navigationToggleRef:
|
|
379
|
-
mobileNavigationToggleRef:
|
|
378
|
+
navigationToggleRef: b,
|
|
379
|
+
mobileNavigationToggleRef: C,
|
|
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__ */ S("div", {
|
|
386
386
|
className: "x9f619 x1ov3xa9 x78zum5 xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
387
387
|
children: [
|
|
388
|
-
c && /* @__PURE__ */
|
|
388
|
+
c && /* @__PURE__ */ x("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__ */ x("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__ */ x(j, {
|
|
411
411
|
header: n,
|
|
412
412
|
footer: i,
|
|
413
413
|
children: r
|
|
414
414
|
})
|
|
415
415
|
}),
|
|
416
|
-
/* @__PURE__ */
|
|
416
|
+
/* @__PURE__ */ x("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__ */ x(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__ */ S(e.Portal, { children: [/* @__PURE__ */ x(e.Backdrop, {}), /* @__PURE__ */ x(e.Viewport, { children: /* @__PURE__ */ S(e.Popup, {
|
|
428
|
+
ref: w,
|
|
429
|
+
xstyle: U.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(O.sidebarDesktopQuery).matches ? b.current : C.current;
|
|
441
441
|
},
|
|
442
|
-
children: [/* @__PURE__ */
|
|
442
|
+
children: [/* @__PURE__ */ x(e.Title, {
|
|
443
443
|
isVisuallyHidden: !0,
|
|
444
444
|
children: "Navigation"
|
|
445
|
-
}), /* @__PURE__ */
|
|
445
|
+
}), /* @__PURE__ */ x(j, {
|
|
446
446
|
header: n,
|
|
447
|
-
navigationHeader: c && /* @__PURE__ */
|
|
447
|
+
navigationHeader: c && /* @__PURE__ */ x(B.Provider, {
|
|
448
448
|
value: !0,
|
|
449
449
|
children: t
|
|
450
450
|
}),
|
|
451
451
|
footer: i,
|
|
452
|
-
close: /* @__PURE__ */
|
|
452
|
+
close: /* @__PURE__ */ x(M, {}),
|
|
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 G({ children: e }) {
|
|
461
|
+
return /* @__PURE__ */ x("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 K({ children: e }) {
|
|
468
|
+
return /* @__PURE__ */ x("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__ */ x("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 q({ header: e, children: t, inspector: n }) {
|
|
480
|
+
return /* @__PURE__ */ S("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__ */ x("div", {
|
|
483
483
|
className: "xeuugli x2lah0s x1ydxw8w xnx3t7k xso031l x1q0q8m5 x1qndepd",
|
|
484
484
|
children: e
|
|
485
|
-
}), /* @__PURE__ */
|
|
485
|
+
}), /* @__PURE__ */ S("div", {
|
|
486
486
|
className: "x78zum5 x98rzlu xeuugli x2lwn1j x7giv3",
|
|
487
|
-
children: [/* @__PURE__ */
|
|
487
|
+
children: [/* @__PURE__ */ x("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__ */ x("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 ne({ label: e, children: t, isFlush: n = !1, scrollRestorationId: r }) {
|
|
502
|
+
let i = l();
|
|
503
|
+
return /* @__PURE__ */ x("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 J({ children: e }) {
|
|
517
|
+
return /* @__PURE__ */ x("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 Y({ children: e }) {
|
|
524
|
+
return /* @__PURE__ */ x("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 X({ isActive: e, children: t }) {
|
|
530
|
+
return /* @__PURE__ */ x("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 Z = {
|
|
541
|
+
Root: Y,
|
|
542
|
+
Panel: X
|
|
543
|
+
}, re = { 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 = p.toArray(e).length > 0, s = p.toArray(t).length > 0, c = p.toArray(i).length > 0, l = p.toArray(a).length > 0;
|
|
550
|
+
return p.toArray([
|
|
549
551
|
e,
|
|
550
552
|
t,
|
|
551
553
|
i,
|
|
552
554
|
a
|
|
553
|
-
]).length === 0 ? null : /* @__PURE__ */
|
|
555
|
+
]).length === 0 ? null : /* @__PURE__ */ S("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__ */ x("div", {
|
|
557
559
|
className: "x78zum5 x6s0dn4 xyibt8p x2lah0s",
|
|
558
560
|
children: a
|
|
559
|
-
}) : r && /* @__PURE__ */
|
|
560
|
-
o && /* @__PURE__ */
|
|
561
|
+
}) : r && /* @__PURE__ */ x(z, {}),
|
|
562
|
+
o && /* @__PURE__ */ x(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__ */ x("span", {
|
|
565
567
|
className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
|
|
566
568
|
children: e
|
|
567
569
|
})
|
|
568
570
|
}),
|
|
569
|
-
c && /* @__PURE__ */
|
|
571
|
+
c && /* @__PURE__ */ x("div", {
|
|
570
572
|
className: "x78zum5 x6s0dn4 xeuugli x2lah0s",
|
|
571
573
|
children: i
|
|
572
574
|
}),
|
|
573
|
-
s && /* @__PURE__ */
|
|
575
|
+
s && /* @__PURE__ */ x("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 ie({ icon: e, children: t, ...r }) {
|
|
581
583
|
let i = e != null;
|
|
582
|
-
return /* @__PURE__ */
|
|
584
|
+
return /* @__PURE__ */ x("div", {
|
|
583
585
|
className: "x9f619 x78zum5 x1qjc9v5 xeuugli",
|
|
584
|
-
children: /* @__PURE__ */
|
|
586
|
+
children: /* @__PURE__ */ S(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: re.action,
|
|
591
|
+
children: [i && /* @__PURE__ */ x("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__ */ x("span", {
|
|
594
596
|
...{
|
|
595
597
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
596
598
|
1: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft xt0psk2 xlllsrz" }
|
|
@@ -601,25 +603,25 @@ 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 ae({ children: e }) {
|
|
607
|
+
return /* @__PURE__ */ x("div", {
|
|
606
608
|
className: "x9f619 x78zum5 xdt5ytf xdz4d12 xeuugli xg7ukam",
|
|
607
609
|
children: e
|
|
608
610
|
});
|
|
609
611
|
}
|
|
610
612
|
// packages/layout/src/record-page.tsx
|
|
611
|
-
function
|
|
612
|
-
return /* @__PURE__ */
|
|
613
|
+
function oe({ children: e }) {
|
|
614
|
+
return /* @__PURE__ */ x("div", {
|
|
613
615
|
className: "x78zum5 xdt5ytf xeuugli xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
614
616
|
children: e
|
|
615
617
|
});
|
|
616
618
|
}
|
|
617
|
-
function
|
|
618
|
-
return /* @__PURE__ */
|
|
619
|
+
function se({ backLabel: e, backHref: t, onBack: n, actions: r, showNavigation: i = !0 }) {
|
|
620
|
+
return /* @__PURE__ */ x(Q, {
|
|
619
621
|
showBreadcrumb: !0,
|
|
620
622
|
showNavigation: i,
|
|
621
623
|
actions: r,
|
|
622
|
-
title: /* @__PURE__ */
|
|
624
|
+
title: /* @__PURE__ */ S("a", {
|
|
623
625
|
href: t,
|
|
624
626
|
className: "x3nfvp2 x6s0dn4 x1hnptsi xid9utz xeuugli x193iq5w xbixft xkrqix3 x5638nf x13qnu6 x9v5kkp x19rmrnh x1bqaal",
|
|
625
627
|
onClick: (e) => {
|
|
@@ -627,65 +629,65 @@ function oe({ backLabel: e, backHref: t, onBack: n, actions: r, showNavigation:
|
|
|
627
629
|
let t = e.metaKey || e.ctrlKey, r = e.shiftKey || e.altKey;
|
|
628
630
|
t || r || (e.preventDefault(), n());
|
|
629
631
|
},
|
|
630
|
-
children: [/* @__PURE__ */
|
|
632
|
+
children: [/* @__PURE__ */ x(C, {
|
|
631
633
|
size: 16,
|
|
632
634
|
"aria-hidden": !0,
|
|
633
635
|
className: "x2lah0s"
|
|
634
|
-
}), /* @__PURE__ */
|
|
636
|
+
}), /* @__PURE__ */ x("span", {
|
|
635
637
|
className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
|
|
636
638
|
children: e
|
|
637
639
|
})]
|
|
638
640
|
})
|
|
639
641
|
});
|
|
640
642
|
}
|
|
641
|
-
function
|
|
642
|
-
return /* @__PURE__ */
|
|
643
|
+
function ce({ children: e }) {
|
|
644
|
+
return /* @__PURE__ */ x(G, { children: /* @__PURE__ */ x("div", {
|
|
643
645
|
className: "x78zum5 x1a02dak x1cy8zhl xdz4d12 xeuugli",
|
|
644
646
|
children: e
|
|
645
647
|
}) });
|
|
646
648
|
}
|
|
647
|
-
function
|
|
648
|
-
return /* @__PURE__ */
|
|
649
|
+
function le({ children: e }) {
|
|
650
|
+
return /* @__PURE__ */ x("div", {
|
|
649
651
|
className: "x78zum5 xdt5ytf x1ewej1i x1iyjqo2 xdz4d12 xeuugli",
|
|
650
652
|
children: e
|
|
651
653
|
});
|
|
652
654
|
}
|
|
653
|
-
function
|
|
654
|
-
return /* @__PURE__ */
|
|
655
|
+
function $({ title: e, description: t, icon: n, titleRef: r }) {
|
|
656
|
+
return /* @__PURE__ */ S("header", {
|
|
655
657
|
className: "xrvj5dj x1n8ia3y xeuugli",
|
|
656
|
-
children: [/* @__PURE__ */
|
|
658
|
+
children: [/* @__PURE__ */ S("div", {
|
|
657
659
|
className: "x78zum5 x6s0dn4 x1n8ia3y xeuugli",
|
|
658
|
-
children: [n != null && /* @__PURE__ */
|
|
660
|
+
children: [n != null && /* @__PURE__ */ x("span", {
|
|
659
661
|
"aria-hidden": !0,
|
|
660
662
|
className: "x3nfvp2 x6s0dn4 x2lah0s",
|
|
661
663
|
children: n
|
|
662
|
-
}), /* @__PURE__ */
|
|
664
|
+
}), /* @__PURE__ */ x(o, {
|
|
663
665
|
ref: r,
|
|
664
666
|
tabIndex: -1,
|
|
665
667
|
className: "xeuugli x1t137rt",
|
|
666
668
|
children: e
|
|
667
669
|
})]
|
|
668
|
-
}), t != null && /* @__PURE__ */
|
|
670
|
+
}), t != null && /* @__PURE__ */ x(a, { children: t })]
|
|
669
671
|
});
|
|
670
672
|
}
|
|
671
|
-
function
|
|
672
|
-
return /* @__PURE__ */
|
|
673
|
+
function ue({ children: e, label: t = "Properties" }) {
|
|
674
|
+
return /* @__PURE__ */ x("aside", {
|
|
673
675
|
"aria-label": t,
|
|
674
676
|
className: "x78zum5 xdt5ytf x1irul0l x1iyjqo2 x1j825kq xeuugli",
|
|
675
677
|
children: e
|
|
676
678
|
});
|
|
677
679
|
}
|
|
678
|
-
var
|
|
679
|
-
Root:
|
|
680
|
-
Toolbar:
|
|
681
|
-
Body:
|
|
682
|
-
Content:
|
|
683
|
-
Header:
|
|
684
|
-
Aside:
|
|
680
|
+
var de = {
|
|
681
|
+
Root: oe,
|
|
682
|
+
Toolbar: se,
|
|
683
|
+
Body: ce,
|
|
684
|
+
Content: le,
|
|
685
|
+
Header: $,
|
|
686
|
+
Aside: ue
|
|
685
687
|
};
|
|
686
688
|
// packages/layout/src/resizable.tsx
|
|
687
|
-
function
|
|
688
|
-
return /* @__PURE__ */
|
|
689
|
+
function fe({ orientation: e = "horizontal", initialSizes: t, onSizesChange: n, disabled: r, ref: i, ...a }) {
|
|
690
|
+
return /* @__PURE__ */ x(E, {
|
|
689
691
|
orientation: e,
|
|
690
692
|
defaultLayout: t,
|
|
691
693
|
onLayoutChanged: (e, t) => {
|
|
@@ -697,29 +699,29 @@ function de({ orientation: e = "horizontal", initialSizes: t, onSizesChange: n,
|
|
|
697
699
|
coarse: 44,
|
|
698
700
|
fine: 12
|
|
699
701
|
},
|
|
700
|
-
...
|
|
702
|
+
...d({ className: "xeuugli x2lwn1j xh8yej3 x5yr21d" }, a)
|
|
701
703
|
});
|
|
702
704
|
}
|
|
703
|
-
function
|
|
704
|
-
return /* @__PURE__ */
|
|
705
|
+
function pe({ id: e, initialSizePercent: t, minimumSizePercent: n = 10, maximumSizePercent: r = 100, canCollapse: i = !1, ref: a, ...o }) {
|
|
706
|
+
return /* @__PURE__ */ x(D, {
|
|
705
707
|
id: e,
|
|
706
708
|
defaultSize: t === void 0 ? void 0 : `${t}%`,
|
|
707
709
|
minSize: `${n}%`,
|
|
708
710
|
maxSize: `${r}%`,
|
|
709
711
|
collapsible: i,
|
|
710
712
|
elementRef: a,
|
|
711
|
-
...
|
|
713
|
+
...d({ className: "xeuugli x2lwn1j xysyzu8" }, o)
|
|
712
714
|
});
|
|
713
715
|
}
|
|
714
|
-
function
|
|
715
|
-
return /* @__PURE__ */
|
|
716
|
+
function me({ ref: e, ...t }) {
|
|
717
|
+
return /* @__PURE__ */ x(ee, {
|
|
716
718
|
elementRef: e,
|
|
717
|
-
...
|
|
719
|
+
...d({ className: "x1fa40ue x1i1rx1s xgc0pbm xir5lan xfaai28 x1rbdpqn x8wp5i9 x13qnu6 x9v5kkp x19rmrnh x13iak60" }, t)
|
|
718
720
|
});
|
|
719
721
|
}
|
|
720
|
-
var
|
|
721
|
-
Root:
|
|
722
|
-
Pane:
|
|
723
|
-
Handle:
|
|
722
|
+
var he = {
|
|
723
|
+
Root: fe,
|
|
724
|
+
Pane: pe,
|
|
725
|
+
Handle: me
|
|
724
726
|
};
|
|
725
|
-
export {
|
|
727
|
+
export { W as AppShell, G as DetailPage, K as FocusPage, N as Navigation, F as NavigationItem, I as NavigationLink, H as NavigationRail, P as NavigationSection, ae as PageContent, Q as PageToolbar, de as RecordPage, he as Resizable, R as SidebarFooter, L as SidebarLabel, ie as ToolbarAction, Z as ViewStack, q as Workbench, J as WorkbenchFooter, ne as WorkbenchScroll };
|