@mechane-ai/elements 0.55.0 → 0.56.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/dist/ai.js +1 -1
- package/dist/{article-DPDk0Xgp.js → article-COShcQPh.js} +1 -1
- package/dist/article.js +1 -1
- package/dist/catalog.json +9 -1
- package/dist/{categorical-values-CGavb4HZ.js → categorical-values-DdZLdWhL.js} +1 -1
- package/dist/charts/cartesian.js +1 -1
- package/dist/charts/comparison.js +1 -1
- package/dist/charts/distribution.js +1 -1
- package/dist/charts/figure.js +12 -12
- package/dist/charts/graph.js +1 -1
- package/dist/charts/hierarchy.js +1 -1
- package/dist/charts/image.js +1 -1
- package/dist/charts/matrix.js +1 -1
- package/dist/charts/plot.js +3 -3
- package/dist/charts/relationship.js +1 -1
- package/dist/charts/text.js +1 -1
- package/dist/charts/timeline.js +1 -1
- package/dist/charts/trend.js +1 -1
- package/dist/charts.js +2 -2
- package/dist/collections.js +1 -1
- package/dist/commands-D0bF2JxV.js +107 -0
- package/dist/{dumbbell-plot-DJOyXW7m.js → dumbbell-plot-BeHhL-01.js} +3 -3
- package/dist/{embedding-map-BSlNwXs2.js → embedding-map-DbETVJXp.js} +3 -3
- package/dist/feedback.js +1 -1
- package/dist/{figure-frame-C2hCrRX4.js → figure-frame-ClYRIRAq.js} +2 -2
- package/dist/{image-grid-D0Xk_KNk.js → image-grid-DB5U7Jtx.js} +2 -2
- package/dist/kits/evaluation.js +4 -4
- package/dist/kits/interpretability.js +8 -8
- package/dist/kits/operations.js +5 -5
- package/dist/kits/research.js +5 -5
- package/dist/kits/training.js +4 -4
- package/dist/layout.js +1 -1
- package/dist/mdx.js +2 -2
- package/dist/navigation/commands.js +1 -95
- package/dist/packages/charts/src/timeline/event-strip.d.ts +2 -0
- package/dist/packages/layout/src/app-shell.d.ts +2 -1
- package/dist/packages/layout/src/devtools-bar.d.ts +3 -0
- package/dist/packages/layout/src/index.d.ts +1 -0
- package/dist/packages/layout/src/shell-bottom-bar.d.ts +4 -0
- package/dist/packages/navigation/src/commands/command.d.ts +1 -0
- package/dist/{plot-layout-PBlcYu9p.js → plot-layout-B-b6tioh.js} +1 -1
- package/dist/{plot-surface-CdqANDC1.js → plot-surface-BlR44uTL.js} +1 -1
- package/dist/{reference-lines-Cdrs0B3S.js → reference-lines-BDfsv8dy.js} +1 -1
- package/dist/{scene-CcJb3zcs.js → scene-CY05-A1k.js} +4 -4
- package/dist/scene.js +1 -1
- package/dist/{slope-chart-CagCaJYG.js → slope-chart-DTyF1lNG.js} +4 -4
- package/dist/{src-LEom7AhF.js → src-4qgpiWvP.js} +1 -1
- package/dist/{src-DhWMspwr.js → src-BqY5rsqi.js} +362 -284
- package/dist/{src-Bg4eyJZO.js → src-C-Wg9m9H.js} +2 -1
- package/dist/styles2.css +33 -1
- package/dist/{time-series-g4trCNxp.js → time-series-CoAtNizi.js} +6 -6
- package/dist/{token-heatmap-CgJNUXJH.js → token-heatmap-o_9l6vaq.js} +2 -2
- package/dist/{token-predictions-BMVVfAL3.js → token-predictions-DaAztlOS.js} +3 -3
- package/dist/{tree-diagram-BHLewHQl.js → tree-diagram-BDj4TGXb.js} +3 -3
- package/dist/{treemap-n3Er3k6e.js → treemap-DUSFlCPK.js} +4 -4
- package/dist/{violin-plot-qCMn4e1I.js → violin-plot-ULdC_dcY.js} +3 -3
- package/dist/waterfall-BjUXqaWu.js +615 -0
- package/package.json +1 -1
- package/skills/use-elements/references/workspace.md +6 -0
- package/dist/waterfall-ChExGsn8.js +0 -605
|
@@ -3,22 +3,23 @@ import { t as c } from "./use-scroll-tab-index-Dxpdh4W7.js";
|
|
|
3
3
|
import { a as l, i as u } from "./src-Ci8DeY8J.js";
|
|
4
4
|
import { n as d } from "./accessibility-P89UG9-r.js";
|
|
5
5
|
import { a as f, i as p, t as m } from "./src-na2DdkKI.js";
|
|
6
|
-
import { r as h } from "./
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
6
|
+
import { r as h } from "./commands-D0bF2JxV.js";
|
|
7
|
+
import { r as g } from "./control-styles-D3q_Qyxi.js";
|
|
8
|
+
import * as _ from "@stylexjs/stylex";
|
|
9
|
+
import { Button as v } from "@ui-sdk/react/button";
|
|
10
|
+
import { createParts as y, mergeProps as b } from "@ui-sdk/react/primitive";
|
|
11
|
+
import { Children as x, createContext as S, useContext as C, useEffect as w, useId as T, useLayoutEffect as E, useRef as D, useState as O } from "react";
|
|
12
|
+
import { definePrimitive as k } from "@ui-sdk/core";
|
|
13
|
+
import { Fragment as A, jsx as j, jsxs as M } from "react/jsx-runtime";
|
|
14
|
+
import { ArrowLeft as ee, PanelLeft as N, X as te } from "lucide-react";
|
|
14
15
|
import { Resizable as ne, ResizableHandle as re, ResizablePanel as ie } from "@ui-sdk/react/resizable";
|
|
15
16
|
// packages/layout/src/page-content.tsx
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
let t =
|
|
19
|
-
return /* @__PURE__ */
|
|
17
|
+
var P = S(!1);
|
|
18
|
+
function F({ children: e }) {
|
|
19
|
+
let t = C(P);
|
|
20
|
+
return /* @__PURE__ */ j(P, {
|
|
20
21
|
value: !0,
|
|
21
|
-
children: /* @__PURE__ */
|
|
22
|
+
children: /* @__PURE__ */ j("div", {
|
|
22
23
|
...{
|
|
23
24
|
0: { className: "x9f619 x78zum5 xdt5ytf xdz4d12 xeuugli xg7ukam" },
|
|
24
25
|
1: { className: "x9f619 x78zum5 xdt5ytf xdz4d12 xeuugli x1717udv" }
|
|
@@ -28,19 +29,19 @@ function N({ children: e }) {
|
|
|
28
29
|
});
|
|
29
30
|
}
|
|
30
31
|
// packages/layout/src/page-context.tsx
|
|
31
|
-
var ae =
|
|
32
|
+
var ae = k({
|
|
32
33
|
name: "page-title",
|
|
33
34
|
state: () => ({}),
|
|
34
35
|
api: () => ({}),
|
|
35
36
|
agent: { actions: [] },
|
|
36
37
|
slots: (e) => ({ root: e({}) })
|
|
37
|
-
}),
|
|
38
|
+
}), I = y(ae, { root: "h1" }).Root;
|
|
38
39
|
function oe({ section: e }) {
|
|
39
40
|
if (e === null) return !1;
|
|
40
41
|
let t = e.closest("[data-page-viewport]"), n = Math.max(0, t?.getBoundingClientRect().top ?? 0), r = e.getBoundingClientRect();
|
|
41
42
|
return r.top <= n && r.bottom > n;
|
|
42
43
|
}
|
|
43
|
-
var se =
|
|
44
|
+
var se = k({
|
|
44
45
|
name: "page-section",
|
|
45
46
|
state: () => ({ section: null }),
|
|
46
47
|
api: () => ({}),
|
|
@@ -51,14 +52,14 @@ var se = D({
|
|
|
51
52
|
slots: (e) => ({ root: e({ bind(e, { store: t }) {
|
|
52
53
|
t.set({ section: e });
|
|
53
54
|
} }) })
|
|
54
|
-
}), ce =
|
|
55
|
+
}), ce = y(se, { root: "section" }).Root, L = {
|
|
55
56
|
sidebarMobile: "@media (max-width:800px)",
|
|
56
57
|
sidebarDesktopQuery: "(min-width:801px)",
|
|
57
58
|
sidebarCoarse: "@media (min-width:801px) and (pointer: coarse)",
|
|
58
59
|
detailMobile: "@media (max-width:720px)",
|
|
59
60
|
toolbarCompact: "@container toolbar (max-width:600px)",
|
|
60
61
|
workbenchCompact: "@container workbench (max-width:860px)"
|
|
61
|
-
},
|
|
62
|
+
}, R = S(null), z = {
|
|
62
63
|
header: {
|
|
63
64
|
kB7OPa: "x9f619",
|
|
64
65
|
kVAEAm: "x1n2onr6",
|
|
@@ -123,15 +124,15 @@ var se = D({
|
|
|
123
124
|
$$css: !0
|
|
124
125
|
}
|
|
125
126
|
}, le = {
|
|
126
|
-
inline:
|
|
127
|
-
navigation:
|
|
127
|
+
inline: z.inlineFooter,
|
|
128
|
+
navigation: z.navigationFooter
|
|
128
129
|
};
|
|
129
|
-
function
|
|
130
|
-
let a =
|
|
131
|
-
return /* @__PURE__ */ A
|
|
132
|
-
/* @__PURE__ */
|
|
133
|
-
...
|
|
134
|
-
children: [/* @__PURE__ */
|
|
130
|
+
function B({ header: e, navigationHeader: t, footer: n, close: r, children: i }) {
|
|
131
|
+
let a = C(R), o = a !== null && !a.isExpanded, c = e != null;
|
|
132
|
+
return /* @__PURE__ */ M(A, { children: [
|
|
133
|
+
/* @__PURE__ */ M("div", {
|
|
134
|
+
..._.props(z.header, s.blockEnd, !c && z.emptyHeader),
|
|
135
|
+
children: [/* @__PURE__ */ j("div", {
|
|
135
136
|
...{
|
|
136
137
|
0: { className: "x78zum5 x6s0dn4 x98rzlu xeuugli x1dc62k6" },
|
|
137
138
|
1: { className: "x78zum5 x6s0dn4 x98rzlu xeuugli xl56j7k x1l31gyv xnjsko4 x7qzpmf" }
|
|
@@ -140,27 +141,27 @@ function R({ header: e, navigationHeader: t, footer: n, close: r, children: i })
|
|
|
140
141
|
}), r]
|
|
141
142
|
}),
|
|
142
143
|
t,
|
|
143
|
-
/* @__PURE__ */
|
|
144
|
+
/* @__PURE__ */ j("div", {
|
|
144
145
|
role: "region",
|
|
145
146
|
"aria-label": "Navigation links",
|
|
146
147
|
className: "x98rzlu x2lwn1j x1odjw0f xish69e x1t137rt x7d1sxj x13qnu6 x9v5kkp x19rmrnh x1bqaal",
|
|
147
148
|
children: i
|
|
148
149
|
}),
|
|
149
|
-
n != null && /* @__PURE__ */
|
|
150
|
+
n != null && /* @__PURE__ */ j("div", {
|
|
150
151
|
className: "x2lah0s xeuugli xr1yuqi xpvm0e4 x153jb6y",
|
|
151
152
|
children: n
|
|
152
153
|
})
|
|
153
154
|
] });
|
|
154
155
|
}
|
|
155
156
|
function ue() {
|
|
156
|
-
return /* @__PURE__ */
|
|
157
|
+
return /* @__PURE__ */ j("div", {
|
|
157
158
|
className: "x78zum5 x6s0dn4 xl56j7k x14j3e4g x2lah0s",
|
|
158
|
-
children: /* @__PURE__ */
|
|
159
|
-
render: /* @__PURE__ */
|
|
159
|
+
children: /* @__PURE__ */ j(f.Close, {
|
|
160
|
+
render: /* @__PURE__ */ j(e, {
|
|
160
161
|
variant: "ghost",
|
|
161
162
|
"aria-label": "Close navigation"
|
|
162
163
|
}),
|
|
163
|
-
children: /* @__PURE__ */
|
|
164
|
+
children: /* @__PURE__ */ j(te, {
|
|
164
165
|
size: 16,
|
|
165
166
|
"aria-hidden": !0
|
|
166
167
|
})
|
|
@@ -168,8 +169,8 @@ function ue() {
|
|
|
168
169
|
});
|
|
169
170
|
}
|
|
170
171
|
function de({ children: e, label: t = "Main" }) {
|
|
171
|
-
let n =
|
|
172
|
-
return /* @__PURE__ */
|
|
172
|
+
let n = C(R), r = n !== null && !n.isExpanded;
|
|
173
|
+
return /* @__PURE__ */ j("nav", {
|
|
173
174
|
"aria-label": t,
|
|
174
175
|
...{
|
|
175
176
|
0: { className: "x78zum5 xdt5ytf xksvo5r" },
|
|
@@ -179,11 +180,11 @@ function de({ children: e, label: t = "Main" }) {
|
|
|
179
180
|
});
|
|
180
181
|
}
|
|
181
182
|
function fe({ children: e, label: t }) {
|
|
182
|
-
let n =
|
|
183
|
-
return /* @__PURE__ */
|
|
183
|
+
let n = C(R), r = n !== null && !n.isExpanded, i = T();
|
|
184
|
+
return /* @__PURE__ */ M("section", {
|
|
184
185
|
"aria-labelledby": i,
|
|
185
186
|
className: "xeuugli",
|
|
186
|
-
children: [/* @__PURE__ */
|
|
187
|
+
children: [/* @__PURE__ */ j("div", {
|
|
187
188
|
id: i,
|
|
188
189
|
...{
|
|
189
190
|
0: { className: "xeuugli xmblgzg xngumbj xksvo5r x153jb6y x1hz01jw xy8obcc xas2l8k xk4h15q xj0a0fe" },
|
|
@@ -194,13 +195,13 @@ function fe({ children: e, label: t }) {
|
|
|
194
195
|
});
|
|
195
196
|
}
|
|
196
197
|
function pe({ children: e, icon: t, isSelected: n = !1, shouldCloseOnActivate: r = !0, onClick: i, className: a, style: o, ...s }) {
|
|
197
|
-
let c =
|
|
198
|
-
return /* @__PURE__ */
|
|
198
|
+
let c = C(R), l = T(), u = c !== null && !c.isExpanded;
|
|
199
|
+
return /* @__PURE__ */ j("div", {
|
|
199
200
|
...{
|
|
200
201
|
0: { className: "x78zum5 xeuugli x1ok0vyi" },
|
|
201
202
|
1: { className: "x78zum5 xeuugli x1ok0vyi x1r7kqkb" }
|
|
202
203
|
}[!!n | 0],
|
|
203
|
-
children: /* @__PURE__ */
|
|
204
|
+
children: /* @__PURE__ */ M(v, {
|
|
204
205
|
...s,
|
|
205
206
|
...d({
|
|
206
207
|
className: a,
|
|
@@ -216,11 +217,11 @@ function pe({ children: e, icon: t, isSelected: n = !1, shouldCloseOnActivate: r
|
|
|
216
217
|
onClick: (e, t) => {
|
|
217
218
|
i !== void 0 && i(e, t), !e.defaultPrevented && c !== null && r && c.onNavigate();
|
|
218
219
|
},
|
|
219
|
-
children: [t != null && /* @__PURE__ */
|
|
220
|
+
children: [t != null && /* @__PURE__ */ j("span", {
|
|
220
221
|
"aria-hidden": !0,
|
|
221
222
|
className: "x3nfvp2 x6s0dn4 xl56j7k xtwnzbg x18utl2x x2lah0s",
|
|
222
223
|
children: t
|
|
223
|
-
}), /* @__PURE__ */
|
|
224
|
+
}), /* @__PURE__ */ j("span", {
|
|
224
225
|
id: l,
|
|
225
226
|
...{
|
|
226
227
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
@@ -231,14 +232,14 @@ function pe({ children: e, icon: t, isSelected: n = !1, shouldCloseOnActivate: r
|
|
|
231
232
|
})
|
|
232
233
|
});
|
|
233
234
|
}
|
|
234
|
-
function
|
|
235
|
-
let c =
|
|
235
|
+
function me({ children: e, icon: t, isSelected: n = !1, onClick: r, className: a, style: o, ...s }) {
|
|
236
|
+
let c = C(R), l = T(), u = c !== null && !c.isExpanded, d = {
|
|
236
237
|
0: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1nhvcw1 x1hnptsi x1f9pz31 x992rv9 x17tes2r xh8yej3 xeuugli xt970qd xksvo5r" },
|
|
237
238
|
2: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1hnptsi x1f9pz31 x992rv9 x17tes2r xh8yej3 xeuugli xt970qd xksvo5r xl56j7k x1l31gyv" },
|
|
238
239
|
1: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1nhvcw1 x1hnptsi x1f9pz31 x992rv9 x17tes2r xh8yej3 xeuugli xt970qd xksvo5r x1r7kqkb" },
|
|
239
240
|
3: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1hnptsi x1f9pz31 x992rv9 x17tes2r xh8yej3 xeuugli xt970qd xksvo5r xl56j7k x1l31gyv x1r7kqkb" }
|
|
240
241
|
}[!!u << 1 | !!n];
|
|
241
|
-
return /* @__PURE__ */
|
|
242
|
+
return /* @__PURE__ */ M(i, {
|
|
242
243
|
...s,
|
|
243
244
|
"aria-current": n ? "page" : void 0,
|
|
244
245
|
"aria-labelledby": s["aria-labelledby"] ?? (s["aria-label"] === void 0 ? l : void 0),
|
|
@@ -253,11 +254,11 @@ function z({ children: e, icon: t, isSelected: n = !1, onClick: r, className: a,
|
|
|
253
254
|
...d.style,
|
|
254
255
|
...o
|
|
255
256
|
},
|
|
256
|
-
children: [t != null && /* @__PURE__ */
|
|
257
|
+
children: [t != null && /* @__PURE__ */ j("span", {
|
|
257
258
|
"aria-hidden": !0,
|
|
258
259
|
className: "x3nfvp2 x6s0dn4 xl56j7k xtwnzbg x18utl2x x2lah0s",
|
|
259
260
|
children: t
|
|
260
|
-
}), /* @__PURE__ */
|
|
261
|
+
}), /* @__PURE__ */ j("span", {
|
|
261
262
|
id: l,
|
|
262
263
|
...{
|
|
263
264
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
@@ -267,32 +268,32 @@ function z({ children: e, icon: t, isSelected: n = !1, onClick: r, className: a,
|
|
|
267
268
|
})]
|
|
268
269
|
});
|
|
269
270
|
}
|
|
270
|
-
function
|
|
271
|
-
let r =
|
|
272
|
-
return /* @__PURE__ */
|
|
271
|
+
function he({ title: e, subtitle: t, icon: n }) {
|
|
272
|
+
let r = C(R), i = r !== null && !r.isExpanded;
|
|
273
|
+
return /* @__PURE__ */ M("div", {
|
|
273
274
|
className: "x78zum5 x6s0dn4 x1hnptsi xeuugli x98rzlu",
|
|
274
|
-
children: [n != null && /* @__PURE__ */
|
|
275
|
+
children: [n != null && /* @__PURE__ */ j("span", {
|
|
275
276
|
"aria-hidden": !0,
|
|
276
277
|
className: "x3nfvp2 x6s0dn4 xl56j7k xtwnzbg x18utl2x x2lah0s",
|
|
277
278
|
children: n
|
|
278
|
-
}), /* @__PURE__ */
|
|
279
|
+
}), /* @__PURE__ */ M("div", {
|
|
279
280
|
...{
|
|
280
281
|
0: { className: "x78zum5 xdt5ytf xeuugli x1u7k74" },
|
|
281
282
|
1: { className: "xdt5ytf xeuugli x1u7k74 x1s85apg xeod2sa" }
|
|
282
283
|
}[!!i | 0],
|
|
283
|
-
children: [/* @__PURE__ */
|
|
284
|
+
children: [/* @__PURE__ */ j("span", {
|
|
284
285
|
className: "xtqrqnz xk4h15q xbixft xb3r6kr xlyipyv xuxw1ft",
|
|
285
286
|
children: e
|
|
286
|
-
}), t !== void 0 && /* @__PURE__ */
|
|
287
|
+
}), t !== void 0 && /* @__PURE__ */ j("span", {
|
|
287
288
|
className: "xy8obcc x153jb6y xb3r6kr xlyipyv xuxw1ft",
|
|
288
289
|
children: t
|
|
289
290
|
})]
|
|
290
291
|
})]
|
|
291
292
|
});
|
|
292
293
|
}
|
|
293
|
-
function
|
|
294
|
-
let n =
|
|
295
|
-
return /* @__PURE__ */
|
|
294
|
+
function ge({ children: e, shouldGrow: t = !1 }) {
|
|
295
|
+
let n = C(R), r = n !== null && !n.isExpanded;
|
|
296
|
+
return /* @__PURE__ */ j("span", {
|
|
296
297
|
...{
|
|
297
298
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
298
299
|
2: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft x78zum5 x6s0dn4 x1hnptsi x98rzlu" },
|
|
@@ -302,39 +303,39 @@ function me({ children: e, shouldGrow: t = !1 }) {
|
|
|
302
303
|
children: e
|
|
303
304
|
});
|
|
304
305
|
}
|
|
305
|
-
function
|
|
306
|
-
let n =
|
|
307
|
-
return /* @__PURE__ */
|
|
308
|
-
...
|
|
306
|
+
function _e({ children: e, layout: t = "inline" }) {
|
|
307
|
+
let n = C(R), r = n !== null && !n.isExpanded;
|
|
308
|
+
return /* @__PURE__ */ j("div", {
|
|
309
|
+
..._.props(z.footer, s.blockStart, r && z.collapsedFooter, le[t]),
|
|
309
310
|
children: e
|
|
310
311
|
});
|
|
311
312
|
}
|
|
312
|
-
function
|
|
313
|
-
let t =
|
|
314
|
-
return t === null ? null : /* @__PURE__ */ A
|
|
315
|
-
...
|
|
316
|
-
children: /* @__PURE__ */
|
|
313
|
+
function ve() {
|
|
314
|
+
let t = C(R);
|
|
315
|
+
return t === null ? null : /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j("div", {
|
|
316
|
+
..._.props(z.toggleCell, s.inlineEnd, z.desktop),
|
|
317
|
+
children: /* @__PURE__ */ j(e, {
|
|
317
318
|
ref: t.navigationToggleRef,
|
|
318
319
|
variant: "ghost",
|
|
319
320
|
"aria-label": t.isExpanded ? "Collapse navigation" : "Expand navigation",
|
|
320
321
|
"aria-controls": t.sidebarId,
|
|
321
322
|
"aria-expanded": t.isExpanded,
|
|
322
323
|
onClick: t.onToggle,
|
|
323
|
-
children: /* @__PURE__ */
|
|
324
|
+
children: /* @__PURE__ */ j(N, {
|
|
324
325
|
size: 16,
|
|
325
326
|
"aria-hidden": !0
|
|
326
327
|
})
|
|
327
328
|
})
|
|
328
|
-
}), /* @__PURE__ */
|
|
329
|
-
...
|
|
330
|
-
children: /* @__PURE__ */
|
|
329
|
+
}), /* @__PURE__ */ j("div", {
|
|
330
|
+
..._.props(z.toggleCell, s.inlineEnd, z.mobile),
|
|
331
|
+
children: /* @__PURE__ */ j(f.Trigger, {
|
|
331
332
|
ref: t.mobileNavigationToggleRef,
|
|
332
333
|
controller: t.drawerController,
|
|
333
|
-
render: /* @__PURE__ */
|
|
334
|
+
render: /* @__PURE__ */ j(e, {
|
|
334
335
|
variant: "ghost",
|
|
335
336
|
"aria-label": "Open navigation"
|
|
336
337
|
}),
|
|
337
|
-
children: /* @__PURE__ */
|
|
338
|
+
children: /* @__PURE__ */ j(N, {
|
|
338
339
|
size: 16,
|
|
339
340
|
"aria-hidden": !0
|
|
340
341
|
})
|
|
@@ -371,51 +372,51 @@ var V = {
|
|
|
371
372
|
$$css: !0
|
|
372
373
|
}
|
|
373
374
|
};
|
|
374
|
-
function
|
|
375
|
-
let a =
|
|
376
|
-
if (
|
|
375
|
+
function ye({ title: e, actions: t, showBreadcrumb: n = !1, showNavigation: r = !0, leading: i }) {
|
|
376
|
+
let a = x.toArray(e).length > 0, o = x.toArray(t).length > 0, c = x.toArray(i).length > 0;
|
|
377
|
+
if (x.toArray([
|
|
377
378
|
e,
|
|
378
379
|
t,
|
|
379
380
|
i
|
|
380
381
|
]).length === 0) return null;
|
|
381
|
-
let l = n ? "nav" :
|
|
382
|
-
return /* @__PURE__ */
|
|
383
|
-
...
|
|
382
|
+
let l = n ? "nav" : I, u = n ? "div" : "span";
|
|
383
|
+
return /* @__PURE__ */ M("div", {
|
|
384
|
+
..._.props(V.toolbar, s.blockEnd),
|
|
384
385
|
children: [
|
|
385
|
-
c ? /* @__PURE__ */
|
|
386
|
+
c ? /* @__PURE__ */ j("div", {
|
|
386
387
|
className: "x78zum5 x6s0dn4 xyibt8p x2lah0s",
|
|
387
388
|
children: i
|
|
388
|
-
}) : r && /* @__PURE__ */
|
|
389
|
-
a && /* @__PURE__ */
|
|
389
|
+
}) : r && /* @__PURE__ */ j(ve, {}),
|
|
390
|
+
a && /* @__PURE__ */ j(l, {
|
|
390
391
|
tabIndex: n ? void 0 : -1,
|
|
391
392
|
"aria-label": n ? "Breadcrumb" : void 0,
|
|
392
393
|
className: "x78zum5 x6s0dn4 x1hnptsi x1dc62k6 xjnfzvw x1oec0jp x1cqoux5 x1ghz6dp x1qlqyl8 xj57cvi x1t137rt",
|
|
393
|
-
children: /* @__PURE__ */
|
|
394
|
+
children: /* @__PURE__ */ j(u, {
|
|
394
395
|
className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
|
|
395
396
|
children: e
|
|
396
397
|
})
|
|
397
398
|
}),
|
|
398
|
-
o && /* @__PURE__ */
|
|
399
|
+
o && /* @__PURE__ */ j("div", {
|
|
399
400
|
className: "x78zum5 x1a02dak x6s0dn4 xunmzkg x1dc62k6 xeuugli x1oec0jp x193iq5w x9f619 xs83m0k x8x9d4c",
|
|
400
401
|
children: t
|
|
401
402
|
})
|
|
402
403
|
]
|
|
403
404
|
});
|
|
404
405
|
}
|
|
405
|
-
function
|
|
406
|
+
function be({ icon: e, children: t, ...r }) {
|
|
406
407
|
let i = e != null;
|
|
407
|
-
return /* @__PURE__ */
|
|
408
|
+
return /* @__PURE__ */ j("div", {
|
|
408
409
|
className: "x9f619 x78zum5 x1qjc9v5 xeuugli",
|
|
409
|
-
children: /* @__PURE__ */
|
|
410
|
+
children: /* @__PURE__ */ M(n, {
|
|
410
411
|
...r,
|
|
411
412
|
variant: "ghost",
|
|
412
413
|
"aria-label": r["aria-label"] ?? (typeof t == "string" ? t : void 0),
|
|
413
414
|
xstyle: V.action,
|
|
414
|
-
children: [i && /* @__PURE__ */
|
|
415
|
+
children: [i && /* @__PURE__ */ j("span", {
|
|
415
416
|
"aria-hidden": !0,
|
|
416
417
|
className: "x3nfvp2 x2lah0s x6s0dn4",
|
|
417
418
|
children: e
|
|
418
|
-
}), i || typeof t == "string" ? /* @__PURE__ */
|
|
419
|
+
}), i || typeof t == "string" ? /* @__PURE__ */ j("span", {
|
|
419
420
|
...{
|
|
420
421
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
421
422
|
1: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft xt0psk2 xlllsrz" }
|
|
@@ -428,13 +429,13 @@ function ve({ icon: e, children: t, ...r }) {
|
|
|
428
429
|
// packages/layout/src/page-layout.tsx
|
|
429
430
|
function H({ ref: e, navigation: t, children: n, scrollRestorationId: r = "page-body", ...i }) {
|
|
430
431
|
let a = c();
|
|
431
|
-
return /* @__PURE__ */
|
|
432
|
+
return /* @__PURE__ */ M("div", {
|
|
432
433
|
ref: e,
|
|
433
434
|
className: "xtdtrs8 xmz0i5r xeuugli x2lwn1j xrvj5dj x16p6thf",
|
|
434
|
-
children: [/* @__PURE__ */
|
|
435
|
+
children: [/* @__PURE__ */ M("div", {
|
|
435
436
|
className: "xeuugli",
|
|
436
|
-
children: [/* @__PURE__ */
|
|
437
|
-
}), /* @__PURE__ */
|
|
437
|
+
children: [/* @__PURE__ */ j(ye, { ...i }), t !== void 0 && ("isPlaceholder" in t ? /* @__PURE__ */ j(l, { ...t }) : /* @__PURE__ */ j(u, { ...t }))]
|
|
438
|
+
}), /* @__PURE__ */ j("div", {
|
|
438
439
|
ref: a.ref,
|
|
439
440
|
tabIndex: a.tabIndex,
|
|
440
441
|
"data-page-viewport": "",
|
|
@@ -444,29 +445,79 @@ function H({ ref: e, navigation: t, children: n, scrollRestorationId: r = "page-
|
|
|
444
445
|
})]
|
|
445
446
|
});
|
|
446
447
|
}
|
|
447
|
-
function
|
|
448
|
-
let i = t != null && t !== !1, o = e != null && e !== !1, s =
|
|
449
|
-
return /* @__PURE__ */
|
|
448
|
+
function xe({ children: e, summary: t, breakdown: n, ...r }) {
|
|
449
|
+
let i = t != null && t !== !1, o = e != null && e !== !1, s = T(), c = r.id ?? s;
|
|
450
|
+
return /* @__PURE__ */ M(ce, {
|
|
450
451
|
"aria-labelledby": c,
|
|
451
452
|
className: "xeuugli x2lah0s xc8icb0",
|
|
452
|
-
children: [/* @__PURE__ */
|
|
453
|
+
children: [/* @__PURE__ */ j("div", {
|
|
453
454
|
className: "x1uhb9sk xsbffnv x13vifvy x11ru5tl",
|
|
454
|
-
children: /* @__PURE__ */
|
|
455
|
+
children: /* @__PURE__ */ j(a, {
|
|
455
456
|
...r,
|
|
456
457
|
id: c
|
|
457
458
|
})
|
|
458
|
-
}), /* @__PURE__ */
|
|
459
|
+
}), /* @__PURE__ */ M("div", {
|
|
459
460
|
className: "xc8icb0",
|
|
460
461
|
children: [
|
|
461
|
-
i && /* @__PURE__ */
|
|
462
|
+
i && /* @__PURE__ */ j(F, { children: t }),
|
|
462
463
|
n,
|
|
463
|
-
o && /* @__PURE__ */
|
|
464
|
+
o && /* @__PURE__ */ j(F, { children: e })
|
|
464
465
|
]
|
|
465
466
|
})]
|
|
466
467
|
});
|
|
467
468
|
}
|
|
469
|
+
// packages/layout/src/devtools-bar.tsx
|
|
470
|
+
var Se = { bar: {
|
|
471
|
+
kAzted: "xzhxzul",
|
|
472
|
+
$$css: !0
|
|
473
|
+
} };
|
|
474
|
+
function Ce() {
|
|
475
|
+
return /* @__PURE__ */ j("aside", {
|
|
476
|
+
"aria-label": "Developer tools",
|
|
477
|
+
..._.props(s.row, s.blockStart, Se.bar),
|
|
478
|
+
children: "DevTools"
|
|
479
|
+
});
|
|
480
|
+
}
|
|
481
|
+
function we(e) {
|
|
482
|
+
let [t, n] = O(!1), r = D(!1);
|
|
483
|
+
return E(() => {
|
|
484
|
+
function t() {
|
|
485
|
+
if (!r.current) try {
|
|
486
|
+
n(globalThis.localStorage.getItem(e) === "1");
|
|
487
|
+
} catch {}
|
|
488
|
+
}
|
|
489
|
+
function i(n) {
|
|
490
|
+
(n.key === e || n.key === null) && t();
|
|
491
|
+
}
|
|
492
|
+
return t(), globalThis.addEventListener("pageshow", t), globalThis.addEventListener("storage", i), () => {
|
|
493
|
+
globalThis.removeEventListener("pageshow", t), globalThis.removeEventListener("storage", i);
|
|
494
|
+
};
|
|
495
|
+
}, [e]), h({
|
|
496
|
+
target: typeof document > "u" ? null : document.documentElement,
|
|
497
|
+
isEnabled: !0,
|
|
498
|
+
commands: [{
|
|
499
|
+
id: "toggle-devtools-bar",
|
|
500
|
+
label: "Toggle DevTools",
|
|
501
|
+
shortcut: {
|
|
502
|
+
key: "\\",
|
|
503
|
+
code: "Backslash",
|
|
504
|
+
meta: !0,
|
|
505
|
+
alt: !0,
|
|
506
|
+
shift: !0
|
|
507
|
+
},
|
|
508
|
+
onSelect: () => {
|
|
509
|
+
n(!t);
|
|
510
|
+
try {
|
|
511
|
+
globalThis.localStorage.setItem(e, t ? "0" : "1"), r.current = !1;
|
|
512
|
+
} catch {
|
|
513
|
+
r.current = !0;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}]
|
|
517
|
+
}), t;
|
|
518
|
+
}
|
|
468
519
|
// packages/layout/src/navigation-rail.tsx
|
|
469
|
-
var U =
|
|
520
|
+
var U = S("rail"), W = {
|
|
470
521
|
action: {
|
|
471
522
|
kSGwAc: "xamitd3",
|
|
472
523
|
$$css: !0
|
|
@@ -505,11 +556,11 @@ var U = x("rail"), W = {
|
|
|
505
556
|
$$css: !0
|
|
506
557
|
}
|
|
507
558
|
};
|
|
508
|
-
function
|
|
509
|
-
return /* @__PURE__ */
|
|
559
|
+
function Te(e) {
|
|
560
|
+
return /* @__PURE__ */ j(G, { ...e });
|
|
510
561
|
}
|
|
511
562
|
function G({ label: r, links: a, action: o, isFooter: s = !1 }) {
|
|
512
|
-
let c =
|
|
563
|
+
let c = C(U) === "drawer", l = C(R);
|
|
513
564
|
function u(e, t) {
|
|
514
565
|
e?.(t);
|
|
515
566
|
let n = t.metaKey || t.ctrlKey, r = t.shiftKey || t.altKey;
|
|
@@ -518,77 +569,77 @@ function G({ label: r, links: a, action: o, isFooter: s = !1 }) {
|
|
|
518
569
|
let d = (e) => {
|
|
519
570
|
o?.onClick(e), e.defaultPrevented || l?.onNavigate();
|
|
520
571
|
};
|
|
521
|
-
return c ? /* @__PURE__ */
|
|
572
|
+
return c ? /* @__PURE__ */ M("div", {
|
|
522
573
|
className: "x78zum5 xdt5ytf x1qjc9v5 x2lah0s xeuugli",
|
|
523
|
-
children: [/* @__PURE__ */
|
|
574
|
+
children: [/* @__PURE__ */ j("nav", {
|
|
524
575
|
"aria-label": r,
|
|
525
576
|
...{
|
|
526
577
|
0: { className: "xrvj5dj xnby9oq xunmzkg x1s01oa9" },
|
|
527
578
|
1: { className: "xrvj5dj xunmzkg x1717udv x1mkdm3x" }
|
|
528
579
|
}[!!s | 0],
|
|
529
|
-
children: a.map(({ label: e, icon: t, isCurrent: n = !1, ...r }) => /* @__PURE__ */
|
|
530
|
-
...
|
|
580
|
+
children: a.map(({ label: e, icon: t, isCurrent: n = !1, ...r }) => /* @__PURE__ */ M(i, {
|
|
581
|
+
...b(_.props(g.base, g.button, W.mobileLink, s && W.drawerFooterLink, W.rounded, W.selected), r),
|
|
531
582
|
"aria-current": n ? "location" : void 0,
|
|
532
583
|
onClick: (e) => u(r.onClick, e),
|
|
533
|
-
children: [/* @__PURE__ */
|
|
584
|
+
children: [/* @__PURE__ */ j("span", {
|
|
534
585
|
"aria-hidden": !0,
|
|
535
586
|
className: "x3nfvp2 x2lah0s xtwnzbg x18utl2x",
|
|
536
587
|
children: t
|
|
537
|
-
}), /* @__PURE__ */
|
|
588
|
+
}), /* @__PURE__ */ j("span", {
|
|
538
589
|
className: "xeuugli x193iq5w xj0a0fe",
|
|
539
590
|
children: e
|
|
540
591
|
})]
|
|
541
592
|
}, r.href))
|
|
542
|
-
}), o !== void 0 && /* @__PURE__ */
|
|
593
|
+
}), o !== void 0 && /* @__PURE__ */ j("div", {
|
|
543
594
|
className: "xrvj5dj x14w6jbu xngumbj xso031l x1q0q8m5 x1qndepd",
|
|
544
|
-
children: /* @__PURE__ */
|
|
595
|
+
children: /* @__PURE__ */ M(n, {
|
|
545
596
|
variant: "ghost",
|
|
546
597
|
onClick: d,
|
|
547
|
-
children: [/* @__PURE__ */
|
|
598
|
+
children: [/* @__PURE__ */ j("span", {
|
|
548
599
|
"aria-hidden": !0,
|
|
549
600
|
className: "x3nfvp2 x2lah0s xtwnzbg x18utl2x",
|
|
550
601
|
children: o.icon
|
|
551
602
|
}), o.label]
|
|
552
603
|
})
|
|
553
604
|
})]
|
|
554
|
-
}) : /* @__PURE__ */
|
|
605
|
+
}) : /* @__PURE__ */ M("div", {
|
|
555
606
|
...{
|
|
556
607
|
0: { className: "x78zum5 xdt5ytf x1qjc9v5 x2lah0s xeuugli" },
|
|
557
608
|
1: { className: "x78zum5 xdt5ytf x1qjc9v5 x2lah0s xeuugli x1yrrsrt x1c526fk" }
|
|
558
609
|
}[!s | 0],
|
|
559
|
-
children: [/* @__PURE__ */
|
|
610
|
+
children: [/* @__PURE__ */ j("nav", {
|
|
560
611
|
"aria-label": r,
|
|
561
612
|
className: "x78zum5 xdt5ytf x6s0dn4 xunmzkg",
|
|
562
|
-
children: a.map(({ label: e, icon: n, isCurrent: r = !1, ...a }) => /* @__PURE__ */
|
|
563
|
-
render: /* @__PURE__ */
|
|
564
|
-
render: /* @__PURE__ */
|
|
565
|
-
...
|
|
613
|
+
children: a.map(({ label: e, icon: n, isCurrent: r = !1, ...a }) => /* @__PURE__ */ M(m.Root, { children: [/* @__PURE__ */ j(m.Trigger, {
|
|
614
|
+
render: /* @__PURE__ */ j(t, {
|
|
615
|
+
render: /* @__PURE__ */ j(i, {}),
|
|
616
|
+
...b({ className: "x1yk04ar" }, a),
|
|
566
617
|
"aria-current": r ? "location" : void 0,
|
|
567
618
|
"aria-label": e,
|
|
568
619
|
onClick: (e) => u(a.onClick, e)
|
|
569
620
|
}),
|
|
570
621
|
children: n
|
|
571
|
-
}), /* @__PURE__ */
|
|
622
|
+
}), /* @__PURE__ */ j(m.Popup, {
|
|
572
623
|
side: "right",
|
|
573
624
|
children: e
|
|
574
625
|
})] }, a.href))
|
|
575
|
-
}), o !== void 0 && /* @__PURE__ */ A
|
|
576
|
-
render: /* @__PURE__ */
|
|
626
|
+
}), o !== void 0 && /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j("hr", { className: "xc342km x178xt8z x13fuv20 xhjagg4 xv06hpe xn92wy8" }), /* @__PURE__ */ M(m.Root, { children: [/* @__PURE__ */ j(m.Trigger, {
|
|
627
|
+
render: /* @__PURE__ */ j(e, {
|
|
577
628
|
variant: "ghost",
|
|
578
629
|
"aria-label": o.label,
|
|
579
630
|
xstyle: W.action
|
|
580
631
|
}),
|
|
581
632
|
onClick: d,
|
|
582
633
|
children: o.icon
|
|
583
|
-
}), /* @__PURE__ */
|
|
634
|
+
}), /* @__PURE__ */ j(m.Popup, {
|
|
584
635
|
side: "right",
|
|
585
636
|
children: o.label
|
|
586
637
|
})] })] })]
|
|
587
638
|
});
|
|
588
639
|
}
|
|
589
|
-
function
|
|
590
|
-
let t =
|
|
591
|
-
return /* @__PURE__ */
|
|
640
|
+
function Ee({ children: e }) {
|
|
641
|
+
let t = C(U) === "drawer";
|
|
642
|
+
return /* @__PURE__ */ j("div", {
|
|
592
643
|
...{
|
|
593
644
|
0: { className: "x78zum5 xdt5ytf x6s0dn4 xunmzkg x1yrrsrt x1c526fk" },
|
|
594
645
|
1: { className: "x78zum5 xdt5ytf xunmzkg x1yrrsrt x1c526fk x1cy8zhl x14w6jbu" }
|
|
@@ -597,21 +648,21 @@ function xe({ children: e }) {
|
|
|
597
648
|
});
|
|
598
649
|
}
|
|
599
650
|
function K({ children: e }) {
|
|
600
|
-
return /* @__PURE__ */
|
|
651
|
+
return /* @__PURE__ */ j("span", {
|
|
601
652
|
"aria-hidden": !0,
|
|
602
653
|
className: "xrvj5dj x1ku5rj1 x9c6wpo x1ff4b4a x1f9pz31 x992rv9",
|
|
603
654
|
children: e
|
|
604
655
|
});
|
|
605
656
|
}
|
|
606
|
-
function
|
|
607
|
-
return /* @__PURE__ */
|
|
657
|
+
function De({ count: e, icon: t }) {
|
|
658
|
+
return /* @__PURE__ */ j("div", {
|
|
608
659
|
"aria-hidden": !0,
|
|
609
660
|
className: "x1yrrsrt x1c526fk x78zum5 xdt5ytf x6s0dn4 xunmzkg",
|
|
610
|
-
children: Array.from({ length: e }, (e, n) => /* @__PURE__ */
|
|
661
|
+
children: Array.from({ length: e }, (e, n) => /* @__PURE__ */ j(K, { children: t }, n))
|
|
611
662
|
});
|
|
612
663
|
}
|
|
613
664
|
// packages/layout/src/navigation-rail-menu.tsx
|
|
614
|
-
var
|
|
665
|
+
var Oe = {
|
|
615
666
|
rail: {
|
|
616
667
|
side: "right",
|
|
617
668
|
align: "end"
|
|
@@ -622,31 +673,31 @@ var Ce = {
|
|
|
622
673
|
}
|
|
623
674
|
};
|
|
624
675
|
function q({ label: t, icon: n, children: r }) {
|
|
625
|
-
let i =
|
|
626
|
-
return
|
|
627
|
-
let e = globalThis.matchMedia(
|
|
676
|
+
let i = C(U), [a, o] = O(!1);
|
|
677
|
+
return w(() => {
|
|
678
|
+
let e = globalThis.matchMedia(L.sidebarDesktopQuery);
|
|
628
679
|
function t() {
|
|
629
680
|
o(!1);
|
|
630
681
|
}
|
|
631
682
|
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
|
|
632
|
-
}, []), /* @__PURE__ */
|
|
683
|
+
}, []), /* @__PURE__ */ M(p.Root, {
|
|
633
684
|
open: a,
|
|
634
685
|
onOpenChange: o,
|
|
635
686
|
modal: !1,
|
|
636
|
-
children: [/* @__PURE__ */
|
|
687
|
+
children: [/* @__PURE__ */ M(m.Root, {
|
|
637
688
|
disabled: a || i === "drawer",
|
|
638
|
-
children: [/* @__PURE__ */
|
|
639
|
-
render: /* @__PURE__ */
|
|
689
|
+
children: [/* @__PURE__ */ j(m.Trigger, {
|
|
690
|
+
render: /* @__PURE__ */ j(p.Trigger, { render: /* @__PURE__ */ j(e, {
|
|
640
691
|
variant: "ghost",
|
|
641
692
|
"aria-label": t
|
|
642
693
|
}) }),
|
|
643
694
|
children: n
|
|
644
|
-
}), /* @__PURE__ */
|
|
695
|
+
}), /* @__PURE__ */ j(m.Popup, {
|
|
645
696
|
side: "right",
|
|
646
697
|
children: t
|
|
647
698
|
})]
|
|
648
|
-
}), /* @__PURE__ */
|
|
649
|
-
...
|
|
699
|
+
}), /* @__PURE__ */ j(p.Popup, {
|
|
700
|
+
...Oe[i],
|
|
650
701
|
sideOffset: 4,
|
|
651
702
|
collisionPadding: 8,
|
|
652
703
|
"aria-label": t,
|
|
@@ -655,6 +706,28 @@ function q({ label: t, icon: n, children: r }) {
|
|
|
655
706
|
})]
|
|
656
707
|
});
|
|
657
708
|
}
|
|
709
|
+
// packages/layout/src/shell-bottom-bar.tsx
|
|
710
|
+
function ke({ children: e }) {
|
|
711
|
+
let t = D(null);
|
|
712
|
+
return E(() => {
|
|
713
|
+
let e = t.current;
|
|
714
|
+
if (e === null) return;
|
|
715
|
+
let n = e.ownerDocument.documentElement;
|
|
716
|
+
function r() {
|
|
717
|
+
n.style.setProperty("--mechane-shell-bottom-inset", `${t.current?.getBoundingClientRect().height ?? 0}px`);
|
|
718
|
+
}
|
|
719
|
+
r();
|
|
720
|
+
let i = new ResizeObserver(r);
|
|
721
|
+
return i.observe(e, { box: "border-box" }), () => {
|
|
722
|
+
i.disconnect(), n.style.removeProperty("--mechane-shell-bottom-inset");
|
|
723
|
+
};
|
|
724
|
+
}, []), /* @__PURE__ */ j("div", {
|
|
725
|
+
ref: t,
|
|
726
|
+
"data-mechane-shell-bottom-bar": "",
|
|
727
|
+
className: "xeuugli xrvj5dj xbjcvb9 x1a148e8",
|
|
728
|
+
children: e
|
|
729
|
+
});
|
|
730
|
+
}
|
|
658
731
|
// packages/layout/src/app-shell.tsx
|
|
659
732
|
var J = {
|
|
660
733
|
sidebar: {
|
|
@@ -664,7 +737,6 @@ var J = {
|
|
|
664
737
|
kWkggS: "xpvm0e4",
|
|
665
738
|
kVAEAm: "x7wzq59",
|
|
666
739
|
k87sOh: "x13vifvy",
|
|
667
|
-
kZKoxP: "xtdtrs8",
|
|
668
740
|
kzqmXN: "x68ju84",
|
|
669
741
|
kmuXW: "x2lah0s",
|
|
670
742
|
kAzted: "x2lwn1j",
|
|
@@ -694,96 +766,102 @@ var J = {
|
|
|
694
766
|
}
|
|
695
767
|
};
|
|
696
768
|
function Y({ footer: e }) {
|
|
697
|
-
return /* @__PURE__ */
|
|
698
|
-
className: "x2lah0s
|
|
699
|
-
children: /* @__PURE__ */
|
|
769
|
+
return /* @__PURE__ */ j("div", {
|
|
770
|
+
className: "x2lah0s x1vod7vm",
|
|
771
|
+
children: /* @__PURE__ */ j(Ee, { children: "placeholder" in e ? /* @__PURE__ */ M(A, { children: [e.placeholder.linkIcon !== void 0 && /* @__PURE__ */ j(K, { children: e.placeholder.linkIcon }), /* @__PURE__ */ j(K, { children: e.placeholder.menuIcon })] }) : /* @__PURE__ */ M(A, { children: [e.navigation !== void 0 && /* @__PURE__ */ j(G, {
|
|
700
772
|
...e.navigation,
|
|
701
773
|
isFooter: !0
|
|
702
|
-
}), /* @__PURE__ */
|
|
774
|
+
}), /* @__PURE__ */ j(q, { ...e.menu })] }) })
|
|
703
775
|
});
|
|
704
776
|
}
|
|
705
|
-
function
|
|
706
|
-
let
|
|
707
|
-
return
|
|
708
|
-
let e = globalThis.matchMedia(
|
|
777
|
+
function Ae({ rail: e, railFooter: t, sidebarHeader: n, sidebar: r, footer: i, bottomBar: a, children: o, mainId: c = "main", shouldFocus: l = !1 }) {
|
|
778
|
+
let u = a != null && typeof a != "boolean", d = e != null, [p, m] = O(!0), [h, g] = O(!1), v = l || d && !p, [y] = O(() => f.createController()), b = T(), x = D(null), S = D(null), C = D(null), E = D(!1);
|
|
779
|
+
return w(() => {
|
|
780
|
+
let e = globalThis.matchMedia(L.sidebarDesktopQuery);
|
|
709
781
|
function t() {
|
|
710
|
-
e.matches &&
|
|
782
|
+
e.matches && g(!1);
|
|
711
783
|
}
|
|
712
784
|
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
|
|
713
|
-
}, []), /* @__PURE__ */
|
|
785
|
+
}, []), /* @__PURE__ */ M(R.Provider, {
|
|
714
786
|
value: {
|
|
715
|
-
isExpanded:
|
|
716
|
-
sidebarId:
|
|
717
|
-
drawerController:
|
|
718
|
-
navigationToggleRef:
|
|
719
|
-
mobileNavigationToggleRef:
|
|
720
|
-
onToggle: () =>
|
|
787
|
+
isExpanded: p,
|
|
788
|
+
sidebarId: b,
|
|
789
|
+
drawerController: y,
|
|
790
|
+
navigationToggleRef: x,
|
|
791
|
+
mobileNavigationToggleRef: S,
|
|
792
|
+
onToggle: () => m((e) => !e),
|
|
721
793
|
onNavigate: () => {
|
|
722
|
-
|
|
794
|
+
E.current = h, g(!1);
|
|
723
795
|
}
|
|
724
796
|
},
|
|
725
|
-
children: [/* @__PURE__ */
|
|
726
|
-
className: "x9f619 xtdtrs8 xb3r6kr
|
|
727
|
-
children: [
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
797
|
+
children: [/* @__PURE__ */ M("div", {
|
|
798
|
+
className: "x9f619 xtdtrs8 xb3r6kr xrvj5dj x1sx1omo x1mkdm3x xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
799
|
+
children: [/* @__PURE__ */ M("div", {
|
|
800
|
+
...{
|
|
801
|
+
0: { className: "x78zum5 xeuugli x2lwn1j" },
|
|
802
|
+
1: { className: "x78zum5 xeuugli x2lwn1j xcl5tbm" }
|
|
803
|
+
}[!!u | 0],
|
|
804
|
+
children: [
|
|
805
|
+
d && /* @__PURE__ */ M("div", {
|
|
806
|
+
hidden: l,
|
|
807
|
+
..._.props(J.sidebar, s.inlineEnd, J.rail, l && J.hidden),
|
|
808
|
+
children: [/* @__PURE__ */ j("div", {
|
|
809
|
+
className: "x98rzlu x2lwn1j x1odjw0f x1e4zzel",
|
|
810
|
+
children: e
|
|
811
|
+
}), t !== void 0 && /* @__PURE__ */ j(Y, { footer: t })]
|
|
812
|
+
}),
|
|
813
|
+
/* @__PURE__ */ j("aside", {
|
|
814
|
+
id: b,
|
|
815
|
+
"aria-label": "Navigation",
|
|
816
|
+
hidden: v,
|
|
817
|
+
..._.props(J.sidebar, s.inlineEnd, d && J.secondary, !d && !p && J.collapsed, v && J.hidden),
|
|
818
|
+
children: /* @__PURE__ */ j(B, {
|
|
819
|
+
header: n,
|
|
820
|
+
footer: i,
|
|
821
|
+
children: r
|
|
822
|
+
})
|
|
823
|
+
}),
|
|
824
|
+
/* @__PURE__ */ j("main", {
|
|
825
|
+
id: c,
|
|
826
|
+
tabIndex: -1,
|
|
827
|
+
className: "xeuugli x2lwn1j x98rzlu x78zum5 xdt5ytf x1odjw0f x6i9wio",
|
|
828
|
+
children: o
|
|
745
829
|
})
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
}), /* @__PURE__ */ A(f.Root, {
|
|
755
|
-
controller: _,
|
|
756
|
-
open: p && !c,
|
|
757
|
-
onOpenChange: m,
|
|
758
|
-
children: [/* @__PURE__ */ k(f.Backdrop, {}), /* @__PURE__ */ A(f.Popup, {
|
|
759
|
-
ref: x,
|
|
830
|
+
]
|
|
831
|
+
}), u && /* @__PURE__ */ j(ke, { children: a })]
|
|
832
|
+
}), /* @__PURE__ */ M(f.Root, {
|
|
833
|
+
controller: y,
|
|
834
|
+
open: h && !l,
|
|
835
|
+
onOpenChange: g,
|
|
836
|
+
children: [/* @__PURE__ */ j(f.Backdrop, {}), /* @__PURE__ */ M(f.Popup, {
|
|
837
|
+
ref: C,
|
|
760
838
|
xstyle: J.drawer,
|
|
761
839
|
finalFocus: () => {
|
|
762
|
-
if (
|
|
763
|
-
|
|
764
|
-
let e = document.querySelector(`#${CSS.escape(
|
|
840
|
+
if (E.current) {
|
|
841
|
+
E.current = !1;
|
|
842
|
+
let e = document.querySelector(`#${CSS.escape(c)}`), t = document.activeElement;
|
|
765
843
|
if (t instanceof HTMLElement) {
|
|
766
844
|
let e = t.closest("[role=\"dialog\"], [role=\"alertdialog\"]");
|
|
767
|
-
if (e !== null && e !==
|
|
845
|
+
if (e !== null && e !== C.current) return t;
|
|
768
846
|
}
|
|
769
847
|
return t instanceof HTMLElement && e?.contains(t) === !0 ? t : e;
|
|
770
848
|
}
|
|
771
|
-
return globalThis.matchMedia(
|
|
849
|
+
return globalThis.matchMedia(L.sidebarDesktopQuery).matches ? x.current : S.current;
|
|
772
850
|
},
|
|
773
|
-
children: [/* @__PURE__ */
|
|
851
|
+
children: [/* @__PURE__ */ j(f.Title, {
|
|
774
852
|
isVisuallyHidden: !0,
|
|
775
853
|
children: "Navigation"
|
|
776
|
-
}), /* @__PURE__ */
|
|
854
|
+
}), /* @__PURE__ */ j(B, {
|
|
777
855
|
header: n,
|
|
778
|
-
navigationHeader:
|
|
856
|
+
navigationHeader: d && /* @__PURE__ */ j(U.Provider, {
|
|
779
857
|
value: "drawer",
|
|
780
858
|
children: e
|
|
781
859
|
}),
|
|
782
|
-
footer: /* @__PURE__ */ A
|
|
860
|
+
footer: /* @__PURE__ */ M(A, { children: [i, d && t !== void 0 && /* @__PURE__ */ j(U.Provider, {
|
|
783
861
|
value: "drawer",
|
|
784
|
-
children: /* @__PURE__ */
|
|
862
|
+
children: /* @__PURE__ */ j(Y, { footer: t })
|
|
785
863
|
})] }),
|
|
786
|
-
close: /* @__PURE__ */
|
|
864
|
+
close: /* @__PURE__ */ j(ue, {}),
|
|
787
865
|
children: r
|
|
788
866
|
})]
|
|
789
867
|
})]
|
|
@@ -792,7 +870,7 @@ function we({ rail: e, railFooter: t, sidebarHeader: n, sidebar: r, footer: i, c
|
|
|
792
870
|
}
|
|
793
871
|
// packages/layout/src/detail-page.tsx
|
|
794
872
|
function X({ children: e, isWide: t = !1, isBleed: n = !1 }) {
|
|
795
|
-
return /* @__PURE__ */
|
|
873
|
+
return /* @__PURE__ */ j("div", {
|
|
796
874
|
...{
|
|
797
875
|
0: { className: "x9f619 x13na7z x96idz6 x9g60mw xeuugli xvueqy4 xnjsko4 x10gdey3 x14y0u4g x1foqgtu x1uwsqpk x14oio8y" },
|
|
798
876
|
2: { className: "x9f619 xeuugli xvueqy4 xh8yej3 x1x1rfll x1dc62k6 x10d9x1d x1l52sgj" },
|
|
@@ -823,35 +901,35 @@ var Z = {
|
|
|
823
901
|
kumcoG: "x185a7wo x1u207gz x1kgop2p",
|
|
824
902
|
$$css: !0
|
|
825
903
|
}
|
|
826
|
-
},
|
|
904
|
+
}, je = {
|
|
827
905
|
"2-up": Z.twoUp,
|
|
828
906
|
"hero-aside": Z.heroAside,
|
|
829
907
|
"3-up": Z.threeUp
|
|
830
908
|
};
|
|
831
|
-
function
|
|
832
|
-
return /* @__PURE__ */
|
|
909
|
+
function Me({ layout: e = "2-up", children: t, ...n }) {
|
|
910
|
+
return /* @__PURE__ */ j("div", {
|
|
833
911
|
className: "x12h1iku x1rb1qiq xeuugli",
|
|
834
|
-
children: /* @__PURE__ */
|
|
835
|
-
...
|
|
912
|
+
children: /* @__PURE__ */ j("div", {
|
|
913
|
+
...b(_.props(Z.grid, je[e]), n),
|
|
836
914
|
children: t
|
|
837
915
|
})
|
|
838
916
|
});
|
|
839
917
|
}
|
|
840
918
|
// packages/layout/src/focus-page.tsx
|
|
841
|
-
function
|
|
842
|
-
return /* @__PURE__ */
|
|
919
|
+
function Ne({ children: e }) {
|
|
920
|
+
return /* @__PURE__ */ j("main", {
|
|
843
921
|
id: "main",
|
|
844
922
|
tabIndex: -1,
|
|
845
923
|
className: "x9f619 x1ov3xa9 xeuugli xrvj5dj x1ku5rj1 x1jvlu93 xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
846
|
-
children: /* @__PURE__ */
|
|
924
|
+
children: /* @__PURE__ */ j("div", {
|
|
847
925
|
className: "xh8yej3 xxc7z9f xeuugli xrvj5dj x1mkdm3x x1j825kq",
|
|
848
926
|
children: e
|
|
849
927
|
})
|
|
850
928
|
});
|
|
851
929
|
}
|
|
852
930
|
// packages/layout/src/resizable.tsx
|
|
853
|
-
function
|
|
854
|
-
return /* @__PURE__ */
|
|
931
|
+
function Pe({ orientation: e = "horizontal", initialSizes: t, onSizesChange: n, disabled: r = !1, ref: i, ...a }) {
|
|
932
|
+
return /* @__PURE__ */ j(ne, {
|
|
855
933
|
orientation: e,
|
|
856
934
|
...t !== void 0 && { defaultLayout: t },
|
|
857
935
|
onLayoutCommit: (e, { event: t }) => {
|
|
@@ -859,63 +937,63 @@ function Oe({ orientation: e = "horizontal", initialSizes: t, onSizesChange: n,
|
|
|
859
937
|
},
|
|
860
938
|
disabled: r,
|
|
861
939
|
ref: i,
|
|
862
|
-
...
|
|
940
|
+
...b({ className: "xeuugli x2lwn1j xh8yej3 x5yr21d" }, a)
|
|
863
941
|
});
|
|
864
942
|
}
|
|
865
|
-
function
|
|
866
|
-
return /* @__PURE__ */
|
|
943
|
+
function Fe({ id: e, initialSizePercent: t, minimumSizePercent: n = 10, maximumSizePercent: r = 100, canCollapse: i = !1, ref: a, ...o }) {
|
|
944
|
+
return /* @__PURE__ */ j(ie, {
|
|
867
945
|
id: e,
|
|
868
946
|
...t !== void 0 && { defaultSize: t },
|
|
869
947
|
minSize: n,
|
|
870
948
|
maxSize: r,
|
|
871
949
|
collapsible: i,
|
|
872
950
|
ref: a,
|
|
873
|
-
...
|
|
951
|
+
...b({ className: "xeuugli x2lwn1j xysyzu8" }, o)
|
|
874
952
|
});
|
|
875
953
|
}
|
|
876
|
-
function
|
|
877
|
-
return /* @__PURE__ */
|
|
954
|
+
function Ie({ ref: e, ...t }) {
|
|
955
|
+
return /* @__PURE__ */ j(re, {
|
|
878
956
|
ref: e,
|
|
879
|
-
...
|
|
957
|
+
...b({ className: "x1n2onr6 x1vjfegm x9f619 x1fa40ue xqkn89t xsmyaan x1ff4b4a x7b6jwd xse4jxt x1jy3mcf x1k8hp4o x1rbdpqn x1ehdxp2 x1wg4s0h xse41gn xiti608 xxf9m8b x1ep60v ximv7tn xls05dq xkkvcqt x13qnu6 x9v5kkp x19rmrnh x13iak60" }, t)
|
|
880
958
|
});
|
|
881
959
|
}
|
|
882
960
|
var Q = {
|
|
883
|
-
Root:
|
|
884
|
-
Pane:
|
|
885
|
-
Handle:
|
|
961
|
+
Root: Pe,
|
|
962
|
+
Pane: Fe,
|
|
963
|
+
Handle: Ie
|
|
886
964
|
};
|
|
887
965
|
// packages/layout/src/workbench.tsx
|
|
888
|
-
function
|
|
966
|
+
function Le({ header: e, children: t, inspector: n, isResizable: r = !1, inspectorInitialPercent: i = 36 }) {
|
|
889
967
|
let a = r && n !== void 0, o = Math.max(30, Math.min(80, 100 - i));
|
|
890
|
-
return /* @__PURE__ */
|
|
968
|
+
return /* @__PURE__ */ M("div", {
|
|
891
969
|
className: "x78zum5 xdt5ytf xtdtrs8 xmz0i5r x98rzlu xeuugli x2lwn1j x12h1iku x1a75771 xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel",
|
|
892
|
-
children: [e != null && /* @__PURE__ */
|
|
970
|
+
children: [e != null && /* @__PURE__ */ j("div", {
|
|
893
971
|
className: "xeuugli x2lah0s x1ydxw8w xnx3t7k xso031l x1q0q8m5 x1qndepd",
|
|
894
972
|
children: e
|
|
895
|
-
}), /* @__PURE__ */
|
|
973
|
+
}), /* @__PURE__ */ j("div", {
|
|
896
974
|
className: "x78zum5 x98rzlu xeuugli x2lwn1j x7giv3",
|
|
897
|
-
children: a ? /* @__PURE__ */ A
|
|
975
|
+
children: a ? /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j("div", {
|
|
898
976
|
className: "x78zum5 x152g2jv x98rzlu xeuugli x2lwn1j",
|
|
899
|
-
children: /* @__PURE__ */
|
|
977
|
+
children: /* @__PURE__ */ M(Q.Root, {
|
|
900
978
|
orientation: "horizontal",
|
|
901
979
|
initialSizes: [o, 100 - o],
|
|
902
980
|
children: [
|
|
903
|
-
/* @__PURE__ */
|
|
981
|
+
/* @__PURE__ */ j(Q.Pane, {
|
|
904
982
|
id: "workbench-main",
|
|
905
983
|
initialSizePercent: o,
|
|
906
984
|
minimumSizePercent: 30,
|
|
907
|
-
children: /* @__PURE__ */
|
|
985
|
+
children: /* @__PURE__ */ j("div", {
|
|
908
986
|
className: "x1n2onr6 x78zum5 x98rzlu xdt5ytf xeuugli x2lwn1j",
|
|
909
987
|
children: t
|
|
910
988
|
})
|
|
911
989
|
}),
|
|
912
|
-
/* @__PURE__ */
|
|
913
|
-
/* @__PURE__ */
|
|
990
|
+
/* @__PURE__ */ j(Q.Handle, { "aria-label": `Resize ${n.label}` }),
|
|
991
|
+
/* @__PURE__ */ j(Q.Pane, {
|
|
914
992
|
id: "workbench-inspector",
|
|
915
993
|
initialSizePercent: 100 - o,
|
|
916
994
|
minimumSizePercent: 20,
|
|
917
995
|
maximumSizePercent: 70,
|
|
918
|
-
children: /* @__PURE__ */
|
|
996
|
+
children: /* @__PURE__ */ j("aside", {
|
|
919
997
|
"aria-label": n.label,
|
|
920
998
|
className: "x9f619 xh8yej3 x5yr21d xeuugli x1odjw0f x1c8xbx5 xpvm0e4",
|
|
921
999
|
children: n.content
|
|
@@ -923,20 +1001,20 @@ function je({ header: e, children: t, inspector: n, isResizable: r = !1, inspect
|
|
|
923
1001
|
})
|
|
924
1002
|
]
|
|
925
1003
|
})
|
|
926
|
-
}), /* @__PURE__ */
|
|
1004
|
+
}), /* @__PURE__ */ j("div", {
|
|
927
1005
|
className: "x1s85apg xbv8p1s x98rzlu xeuugli x2lwn1j",
|
|
928
|
-
children: /* @__PURE__ */
|
|
1006
|
+
children: /* @__PURE__ */ j("aside", {
|
|
929
1007
|
"aria-label": n.label,
|
|
930
1008
|
className: "x9f619 x1peuizl x1vx4hiz xeuugli x2lah0s x1odjw0f x1c8xbx5 xpvm0e4 xe0pwq xs311s2 x19ypqd9 x1l3ounx",
|
|
931
1009
|
children: n.content
|
|
932
1010
|
})
|
|
933
|
-
})] }) : /* @__PURE__ */ A
|
|
1011
|
+
})] }) : /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j("div", {
|
|
934
1012
|
...{
|
|
935
1013
|
0: { className: "x1n2onr6 x78zum5 x98rzlu xdt5ytf xeuugli x2lwn1j" },
|
|
936
1014
|
1: { className: "x1n2onr6 x98rzlu xdt5ytf xeuugli x2lwn1j x78zum5 x152g2jv" }
|
|
937
1015
|
}[n !== void 0 | 0],
|
|
938
1016
|
children: t
|
|
939
|
-
}), n !== void 0 && /* @__PURE__ */
|
|
1017
|
+
}), n !== void 0 && /* @__PURE__ */ j("aside", {
|
|
940
1018
|
"aria-label": n.label,
|
|
941
1019
|
className: "x9f619 x1peuizl x1vx4hiz xeuugli x2lah0s x1odjw0f x1c8xbx5 xpvm0e4 xe0pwq xs311s2 x19ypqd9 x1l3ounx",
|
|
942
1020
|
children: n.content
|
|
@@ -944,9 +1022,9 @@ function je({ header: e, children: t, inspector: n, isResizable: r = !1, inspect
|
|
|
944
1022
|
})]
|
|
945
1023
|
});
|
|
946
1024
|
}
|
|
947
|
-
function
|
|
1025
|
+
function Re({ label: e, children: t, isFlush: n = !1, scrollRestorationId: r }) {
|
|
948
1026
|
let i = c();
|
|
949
|
-
return /* @__PURE__ */
|
|
1027
|
+
return /* @__PURE__ */ j("div", {
|
|
950
1028
|
ref: i.ref,
|
|
951
1029
|
role: "region",
|
|
952
1030
|
"aria-label": e,
|
|
@@ -959,21 +1037,21 @@ function Me({ label: e, children: t, isFlush: n = !1, scrollRestorationId: r })
|
|
|
959
1037
|
children: t
|
|
960
1038
|
});
|
|
961
1039
|
}
|
|
962
|
-
function
|
|
963
|
-
return /* @__PURE__ */
|
|
1040
|
+
function ze({ children: e }) {
|
|
1041
|
+
return /* @__PURE__ */ j("div", {
|
|
964
1042
|
className: "x2lah0s x1c8xbx5 x178xt8z x13fuv20 xhjagg4 xpvm0e4",
|
|
965
1043
|
children: e
|
|
966
1044
|
});
|
|
967
1045
|
}
|
|
968
1046
|
// packages/layout/src/view-stack.tsx
|
|
969
|
-
function
|
|
970
|
-
return /* @__PURE__ */
|
|
1047
|
+
function Be({ children: e }) {
|
|
1048
|
+
return /* @__PURE__ */ j("div", {
|
|
971
1049
|
className: "x1n2onr6 x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j",
|
|
972
1050
|
children: e
|
|
973
1051
|
});
|
|
974
1052
|
}
|
|
975
|
-
function
|
|
976
|
-
return /* @__PURE__ */
|
|
1053
|
+
function Ve({ isActive: e, children: t }) {
|
|
1054
|
+
return /* @__PURE__ */ j("section", {
|
|
977
1055
|
"aria-hidden": !e,
|
|
978
1056
|
inert: !e,
|
|
979
1057
|
...{
|
|
@@ -983,27 +1061,27 @@ function $({ isActive: e, children: t }) {
|
|
|
983
1061
|
children: t
|
|
984
1062
|
});
|
|
985
1063
|
}
|
|
986
|
-
var
|
|
987
|
-
Root:
|
|
988
|
-
Panel:
|
|
1064
|
+
var $ = {
|
|
1065
|
+
Root: Be,
|
|
1066
|
+
Panel: Ve
|
|
989
1067
|
};
|
|
990
1068
|
// packages/layout/src/collection-layout.tsx
|
|
991
|
-
function
|
|
992
|
-
return /* @__PURE__ */
|
|
1069
|
+
function He({ header: e, children: t }) {
|
|
1070
|
+
return /* @__PURE__ */ M("div", {
|
|
993
1071
|
"data-page-layout": "collection",
|
|
994
1072
|
className: "x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j x7giv3",
|
|
995
|
-
children: [/* @__PURE__ */
|
|
1073
|
+
children: [/* @__PURE__ */ j("div", {
|
|
996
1074
|
className: "x2lah0s xeuugli",
|
|
997
1075
|
children: e
|
|
998
|
-
}), /* @__PURE__ */
|
|
1076
|
+
}), /* @__PURE__ */ j("div", {
|
|
999
1077
|
className: "x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j",
|
|
1000
1078
|
children: t
|
|
1001
1079
|
})]
|
|
1002
1080
|
});
|
|
1003
1081
|
}
|
|
1004
1082
|
// packages/layout/src/record-page.tsx
|
|
1005
|
-
function
|
|
1006
|
-
return /* @__PURE__ */
|
|
1083
|
+
function Ue({ backLabel: e, backHref: t, onBack: n }) {
|
|
1084
|
+
return /* @__PURE__ */ M(i, {
|
|
1007
1085
|
href: t,
|
|
1008
1086
|
className: "x3nfvp2 x6s0dn4 x1hnptsi xid9utz xeuugli x193iq5w xbixft xkrqix3 x5638nf x13qnu6 x9v5kkp x19rmrnh x1bqaal",
|
|
1009
1087
|
onClick: (e) => {
|
|
@@ -1011,75 +1089,75 @@ function Le({ backLabel: e, backHref: t, onBack: n }) {
|
|
|
1011
1089
|
let t = e.metaKey || e.ctrlKey, r = e.shiftKey || e.altKey;
|
|
1012
1090
|
t || r || (e.preventDefault(), n());
|
|
1013
1091
|
},
|
|
1014
|
-
children: [/* @__PURE__ */
|
|
1092
|
+
children: [/* @__PURE__ */ j(ee, {
|
|
1015
1093
|
size: 16,
|
|
1016
1094
|
"aria-hidden": !0,
|
|
1017
1095
|
className: "x2lah0s"
|
|
1018
|
-
}), /* @__PURE__ */
|
|
1096
|
+
}), /* @__PURE__ */ j("span", {
|
|
1019
1097
|
className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
|
|
1020
1098
|
children: e
|
|
1021
1099
|
})]
|
|
1022
1100
|
});
|
|
1023
1101
|
}
|
|
1024
|
-
function
|
|
1025
|
-
return /* @__PURE__ */
|
|
1102
|
+
function We({ navigation: e, children: t, ...n }) {
|
|
1103
|
+
return /* @__PURE__ */ j(H, {
|
|
1026
1104
|
showBreadcrumb: !0,
|
|
1027
1105
|
showNavigation: n.showNavigation ?? !0,
|
|
1028
1106
|
actions: n.actions,
|
|
1029
|
-
title: /* @__PURE__ */
|
|
1107
|
+
title: /* @__PURE__ */ j(Ue, { ...n }),
|
|
1030
1108
|
navigation: e,
|
|
1031
1109
|
children: t
|
|
1032
1110
|
});
|
|
1033
1111
|
}
|
|
1034
|
-
function
|
|
1035
|
-
return /* @__PURE__ */
|
|
1112
|
+
function Ge({ children: e, isWide: t = !1 }) {
|
|
1113
|
+
return /* @__PURE__ */ j("div", {
|
|
1036
1114
|
className: "x78zum5 xdt5ytf xeuugli xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
1037
|
-
children: /* @__PURE__ */
|
|
1115
|
+
children: /* @__PURE__ */ j(X, {
|
|
1038
1116
|
isWide: t,
|
|
1039
|
-
children: /* @__PURE__ */
|
|
1117
|
+
children: /* @__PURE__ */ j("div", {
|
|
1040
1118
|
className: "x78zum5 x1a02dak x1cy8zhl xdz4d12 xeuugli",
|
|
1041
1119
|
children: e
|
|
1042
1120
|
})
|
|
1043
1121
|
})
|
|
1044
1122
|
});
|
|
1045
1123
|
}
|
|
1046
|
-
function
|
|
1047
|
-
return /* @__PURE__ */
|
|
1124
|
+
function Ke({ children: e }) {
|
|
1125
|
+
return /* @__PURE__ */ j("div", {
|
|
1048
1126
|
className: "x78zum5 xdt5ytf x1ewej1i x1iyjqo2 xdz4d12 xeuugli",
|
|
1049
1127
|
children: e
|
|
1050
1128
|
});
|
|
1051
1129
|
}
|
|
1052
|
-
function
|
|
1053
|
-
return /* @__PURE__ */
|
|
1130
|
+
function qe({ title: e, description: t, icon: n, titleRef: i }) {
|
|
1131
|
+
return /* @__PURE__ */ M("header", {
|
|
1054
1132
|
className: "xrvj5dj x1n8ia3y xeuugli",
|
|
1055
|
-
children: [/* @__PURE__ */
|
|
1133
|
+
children: [/* @__PURE__ */ M("div", {
|
|
1056
1134
|
className: "x78zum5 x6s0dn4 x1n8ia3y xeuugli",
|
|
1057
|
-
children: [n != null && /* @__PURE__ */
|
|
1135
|
+
children: [n != null && /* @__PURE__ */ j("span", {
|
|
1058
1136
|
"aria-hidden": !0,
|
|
1059
1137
|
className: "x3nfvp2 x6s0dn4 x2lah0s",
|
|
1060
1138
|
children: n
|
|
1061
|
-
}), /* @__PURE__ */
|
|
1062
|
-
render: /* @__PURE__ */
|
|
1139
|
+
}), /* @__PURE__ */ j(I, {
|
|
1140
|
+
render: /* @__PURE__ */ j(o, {}),
|
|
1063
1141
|
ref: i,
|
|
1064
1142
|
tabIndex: -1,
|
|
1065
1143
|
className: "xeuugli x1t137rt",
|
|
1066
1144
|
children: e
|
|
1067
1145
|
})]
|
|
1068
|
-
}), t != null && /* @__PURE__ */
|
|
1146
|
+
}), t != null && /* @__PURE__ */ j(r, { children: t })]
|
|
1069
1147
|
});
|
|
1070
1148
|
}
|
|
1071
|
-
function
|
|
1072
|
-
return /* @__PURE__ */
|
|
1149
|
+
function Je({ children: e, label: t = "Properties" }) {
|
|
1150
|
+
return /* @__PURE__ */ j("aside", {
|
|
1073
1151
|
"aria-label": t,
|
|
1074
1152
|
className: "x78zum5 xdt5ytf x1irul0l x1iyjqo2 x1j825kq xeuugli",
|
|
1075
1153
|
children: e
|
|
1076
1154
|
});
|
|
1077
1155
|
}
|
|
1078
|
-
var
|
|
1079
|
-
Layout:
|
|
1080
|
-
Body:
|
|
1081
|
-
Content:
|
|
1082
|
-
Header:
|
|
1083
|
-
Aside:
|
|
1156
|
+
var Ye = {
|
|
1157
|
+
Layout: We,
|
|
1158
|
+
Body: Ge,
|
|
1159
|
+
Content: Ke,
|
|
1160
|
+
Header: qe,
|
|
1161
|
+
Aside: Je
|
|
1084
1162
|
};
|
|
1085
|
-
export {
|
|
1163
|
+
export { fe as C, F as D, ge as E, me as S, _e as T, H as _, ze as a, de as b, Ne as c, Ae as d, q as f, we as g, Ce as h, Le as i, Me as l, De as m, He as n, Re as o, Te as p, $ as r, Q as s, Ye as t, X as u, xe as v, he as w, pe as x, be as y };
|