@mechane-ai/elements 0.64.0 → 0.65.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 +18 -17
- package/dist/ai.js +7 -7
- package/dist/{article-BopqPz1K.js → article-BrUa4Wz1.js} +6 -6
- package/dist/article.js +1 -1
- package/dist/catalog.json +59 -15
- package/dist/{categorical-values-8LA9KXhi.js → categorical-values-AXJkMt-Y.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 +2 -2
- package/dist/charts/trend.js +1 -1
- package/dist/charts.js +2 -2
- package/dist/{code-block-BjQUIvvw.js → code-block-BDRmjlES.js} +1 -1
- package/dist/collections.js +1 -1
- package/dist/{commands-BI9rWGpb.js → commands-rzsDElrG.js} +2 -2
- package/dist/content/code.js +1 -1
- package/dist/content/diff.js +3 -3
- package/dist/content/link.js +1 -1
- package/dist/content/markdown.js +1 -1
- package/dist/content/tree.js +2 -2
- package/dist/{content-link-C3RAJ2kP.js → content-link-DRaNf1mD.js} +1 -1
- package/dist/content.js +1 -1
- package/dist/{dates-D1v_jiva.js → dates-wu-gKO2C.js} +2 -2
- package/dist/{dumbbell-plot-QGjFMk0X.js → dumbbell-plot-VFajQtEW.js} +3 -3
- package/dist/{embedding-map-D_RNxsCD.js → embedding-map-BqDEmy88.js} +6 -6
- package/dist/feedback.js +1 -1
- package/dist/{figure-frame-CF3298LZ.js → figure-frame-Dd-pOeZN.js} +3 -3
- package/dist/forms/dates.js +1 -1
- package/dist/{forms-DlKhXUlc.js → forms-Bjx7JQ30.js} +1 -1
- package/dist/forms.js +2 -2
- package/dist/{image-grid-BXsgVBnB.js → image-grid-Dpyqxgwy.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/kits/evaluation.js +4 -4
- package/dist/kits/interpretability.js +11 -11
- package/dist/kits/operations.js +6 -6
- package/dist/kits/research.js +128 -149
- package/dist/kits/training.js +5 -5
- package/dist/layout.js +1 -1
- package/dist/lesson.js +3 -3
- package/dist/{markdown-B92daSMP.js → markdown--nfaDoR1.js} +2 -2
- package/dist/mdx.js +6 -6
- package/dist/navigation/commands.js +1 -1
- package/dist/{navigation-D3vnWiVv.js → navigation-Cp3p0gss.js} +1 -1
- package/dist/navigation.js +4 -4
- package/dist/packages/collections/src/table-query.d.ts +4 -3
- package/dist/packages/collections/src/use-collection-controls.d.ts +6 -0
- package/dist/packages/kits/src/research/collection-page.d.ts +3 -4
- package/dist/packages/layout/src/app-shell.d.ts +3 -1
- package/dist/packages/layout/src/index.d.ts +4 -4
- package/dist/packages/layout/src/page-inset.d.ts +5 -0
- package/dist/packages/layout/src/page-layout.d.ts +4 -9
- package/dist/packages/layout/src/page-toolbar.d.ts +1 -2
- package/dist/packages/layout/src/reading-column.d.ts +4 -0
- package/dist/packages/layout/src/record-page.d.ts +4 -6
- package/dist/packages/layout/src/sidebar.d.ts +3 -1
- package/dist/packages/layout/src/workbench.d.ts +2 -6
- package/dist/packages/navigation/src/current-page-click.d.ts +3 -0
- package/dist/packages/navigation/src/index.d.ts +1 -0
- package/dist/{param-DfOYi9wL.js → param-CwT1RvUS.js} +1 -1
- package/dist/{pierre-diff-DP_TXXIt.js → pierre-diff-DuvK3kLF.js} +1 -1
- package/dist/{plot-layout-BfXmAi71.js → plot-layout-CvkeUuG6.js} +2 -2
- package/dist/{plot-surface-UQgDiTVe.js → plot-surface-yy37R4vs.js} +1 -1
- package/dist/{reference-lines-BRHB78Wb.js → reference-lines-AMeDkYlo.js} +1 -1
- package/dist/{scene-DlVQupfw.js → scene-BRhI8XSy.js} +6 -6
- package/dist/scene.js +1 -1
- package/dist/{slope-chart-CjXcvoRJ.js → slope-chart-BMOCaa8R.js} +4 -4
- package/dist/{src-DojhQZKX.js → src-9n2M1V_y.js} +376 -399
- package/dist/{src-DPcnDU5H.js → src-BdyO4PgQ.js} +1 -1
- package/dist/{src-BYmv3_AL.js → src-BgmAkau8.js} +37 -31
- package/dist/{src-BdQGb362.js → src-Bns-5joF.js} +4 -4
- package/dist/{src-BYnmQkDq.js → src-C5SH3jjU.js} +2 -2
- package/dist/{src-BI1xQE7D.js → src-C_E29-DX.js} +46 -32
- package/dist/{src-P19zz_aO.js → src-Tu6d_Pm8.js} +535 -531
- package/dist/styles2.css +14 -40
- package/dist/{time-series-Dg3DZRGx.js → time-series-CTNVqoUQ.js} +8 -8
- package/dist/{timeline-C2IVroD3.js → timeline-DrsDtEIW.js} +4 -4
- package/dist/{token-heatmap-CZtIPU60.js → token-heatmap-DddArdH8.js} +3 -3
- package/dist/{token-predictions-BJ5L-Lrm.js → token-predictions-CBykmPID.js} +3 -3
- package/dist/{transport-D9e0H2we.js → transport-r1QgELf8.js} +4 -4
- package/dist/{tree-diagram-DRAJiqjW.js → tree-diagram-BIJFK4pl.js} +4 -4
- package/dist/{treemap-BdELCV7E.js → treemap-DgmEw_mr.js} +4 -4
- package/dist/{use-tween-COV8bEYL.js → use-tween-BWf44Jy4.js} +1 -1
- package/dist/{violin-plot-DuxqWnuD.js → violin-plot-BYJnv6sG.js} +3 -3
- package/dist/{waterfall-D4ewGb4u.js → waterfall-BNseqMas.js} +4 -4
- package/package.json +1 -1
- package/recipes/allocation-report.tsx +4 -4
- package/recipes/calendar-workspace.tsx +14 -10
- package/recipes/consequential-form.tsx +4 -4
- package/recipes/searchable-collection.tsx +69 -59
- package/recipes/sectioned-report.tsx +17 -18
- package/recipes/session-timeline.tsx +59 -0
- package/recipes/tabbed-workspace.tsx +7 -8
- package/recipes/workspace-files.tsx +94 -0
- package/recipes/workspace-report.tsx +130 -0
- package/skills/extend-elements/SKILL.md +20 -0
- package/skills/review-elements/SKILL.md +10 -7
- package/skills/upgrade-elements/references/releases.md +16 -0
- package/skills/use-elements/SKILL.md +6 -2
- package/skills/use-elements/references/collections.md +8 -2
- package/skills/use-elements/references/editorial-restraint.md +13 -18
- package/skills/use-elements/references/reports.md +4 -1
- package/skills/use-elements/references/workspace.md +18 -14
- package/dist/packages/layout/src/detail-page.d.ts +0 -9
- package/dist/packages/layout/src/page-content.d.ts +0 -5
|
@@ -1,46 +1,31 @@
|
|
|
1
|
-
import { E as e, F as t, M as n, O as r, i, k as a, l as o, n as s, u as c } from "./src-
|
|
1
|
+
import { E as e, F as t, M as n, O as r, i, k as a, l as o, n as s, u as c } from "./src-BgmAkau8.js";
|
|
2
2
|
import { t as l } from "./use-scroll-tab-index-Dxpdh4W7.js";
|
|
3
|
-
import { a as u, i as d } from "./src-
|
|
4
|
-
import { n as
|
|
5
|
-
import { a as
|
|
6
|
-
import { r as
|
|
7
|
-
import * as
|
|
8
|
-
import { Button as
|
|
9
|
-
import { createParts as
|
|
10
|
-
import { Children as
|
|
11
|
-
import { definePrimitive as
|
|
12
|
-
import { Fragment as
|
|
13
|
-
import { ArrowLeft as ee, PanelLeft as
|
|
3
|
+
import { a as u, i as d, o as f } from "./src-C_E29-DX.js";
|
|
4
|
+
import { n as p } from "./accessibility-P89UG9-r.js";
|
|
5
|
+
import { a as m, i as h, t as g } from "./src-na2DdkKI.js";
|
|
6
|
+
import { r as _ } from "./commands-rzsDElrG.js";
|
|
7
|
+
import * as v from "@stylexjs/stylex";
|
|
8
|
+
import { Button as y } from "@ui-sdk/react/button";
|
|
9
|
+
import { createParts as b, mergeProps as x } from "@ui-sdk/react/primitive";
|
|
10
|
+
import { Children as S, createContext as C, useContext as w, useEffect as T, useId as E, useLayoutEffect as D, useRef as O, useState as k } from "react";
|
|
11
|
+
import { definePrimitive as A } from "@ui-sdk/core";
|
|
12
|
+
import { Fragment as j, jsx as M, jsxs as N } from "react/jsx-runtime";
|
|
13
|
+
import { ArrowLeft as ee, PanelLeft as P, X as te } from "lucide-react";
|
|
14
14
|
import { Resizable as ne, ResizableHandle as re, ResizablePanel as ie } from "@ui-sdk/react/resizable";
|
|
15
|
-
// packages/layout/src/page-content.tsx
|
|
16
|
-
var P = S(!1);
|
|
17
|
-
function F({ children: e }) {
|
|
18
|
-
let t = C(P);
|
|
19
|
-
return /* @__PURE__ */ j(P, {
|
|
20
|
-
value: !0,
|
|
21
|
-
children: /* @__PURE__ */ j("div", {
|
|
22
|
-
...{
|
|
23
|
-
0: { className: "x9f619 x78zum5 xdt5ytf xdz4d12 xeuugli xg7ukam" },
|
|
24
|
-
1: { className: "x9f619 x78zum5 xdt5ytf xdz4d12 xeuugli x1717udv" }
|
|
25
|
-
}[!!t | 0],
|
|
26
|
-
children: e
|
|
27
|
-
})
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
15
|
// packages/layout/src/page-context.tsx
|
|
31
|
-
var ae =
|
|
16
|
+
var ae = A({
|
|
32
17
|
name: "page-title",
|
|
33
18
|
state: () => ({}),
|
|
34
19
|
api: () => ({}),
|
|
35
20
|
agent: { actions: [] },
|
|
36
21
|
slots: (e) => ({ root: e({}) })
|
|
37
|
-
}),
|
|
22
|
+
}), F = b(ae, { root: "h1" }).Root;
|
|
38
23
|
function oe({ section: e }) {
|
|
39
24
|
if (e === null) return !1;
|
|
40
25
|
let t = e.closest("[data-page-viewport]"), n = Math.max(0, t?.getBoundingClientRect().top ?? 0), r = e.getBoundingClientRect();
|
|
41
26
|
return r.top <= n && r.bottom > n;
|
|
42
27
|
}
|
|
43
|
-
var se =
|
|
28
|
+
var se = A({
|
|
44
29
|
name: "page-section",
|
|
45
30
|
state: () => ({ section: null }),
|
|
46
31
|
api: () => ({}),
|
|
@@ -51,14 +36,29 @@ var se = k({
|
|
|
51
36
|
slots: (e) => ({ root: e({ bind(e, { store: t }) {
|
|
52
37
|
t.set({ section: e });
|
|
53
38
|
} }) })
|
|
54
|
-
}), ce =
|
|
39
|
+
}), ce = b(se, { root: "section" }).Root, I = C(!1);
|
|
40
|
+
function L({ children: e }) {
|
|
41
|
+
let t = w(I);
|
|
42
|
+
return /* @__PURE__ */ M(I, {
|
|
43
|
+
value: !0,
|
|
44
|
+
children: /* @__PURE__ */ M("div", {
|
|
45
|
+
...{
|
|
46
|
+
0: { className: "x9f619 x78zum5 xdt5ytf xdz4d12 xeuugli xg7ukam" },
|
|
47
|
+
1: { className: "x9f619 x78zum5 xdt5ytf xdz4d12 xeuugli x1717udv" }
|
|
48
|
+
}[!!t | 0],
|
|
49
|
+
children: e
|
|
50
|
+
})
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
// packages/layout/src/frame.stylex.ts
|
|
54
|
+
var R = {
|
|
55
55
|
sidebarMobile: "@media (max-width:800px)",
|
|
56
56
|
sidebarDesktopQuery: "(min-width:801px)",
|
|
57
57
|
sidebarCoarse: "@media (min-width:801px) and (pointer: coarse)",
|
|
58
58
|
detailMobile: "@media (max-width:720px)",
|
|
59
59
|
toolbarCompact: "@container toolbar (max-width:600px)",
|
|
60
60
|
workbenchCompact: "@container workbench (max-width:860px)"
|
|
61
|
-
},
|
|
61
|
+
}, z = C(null), B = {
|
|
62
62
|
header: {
|
|
63
63
|
kB7OPa: "x9f619",
|
|
64
64
|
kVAEAm: "x1n2onr6",
|
|
@@ -73,6 +73,10 @@ var se = k({
|
|
|
73
73
|
k1xSpc: "x1s85apg x1rhi5y4",
|
|
74
74
|
$$css: !0
|
|
75
75
|
},
|
|
76
|
+
collapsedNavigation: {
|
|
77
|
+
kg3NbH: "xksvo5r x1dbbav",
|
|
78
|
+
$$css: !0
|
|
79
|
+
},
|
|
76
80
|
footer: {
|
|
77
81
|
kB7OPa: "x9f619",
|
|
78
82
|
kVAEAm: "x1n2onr6",
|
|
@@ -100,7 +104,7 @@ var se = k({
|
|
|
100
104
|
inlineFooter: { $$css: !0 },
|
|
101
105
|
navigationFooter: {
|
|
102
106
|
k1xSpc: "x1lliihq",
|
|
103
|
-
kg3NbH: "
|
|
107
|
+
kg3NbH: "xksvo5r",
|
|
104
108
|
k8WAf4: "xn9t2bk",
|
|
105
109
|
$$css: !0
|
|
106
110
|
},
|
|
@@ -122,68 +126,79 @@ var se = k({
|
|
|
122
126
|
k1xSpc: "x1s85apg x1rhi5y4",
|
|
123
127
|
$$css: !0
|
|
124
128
|
}
|
|
125
|
-
},
|
|
126
|
-
inline:
|
|
127
|
-
|
|
129
|
+
}, V = {
|
|
130
|
+
inline: {
|
|
131
|
+
base: B.inlineFooter,
|
|
132
|
+
collapsed: void 0
|
|
133
|
+
},
|
|
134
|
+
navigation: {
|
|
135
|
+
base: B.navigationFooter,
|
|
136
|
+
collapsed: B.collapsedNavigation
|
|
137
|
+
}
|
|
128
138
|
};
|
|
129
|
-
function
|
|
130
|
-
let
|
|
131
|
-
return /* @__PURE__ */
|
|
132
|
-
/* @__PURE__ */
|
|
133
|
-
...
|
|
134
|
-
children: [/* @__PURE__ */
|
|
139
|
+
function H({ header: e, navigationHeader: t, controls: n, footer: r, close: i, children: a }) {
|
|
140
|
+
let o = w(z), s = o !== null && !o.isExpanded, l = e != null, u = n != null && typeof n != "boolean";
|
|
141
|
+
return /* @__PURE__ */ N(j, { children: [
|
|
142
|
+
/* @__PURE__ */ N("div", {
|
|
143
|
+
...v.props(B.header, c.blockEnd, !l && B.emptyHeader),
|
|
144
|
+
children: [/* @__PURE__ */ M("div", {
|
|
135
145
|
...{
|
|
136
146
|
0: { className: "x78zum5 x6s0dn4 x98rzlu xeuugli x1dc62k6" },
|
|
137
147
|
1: { className: "x78zum5 x6s0dn4 x98rzlu xeuugli xl56j7k x1l31gyv xnjsko4 x7qzpmf" }
|
|
138
|
-
}[!!
|
|
148
|
+
}[!!s | 0],
|
|
139
149
|
children: e
|
|
140
|
-
}),
|
|
150
|
+
}), i]
|
|
141
151
|
}),
|
|
142
152
|
t,
|
|
143
|
-
/* @__PURE__ */
|
|
153
|
+
/* @__PURE__ */ N("div", {
|
|
144
154
|
role: "region",
|
|
145
155
|
"aria-label": "Navigation links",
|
|
146
|
-
|
|
147
|
-
|
|
156
|
+
...{
|
|
157
|
+
0: { className: "x98rzlu x2lwn1j x1odjw0f xish69e x1t137rt x7d1sxj xksvo5r x13qnu6 x9v5kkp x19rmrnh x1bqaal" },
|
|
158
|
+
1: { className: "x98rzlu x2lwn1j x1odjw0f xish69e x1t137rt x7d1sxj x13qnu6 x9v5kkp x19rmrnh x1bqaal xksvo5r x1dbbav" }
|
|
159
|
+
}[!!s | 0],
|
|
160
|
+
children: [u && /* @__PURE__ */ M("div", {
|
|
161
|
+
...{
|
|
162
|
+
0: { className: "xrvj5dj x1hnptsi xeuugli xh6i90z" },
|
|
163
|
+
1: { className: "x1hnptsi xeuugli xh6i90z x1s85apg xxes8j5" }
|
|
164
|
+
}[!!s | 0],
|
|
165
|
+
children: n
|
|
166
|
+
}), a]
|
|
148
167
|
}),
|
|
149
|
-
|
|
168
|
+
r != null && /* @__PURE__ */ M("div", {
|
|
150
169
|
className: "x2lah0s xeuugli xr1yuqi xpvm0e4 x153jb6y",
|
|
151
|
-
children:
|
|
170
|
+
children: r
|
|
152
171
|
})
|
|
153
172
|
] });
|
|
154
173
|
}
|
|
155
|
-
function
|
|
156
|
-
return /* @__PURE__ */
|
|
174
|
+
function le() {
|
|
175
|
+
return /* @__PURE__ */ M("div", {
|
|
157
176
|
className: "x78zum5 x6s0dn4 xl56j7k x14j3e4g x2lah0s",
|
|
158
|
-
children: /* @__PURE__ */
|
|
159
|
-
render: /* @__PURE__ */
|
|
177
|
+
children: /* @__PURE__ */ M(m.Close, {
|
|
178
|
+
render: /* @__PURE__ */ M(r, {
|
|
160
179
|
variant: "ghost",
|
|
161
180
|
"aria-label": "Close navigation"
|
|
162
181
|
}),
|
|
163
|
-
children: /* @__PURE__ */
|
|
182
|
+
children: /* @__PURE__ */ M(te, {
|
|
164
183
|
size: 16,
|
|
165
184
|
"aria-hidden": !0
|
|
166
185
|
})
|
|
167
186
|
})
|
|
168
187
|
});
|
|
169
188
|
}
|
|
170
|
-
function
|
|
171
|
-
|
|
172
|
-
return /* @__PURE__ */ j("nav", {
|
|
189
|
+
function ue({ children: e, label: t = "Main" }) {
|
|
190
|
+
return /* @__PURE__ */ M("nav", {
|
|
173
191
|
"aria-label": t,
|
|
174
|
-
|
|
175
|
-
0: { className: "x78zum5 xdt5ytf xksvo5r" },
|
|
176
|
-
1: { className: "x78zum5 xdt5ytf xksvo5r x1dbbav" }
|
|
177
|
-
}[!!r | 0],
|
|
192
|
+
className: "x78zum5 xdt5ytf",
|
|
178
193
|
children: e
|
|
179
194
|
});
|
|
180
195
|
}
|
|
181
|
-
function
|
|
182
|
-
let n =
|
|
183
|
-
return /* @__PURE__ */
|
|
196
|
+
function de({ children: e, label: t }) {
|
|
197
|
+
let n = w(z), r = n !== null && !n.isExpanded, i = E();
|
|
198
|
+
return /* @__PURE__ */ N("section", {
|
|
184
199
|
"aria-labelledby": i,
|
|
185
200
|
className: "xeuugli",
|
|
186
|
-
children: [/* @__PURE__ */
|
|
201
|
+
children: [/* @__PURE__ */ M("div", {
|
|
187
202
|
id: i,
|
|
188
203
|
...{
|
|
189
204
|
0: { className: "xeuugli xmblgzg xngumbj xksvo5r x153jb6y x1hz01jw xy8obcc xas2l8k xk4h15q xj0a0fe" },
|
|
@@ -193,16 +208,16 @@ function fe({ children: e, label: t }) {
|
|
|
193
208
|
}), e]
|
|
194
209
|
});
|
|
195
210
|
}
|
|
196
|
-
function
|
|
197
|
-
let c =
|
|
198
|
-
return /* @__PURE__ */
|
|
211
|
+
function fe({ children: e, icon: t, isSelected: n = !1, shouldCloseOnActivate: r = !0, onClick: i, className: a, style: o, ...s }) {
|
|
212
|
+
let c = w(z), l = E(), u = c !== null && !c.isExpanded;
|
|
213
|
+
return /* @__PURE__ */ M("div", {
|
|
199
214
|
...{
|
|
200
215
|
0: { className: "x78zum5 xeuugli x1ok0vyi" },
|
|
201
216
|
1: { className: "x78zum5 xeuugli x1ok0vyi x1r7kqkb" }
|
|
202
217
|
}[!!n | 0],
|
|
203
|
-
children: /* @__PURE__ */
|
|
218
|
+
children: /* @__PURE__ */ N(y, {
|
|
204
219
|
...s,
|
|
205
|
-
...
|
|
220
|
+
...p({
|
|
206
221
|
className: a,
|
|
207
222
|
style: o,
|
|
208
223
|
styles: {
|
|
@@ -216,11 +231,11 @@ function pe({ children: e, icon: t, isSelected: n = !1, shouldCloseOnActivate: r
|
|
|
216
231
|
onClick: (e, t) => {
|
|
217
232
|
i !== void 0 && i(e, t), !e.defaultPrevented && c !== null && r && c.onNavigate();
|
|
218
233
|
},
|
|
219
|
-
children: [t != null && /* @__PURE__ */
|
|
234
|
+
children: [t != null && /* @__PURE__ */ M("span", {
|
|
220
235
|
"aria-hidden": !0,
|
|
221
236
|
className: "x3nfvp2 x6s0dn4 xl56j7k xtwnzbg x18utl2x x2lah0s",
|
|
222
237
|
children: t
|
|
223
|
-
}), /* @__PURE__ */
|
|
238
|
+
}), /* @__PURE__ */ M("span", {
|
|
224
239
|
id: l,
|
|
225
240
|
...{
|
|
226
241
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
@@ -231,33 +246,31 @@ function pe({ children: e, icon: t, isSelected: n = !1, shouldCloseOnActivate: r
|
|
|
231
246
|
})
|
|
232
247
|
});
|
|
233
248
|
}
|
|
234
|
-
function
|
|
235
|
-
let c =
|
|
249
|
+
function pe({ children: e, icon: t, isSelected: r = !1, onClick: i, className: a, style: o, ...s }) {
|
|
250
|
+
let c = w(z), l = E(), u = c !== null && !c.isExpanded, d = {
|
|
236
251
|
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
252
|
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
253
|
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
254
|
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
255
|
}[!!u << 1 | !!r];
|
|
241
|
-
return /* @__PURE__ */
|
|
256
|
+
return /* @__PURE__ */ N(n, {
|
|
242
257
|
...s,
|
|
243
258
|
"aria-current": r ? "page" : void 0,
|
|
244
259
|
"aria-labelledby": s["aria-labelledby"] ?? (s["aria-label"] === void 0 ? l : void 0),
|
|
245
260
|
title: s.title ?? (typeof e == "string" ? e : void 0),
|
|
246
261
|
onClick: (e) => {
|
|
247
|
-
|
|
248
|
-
let t = e.metaKey || e.ctrlKey, n = e.shiftKey || e.altKey;
|
|
249
|
-
t || n || c.onNavigate();
|
|
262
|
+
i !== void 0 && i(e), c !== null && f(e) && c.onNavigate();
|
|
250
263
|
},
|
|
251
264
|
className: [d.className, a].filter(Boolean).join(" "),
|
|
252
265
|
style: {
|
|
253
266
|
...d.style,
|
|
254
267
|
...o
|
|
255
268
|
},
|
|
256
|
-
children: [t != null && /* @__PURE__ */
|
|
269
|
+
children: [t != null && /* @__PURE__ */ M("span", {
|
|
257
270
|
"aria-hidden": !0,
|
|
258
271
|
className: "x3nfvp2 x6s0dn4 xl56j7k xtwnzbg x18utl2x x2lah0s",
|
|
259
272
|
children: t
|
|
260
|
-
}), /* @__PURE__ */
|
|
273
|
+
}), /* @__PURE__ */ M("span", {
|
|
261
274
|
id: l,
|
|
262
275
|
...{
|
|
263
276
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
@@ -267,32 +280,32 @@ function me({ children: e, icon: t, isSelected: r = !1, onClick: i, className: a
|
|
|
267
280
|
})]
|
|
268
281
|
});
|
|
269
282
|
}
|
|
270
|
-
function
|
|
271
|
-
let r =
|
|
272
|
-
return /* @__PURE__ */
|
|
283
|
+
function me({ title: e, subtitle: t, icon: n }) {
|
|
284
|
+
let r = w(z), i = r !== null && !r.isExpanded;
|
|
285
|
+
return /* @__PURE__ */ N("div", {
|
|
273
286
|
className: "x78zum5 x6s0dn4 x1hnptsi xeuugli x98rzlu",
|
|
274
|
-
children: [n != null && /* @__PURE__ */
|
|
287
|
+
children: [n != null && /* @__PURE__ */ M("span", {
|
|
275
288
|
"aria-hidden": !0,
|
|
276
289
|
className: "x3nfvp2 x6s0dn4 xl56j7k xtwnzbg x18utl2x x2lah0s",
|
|
277
290
|
children: n
|
|
278
|
-
}), /* @__PURE__ */
|
|
291
|
+
}), /* @__PURE__ */ N("div", {
|
|
279
292
|
...{
|
|
280
293
|
0: { className: "x78zum5 xdt5ytf xeuugli x1u7k74" },
|
|
281
294
|
1: { className: "xdt5ytf xeuugli x1u7k74 x1s85apg xeod2sa" }
|
|
282
295
|
}[!!i | 0],
|
|
283
|
-
children: [/* @__PURE__ */
|
|
296
|
+
children: [/* @__PURE__ */ M("span", {
|
|
284
297
|
className: "xtqrqnz xk4h15q xbixft xb3r6kr xlyipyv xuxw1ft",
|
|
285
298
|
children: e
|
|
286
|
-
}), t !== void 0 && /* @__PURE__ */
|
|
299
|
+
}), t !== void 0 && /* @__PURE__ */ M("span", {
|
|
287
300
|
className: "xy8obcc x153jb6y xb3r6kr xlyipyv xuxw1ft",
|
|
288
301
|
children: t
|
|
289
302
|
})]
|
|
290
303
|
})]
|
|
291
304
|
});
|
|
292
305
|
}
|
|
293
|
-
function
|
|
294
|
-
let n =
|
|
295
|
-
return /* @__PURE__ */
|
|
306
|
+
function he({ children: e, shouldGrow: t = !1 }) {
|
|
307
|
+
let n = w(z), r = n !== null && !n.isExpanded;
|
|
308
|
+
return /* @__PURE__ */ M("span", {
|
|
296
309
|
...{
|
|
297
310
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
298
311
|
2: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft x78zum5 x6s0dn4 x1hnptsi x98rzlu" },
|
|
@@ -302,39 +315,39 @@ function ge({ children: e, shouldGrow: t = !1 }) {
|
|
|
302
315
|
children: e
|
|
303
316
|
});
|
|
304
317
|
}
|
|
305
|
-
function
|
|
306
|
-
let n =
|
|
307
|
-
return /* @__PURE__ */
|
|
308
|
-
...
|
|
318
|
+
function ge({ children: e, layout: t = "inline" }) {
|
|
319
|
+
let n = w(z), r = n !== null && !n.isExpanded;
|
|
320
|
+
return /* @__PURE__ */ M("div", {
|
|
321
|
+
...v.props(B.footer, c.blockStart, r && B.collapsedFooter, V[t].base, r && V[t].collapsed),
|
|
309
322
|
children: e
|
|
310
323
|
});
|
|
311
324
|
}
|
|
312
|
-
function
|
|
313
|
-
let e =
|
|
314
|
-
return e === null ? null : /* @__PURE__ */
|
|
315
|
-
...
|
|
316
|
-
children: /* @__PURE__ */
|
|
325
|
+
function _e() {
|
|
326
|
+
let e = w(z);
|
|
327
|
+
return e === null || e.isFocusMode ? null : /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M("div", {
|
|
328
|
+
...v.props(B.toggleCell, c.inlineEnd, B.desktop),
|
|
329
|
+
children: /* @__PURE__ */ M(r, {
|
|
317
330
|
ref: e.navigationToggleRef,
|
|
318
331
|
variant: "ghost",
|
|
319
332
|
"aria-label": e.isExpanded ? "Collapse navigation" : "Expand navigation",
|
|
320
333
|
"aria-controls": e.sidebarId,
|
|
321
334
|
"aria-expanded": e.isExpanded,
|
|
322
335
|
onClick: e.onToggle,
|
|
323
|
-
children: /* @__PURE__ */
|
|
336
|
+
children: /* @__PURE__ */ M(P, {
|
|
324
337
|
size: 16,
|
|
325
338
|
"aria-hidden": !0
|
|
326
339
|
})
|
|
327
340
|
})
|
|
328
|
-
}), /* @__PURE__ */
|
|
329
|
-
...
|
|
330
|
-
children: /* @__PURE__ */
|
|
341
|
+
}), /* @__PURE__ */ M("div", {
|
|
342
|
+
...v.props(B.toggleCell, c.inlineEnd, B.mobile),
|
|
343
|
+
children: /* @__PURE__ */ M(m.Trigger, {
|
|
331
344
|
ref: e.mobileNavigationToggleRef,
|
|
332
345
|
controller: e.drawerController,
|
|
333
|
-
render: /* @__PURE__ */
|
|
346
|
+
render: /* @__PURE__ */ M(r, {
|
|
334
347
|
variant: "ghost",
|
|
335
348
|
"aria-label": "Open navigation"
|
|
336
349
|
}),
|
|
337
|
-
children: /* @__PURE__ */
|
|
350
|
+
children: /* @__PURE__ */ M(P, {
|
|
338
351
|
size: 16,
|
|
339
352
|
"aria-hidden": !0
|
|
340
353
|
})
|
|
@@ -342,7 +355,7 @@ function ve() {
|
|
|
342
355
|
})] });
|
|
343
356
|
}
|
|
344
357
|
// packages/layout/src/page-toolbar.tsx
|
|
345
|
-
var
|
|
358
|
+
var U = {
|
|
346
359
|
toolbar: {
|
|
347
360
|
kB7OPa: "x9f619",
|
|
348
361
|
kVAEAm: "x7wzq59",
|
|
@@ -371,51 +384,52 @@ var V = {
|
|
|
371
384
|
$$css: !0
|
|
372
385
|
}
|
|
373
386
|
};
|
|
374
|
-
function
|
|
375
|
-
let
|
|
376
|
-
if (
|
|
387
|
+
function ve({ title: e, actions: t, showBreadcrumb: n = !1, leading: r }) {
|
|
388
|
+
let i = S.toArray(e).length > 0, a = S.toArray(t).length > 0, o = S.toArray(r).length > 0;
|
|
389
|
+
if (S.toArray([
|
|
377
390
|
e,
|
|
378
391
|
t,
|
|
379
|
-
|
|
392
|
+
r
|
|
380
393
|
]).length === 0) return null;
|
|
381
|
-
let
|
|
382
|
-
return /* @__PURE__ */
|
|
383
|
-
...
|
|
394
|
+
let s = n ? "nav" : F, l = n ? "div" : "span";
|
|
395
|
+
return /* @__PURE__ */ N("div", {
|
|
396
|
+
...v.props(U.toolbar, c.blockEnd),
|
|
384
397
|
children: [
|
|
385
|
-
|
|
398
|
+
/* @__PURE__ */ M(_e, {}),
|
|
399
|
+
o && /* @__PURE__ */ M("div", {
|
|
386
400
|
className: "x78zum5 x6s0dn4 xyibt8p x2lah0s",
|
|
387
|
-
children:
|
|
388
|
-
})
|
|
389
|
-
|
|
401
|
+
children: r
|
|
402
|
+
}),
|
|
403
|
+
i && /* @__PURE__ */ M(s, {
|
|
390
404
|
tabIndex: n ? void 0 : -1,
|
|
391
405
|
"aria-label": n ? "Breadcrumb" : void 0,
|
|
392
406
|
className: "x78zum5 x6s0dn4 x1hnptsi x1dc62k6 xjnfzvw x1oec0jp x1cqoux5 x1ghz6dp x1qlqyl8 xj57cvi x1t137rt",
|
|
393
|
-
children: /* @__PURE__ */
|
|
407
|
+
children: /* @__PURE__ */ M(l, {
|
|
394
408
|
className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
|
|
395
409
|
children: e
|
|
396
410
|
})
|
|
397
411
|
}),
|
|
398
|
-
|
|
412
|
+
a && /* @__PURE__ */ M("div", {
|
|
399
413
|
className: "x78zum5 x1a02dak x6s0dn4 xunmzkg x1dc62k6 xeuugli x1oec0jp x193iq5w x9f619 xs83m0k x8x9d4c",
|
|
400
414
|
children: t
|
|
401
415
|
})
|
|
402
416
|
]
|
|
403
417
|
});
|
|
404
418
|
}
|
|
405
|
-
function
|
|
419
|
+
function ye({ icon: t, children: n, ...r }) {
|
|
406
420
|
let i = t != null;
|
|
407
|
-
return /* @__PURE__ */
|
|
421
|
+
return /* @__PURE__ */ M("div", {
|
|
408
422
|
className: "x9f619 x78zum5 x1qjc9v5 xeuugli",
|
|
409
|
-
children: /* @__PURE__ */
|
|
423
|
+
children: /* @__PURE__ */ N(e, {
|
|
410
424
|
...r,
|
|
411
425
|
variant: "ghost",
|
|
412
426
|
"aria-label": r["aria-label"] ?? (typeof n == "string" ? n : void 0),
|
|
413
|
-
xstyle:
|
|
414
|
-
children: [i && /* @__PURE__ */
|
|
427
|
+
xstyle: U.action,
|
|
428
|
+
children: [i && /* @__PURE__ */ M("span", {
|
|
415
429
|
"aria-hidden": !0,
|
|
416
430
|
className: "x3nfvp2 x2lah0s x6s0dn4",
|
|
417
431
|
children: t
|
|
418
|
-
}), i || typeof n == "string" ? /* @__PURE__ */
|
|
432
|
+
}), i || typeof n == "string" ? /* @__PURE__ */ M("span", {
|
|
419
433
|
...{
|
|
420
434
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
421
435
|
1: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft xt0psk2 xlllsrz" }
|
|
@@ -426,15 +440,15 @@ function be({ icon: t, children: n, ...r }) {
|
|
|
426
440
|
});
|
|
427
441
|
}
|
|
428
442
|
// packages/layout/src/page-layout.tsx
|
|
429
|
-
function
|
|
443
|
+
function W({ ref: e, navigation: t, children: n, scrollRestorationId: r = "page-body", ...i }) {
|
|
430
444
|
let a = l();
|
|
431
|
-
return /* @__PURE__ */
|
|
445
|
+
return /* @__PURE__ */ N("div", {
|
|
432
446
|
ref: e,
|
|
433
447
|
className: "xtdtrs8 xmz0i5r xeuugli x2lwn1j xrvj5dj x16p6thf",
|
|
434
|
-
children: [/* @__PURE__ */
|
|
448
|
+
children: [/* @__PURE__ */ N("div", {
|
|
435
449
|
className: "xeuugli",
|
|
436
|
-
children: [/* @__PURE__ */
|
|
437
|
-
}), /* @__PURE__ */
|
|
450
|
+
children: [/* @__PURE__ */ M(ve, { ...i }), t !== void 0 && ("isPlaceholder" in t ? /* @__PURE__ */ M(u, { ...t }) : /* @__PURE__ */ M(d, { ...t }))]
|
|
451
|
+
}), /* @__PURE__ */ M("div", {
|
|
438
452
|
ref: a.ref,
|
|
439
453
|
tabIndex: a.tabIndex,
|
|
440
454
|
"data-page-viewport": "",
|
|
@@ -444,33 +458,29 @@ function H({ ref: e, navigation: t, children: n, scrollRestorationId: r = "page-
|
|
|
444
458
|
})]
|
|
445
459
|
});
|
|
446
460
|
}
|
|
447
|
-
function
|
|
448
|
-
let
|
|
449
|
-
return /* @__PURE__ */
|
|
450
|
-
"aria-labelledby":
|
|
461
|
+
function be({ children: e, summary: t, ...n }) {
|
|
462
|
+
let r = t != null && typeof t != "boolean", i = E(), a = n.id ?? i;
|
|
463
|
+
return /* @__PURE__ */ N(ce, {
|
|
464
|
+
"aria-labelledby": a,
|
|
451
465
|
className: "xeuugli x2lah0s xc8icb0",
|
|
452
|
-
children: [/* @__PURE__ */
|
|
466
|
+
children: [/* @__PURE__ */ M("div", {
|
|
453
467
|
className: "x1uhb9sk xsbffnv x13vifvy x11ru5tl",
|
|
454
|
-
children: /* @__PURE__ */
|
|
455
|
-
...
|
|
456
|
-
id:
|
|
468
|
+
children: /* @__PURE__ */ M(o, {
|
|
469
|
+
...n,
|
|
470
|
+
id: a
|
|
457
471
|
})
|
|
458
|
-
}), /* @__PURE__ */
|
|
472
|
+
}), /* @__PURE__ */ N("div", {
|
|
459
473
|
className: "xc8icb0",
|
|
460
|
-
children: [
|
|
461
|
-
i && /* @__PURE__ */ j(F, { children: t }),
|
|
462
|
-
n,
|
|
463
|
-
a && /* @__PURE__ */ j(F, { children: e })
|
|
464
|
-
]
|
|
474
|
+
children: [r && /* @__PURE__ */ M(L, { children: t }), e]
|
|
465
475
|
})]
|
|
466
476
|
});
|
|
467
477
|
}
|
|
468
478
|
// packages/layout/src/devtools-bar.tsx
|
|
469
|
-
var
|
|
479
|
+
var xe = { bar: {
|
|
470
480
|
kOIVth: "x1n8ia3y",
|
|
471
481
|
kAzted: "xzhxzul",
|
|
472
482
|
$$css: !0
|
|
473
|
-
} },
|
|
483
|
+
} }, Se = {
|
|
474
484
|
neutral: { $$css: !0 },
|
|
475
485
|
accent: {
|
|
476
486
|
kWkggS: "x1r8u7ye",
|
|
@@ -478,19 +488,19 @@ var Se = { bar: {
|
|
|
478
488
|
$$css: !0
|
|
479
489
|
}
|
|
480
490
|
};
|
|
481
|
-
function
|
|
482
|
-
return /* @__PURE__ */
|
|
491
|
+
function Ce({ children: e = "DevTools", actions: t, tone: n = "neutral" }) {
|
|
492
|
+
return /* @__PURE__ */ N("aside", {
|
|
483
493
|
"aria-label": "Developer tools",
|
|
484
|
-
...
|
|
485
|
-
children: [e, t != null && /* @__PURE__ */
|
|
486
|
-
...
|
|
494
|
+
...v.props(c.row, c.blockStart, xe.bar, Se[n]),
|
|
495
|
+
children: [e, t != null && /* @__PURE__ */ M("div", {
|
|
496
|
+
...v.props(c.trailing),
|
|
487
497
|
children: t
|
|
488
498
|
})]
|
|
489
499
|
});
|
|
490
500
|
}
|
|
491
|
-
function
|
|
492
|
-
let [t, n] =
|
|
493
|
-
return
|
|
501
|
+
function we(e) {
|
|
502
|
+
let [t, n] = k(!1), r = O(!1);
|
|
503
|
+
return D(() => {
|
|
494
504
|
function t() {
|
|
495
505
|
if (!r.current) try {
|
|
496
506
|
n(globalThis.localStorage.getItem(e) === "1");
|
|
@@ -502,7 +512,7 @@ function Te(e) {
|
|
|
502
512
|
return t(), globalThis.addEventListener("pageshow", t), globalThis.addEventListener("storage", i), () => {
|
|
503
513
|
globalThis.removeEventListener("pageshow", t), globalThis.removeEventListener("storage", i);
|
|
504
514
|
};
|
|
505
|
-
}, [e]),
|
|
515
|
+
}, [e]), _({
|
|
506
516
|
target: typeof document > "u" ? null : document.documentElement,
|
|
507
517
|
isEnabled: !0,
|
|
508
518
|
commands: [{
|
|
@@ -527,7 +537,7 @@ function Te(e) {
|
|
|
527
537
|
}), t;
|
|
528
538
|
}
|
|
529
539
|
// packages/layout/src/navigation-rail.tsx
|
|
530
|
-
var
|
|
540
|
+
var G = C("rail"), K = {
|
|
531
541
|
action: {
|
|
532
542
|
kSGwAc: "xamitd3",
|
|
533
543
|
$$css: !0
|
|
@@ -566,90 +576,88 @@ var U = S("rail"), W = {
|
|
|
566
576
|
$$css: !0
|
|
567
577
|
}
|
|
568
578
|
};
|
|
569
|
-
function
|
|
570
|
-
return /* @__PURE__ */
|
|
579
|
+
function Te(e) {
|
|
580
|
+
return /* @__PURE__ */ M(q, { ...e });
|
|
571
581
|
}
|
|
572
|
-
function
|
|
573
|
-
let l =
|
|
582
|
+
function q({ label: i, links: o, action: s, isFooter: c = !1 }) {
|
|
583
|
+
let l = w(G) === "drawer", u = w(z);
|
|
574
584
|
function d(e, t) {
|
|
575
|
-
e?.(t);
|
|
576
|
-
let n = t.metaKey || t.ctrlKey, r = t.shiftKey || t.altKey;
|
|
577
|
-
t.button !== 0 || n || r || u?.onNavigate();
|
|
585
|
+
e?.(t), f(t) && u?.onNavigate();
|
|
578
586
|
}
|
|
579
|
-
let
|
|
587
|
+
let p = (e) => {
|
|
580
588
|
s?.onClick(e), e.defaultPrevented || u?.onNavigate();
|
|
581
589
|
};
|
|
582
|
-
return l ? /* @__PURE__ */
|
|
590
|
+
return l ? /* @__PURE__ */ N("div", {
|
|
583
591
|
className: "x78zum5 xdt5ytf x1qjc9v5 x2lah0s xeuugli",
|
|
584
|
-
children: [/* @__PURE__ */
|
|
592
|
+
children: [/* @__PURE__ */ M("nav", {
|
|
585
593
|
"aria-label": i,
|
|
586
594
|
...{
|
|
587
595
|
0: { className: "xrvj5dj xnby9oq xunmzkg x1s01oa9" },
|
|
588
596
|
1: { className: "xrvj5dj xunmzkg x1717udv x1mkdm3x" }
|
|
589
597
|
}[!!c | 0],
|
|
590
|
-
children: o.map(({ label: e, icon: r, isCurrent: i = !1, ...a }) => /* @__PURE__ */
|
|
591
|
-
...
|
|
598
|
+
children: o.map(({ label: e, icon: r, isCurrent: i = !1, ...a }) => /* @__PURE__ */ N(n, {
|
|
599
|
+
...x(v.props(t.base, t.button, K.mobileLink, c && K.drawerFooterLink, K.rounded, K.selected), a),
|
|
592
600
|
"aria-current": i ? "location" : void 0,
|
|
593
601
|
onClick: (e) => d(a.onClick, e),
|
|
594
|
-
children: [/* @__PURE__ */
|
|
602
|
+
children: [/* @__PURE__ */ M("span", {
|
|
595
603
|
"aria-hidden": !0,
|
|
596
604
|
className: "x3nfvp2 x2lah0s xtwnzbg x18utl2x",
|
|
597
605
|
children: r
|
|
598
|
-
}), /* @__PURE__ */
|
|
606
|
+
}), /* @__PURE__ */ M("span", {
|
|
599
607
|
className: "xeuugli x193iq5w xj0a0fe",
|
|
600
608
|
children: e
|
|
601
609
|
})]
|
|
602
610
|
}, a.href))
|
|
603
|
-
}), s !== void 0 && /* @__PURE__ */
|
|
611
|
+
}), s !== void 0 && /* @__PURE__ */ M("div", {
|
|
604
612
|
className: "xrvj5dj x14w6jbu xngumbj xso031l x1q0q8m5 x1qndepd",
|
|
605
|
-
children: /* @__PURE__ */
|
|
613
|
+
children: /* @__PURE__ */ N(e, {
|
|
606
614
|
variant: "ghost",
|
|
607
|
-
onClick:
|
|
608
|
-
children: [/* @__PURE__ */
|
|
615
|
+
onClick: p,
|
|
616
|
+
children: [/* @__PURE__ */ M("span", {
|
|
609
617
|
"aria-hidden": !0,
|
|
610
618
|
className: "x3nfvp2 x2lah0s xtwnzbg x18utl2x",
|
|
611
619
|
children: s.icon
|
|
612
620
|
}), s.label]
|
|
613
621
|
})
|
|
614
622
|
})]
|
|
615
|
-
}) : /* @__PURE__ */
|
|
623
|
+
}) : /* @__PURE__ */ N("div", {
|
|
616
624
|
...{
|
|
617
625
|
0: { className: "x78zum5 xdt5ytf x1qjc9v5 x2lah0s xeuugli" },
|
|
618
626
|
1: { className: "x78zum5 xdt5ytf x1qjc9v5 x2lah0s xeuugli x1yrrsrt x1c526fk" }
|
|
619
627
|
}[!c | 0],
|
|
620
|
-
children: [/* @__PURE__ */
|
|
628
|
+
children: [/* @__PURE__ */ M("nav", {
|
|
621
629
|
"aria-label": i,
|
|
622
630
|
className: "x78zum5 xdt5ytf x6s0dn4 xunmzkg",
|
|
623
|
-
children: o.map(({ label: e, icon: t, isCurrent: r = !1, ...i }) => /* @__PURE__ */
|
|
624
|
-
render: /* @__PURE__ */
|
|
625
|
-
render: /* @__PURE__ */
|
|
626
|
-
...
|
|
631
|
+
children: o.map(({ label: e, icon: t, isCurrent: r = !1, ...i }) => /* @__PURE__ */ N(g.Root, { children: [/* @__PURE__ */ M(g.Trigger, {
|
|
632
|
+
render: /* @__PURE__ */ M(a, {
|
|
633
|
+
render: /* @__PURE__ */ M(n, {}),
|
|
634
|
+
...x({ className: "x1yk04ar" }, i),
|
|
627
635
|
"aria-current": r ? "location" : void 0,
|
|
628
636
|
"aria-label": e,
|
|
629
637
|
onClick: (e) => d(i.onClick, e)
|
|
630
638
|
}),
|
|
631
639
|
children: t
|
|
632
|
-
}), /* @__PURE__ */
|
|
640
|
+
}), /* @__PURE__ */ M(g.Popup, {
|
|
633
641
|
side: "right",
|
|
634
642
|
children: e
|
|
635
643
|
})] }, i.href))
|
|
636
|
-
}), s !== void 0 && /* @__PURE__ */
|
|
637
|
-
render: /* @__PURE__ */
|
|
644
|
+
}), s !== void 0 && /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M("hr", { className: "xc342km x178xt8z x13fuv20 xhjagg4 xv06hpe xn92wy8" }), /* @__PURE__ */ N(g.Root, { children: [/* @__PURE__ */ M(g.Trigger, {
|
|
645
|
+
render: /* @__PURE__ */ M(r, {
|
|
638
646
|
variant: "ghost",
|
|
639
647
|
"aria-label": s.label,
|
|
640
|
-
xstyle:
|
|
648
|
+
xstyle: K.action
|
|
641
649
|
}),
|
|
642
|
-
onClick:
|
|
650
|
+
onClick: p,
|
|
643
651
|
children: s.icon
|
|
644
|
-
}), /* @__PURE__ */
|
|
652
|
+
}), /* @__PURE__ */ M(g.Popup, {
|
|
645
653
|
side: "right",
|
|
646
654
|
children: s.label
|
|
647
655
|
})] })] })]
|
|
648
656
|
});
|
|
649
657
|
}
|
|
650
|
-
function
|
|
651
|
-
let t =
|
|
652
|
-
return /* @__PURE__ */
|
|
658
|
+
function Ee({ children: e }) {
|
|
659
|
+
let t = w(G) === "drawer";
|
|
660
|
+
return /* @__PURE__ */ M("div", {
|
|
653
661
|
...{
|
|
654
662
|
0: { className: "x78zum5 xdt5ytf x6s0dn4 xunmzkg x1yrrsrt x1c526fk" },
|
|
655
663
|
1: { className: "x78zum5 xdt5ytf xunmzkg x1yrrsrt x1c526fk x1cy8zhl x14w6jbu" }
|
|
@@ -657,22 +665,22 @@ function De({ children: e }) {
|
|
|
657
665
|
children: e
|
|
658
666
|
});
|
|
659
667
|
}
|
|
660
|
-
function
|
|
661
|
-
return /* @__PURE__ */
|
|
668
|
+
function J({ children: e }) {
|
|
669
|
+
return /* @__PURE__ */ M("span", {
|
|
662
670
|
"aria-hidden": !0,
|
|
663
671
|
className: "xrvj5dj x1ku5rj1 x9c6wpo x1ff4b4a x1f9pz31 x992rv9",
|
|
664
672
|
children: e
|
|
665
673
|
});
|
|
666
674
|
}
|
|
667
|
-
function
|
|
668
|
-
return /* @__PURE__ */
|
|
675
|
+
function De({ count: e, icon: t }) {
|
|
676
|
+
return /* @__PURE__ */ M("div", {
|
|
669
677
|
"aria-hidden": !0,
|
|
670
678
|
className: "x1yrrsrt x1c526fk x78zum5 xdt5ytf x6s0dn4 xunmzkg",
|
|
671
|
-
children: Array.from({ length: e }, (e, n) => /* @__PURE__ */
|
|
679
|
+
children: Array.from({ length: e }, (e, n) => /* @__PURE__ */ M(J, { children: t }, n))
|
|
672
680
|
});
|
|
673
681
|
}
|
|
674
682
|
// packages/layout/src/navigation-rail-menu.tsx
|
|
675
|
-
var
|
|
683
|
+
var Oe = {
|
|
676
684
|
rail: {
|
|
677
685
|
side: "right",
|
|
678
686
|
align: "end"
|
|
@@ -682,32 +690,32 @@ var ke = {
|
|
|
682
690
|
align: "start"
|
|
683
691
|
}
|
|
684
692
|
};
|
|
685
|
-
function
|
|
686
|
-
let i =
|
|
687
|
-
return
|
|
688
|
-
let e = globalThis.matchMedia(
|
|
693
|
+
function Y({ label: e, icon: t, children: n }) {
|
|
694
|
+
let i = w(G), [a, o] = k(!1);
|
|
695
|
+
return T(() => {
|
|
696
|
+
let e = globalThis.matchMedia(R.sidebarDesktopQuery);
|
|
689
697
|
function t() {
|
|
690
698
|
o(!1);
|
|
691
699
|
}
|
|
692
700
|
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
|
|
693
|
-
}, []), /* @__PURE__ */
|
|
701
|
+
}, []), /* @__PURE__ */ N(h.Root, {
|
|
694
702
|
open: a,
|
|
695
703
|
onOpenChange: o,
|
|
696
704
|
modal: !1,
|
|
697
|
-
children: [/* @__PURE__ */
|
|
705
|
+
children: [/* @__PURE__ */ N(g.Root, {
|
|
698
706
|
disabled: a || i === "drawer",
|
|
699
|
-
children: [/* @__PURE__ */
|
|
700
|
-
render: /* @__PURE__ */
|
|
707
|
+
children: [/* @__PURE__ */ M(g.Trigger, {
|
|
708
|
+
render: /* @__PURE__ */ M(h.Trigger, { render: /* @__PURE__ */ M(r, {
|
|
701
709
|
variant: "ghost",
|
|
702
710
|
"aria-label": e
|
|
703
711
|
}) }),
|
|
704
712
|
children: t
|
|
705
|
-
}), /* @__PURE__ */
|
|
713
|
+
}), /* @__PURE__ */ M(g.Popup, {
|
|
706
714
|
side: "right",
|
|
707
715
|
children: e
|
|
708
716
|
})]
|
|
709
|
-
}), /* @__PURE__ */
|
|
710
|
-
...
|
|
717
|
+
}), /* @__PURE__ */ M(h.Popup, {
|
|
718
|
+
...Oe[i],
|
|
711
719
|
sideOffset: 4,
|
|
712
720
|
collisionPadding: 8,
|
|
713
721
|
"aria-label": e,
|
|
@@ -717,9 +725,9 @@ function q({ label: e, icon: t, children: n }) {
|
|
|
717
725
|
});
|
|
718
726
|
}
|
|
719
727
|
// packages/layout/src/shell-bottom-bar.tsx
|
|
720
|
-
function
|
|
721
|
-
let t =
|
|
722
|
-
return
|
|
728
|
+
function ke({ children: e }) {
|
|
729
|
+
let t = O(null);
|
|
730
|
+
return D(() => {
|
|
723
731
|
let e = t.current;
|
|
724
732
|
if (e === null) return;
|
|
725
733
|
let n = e.ownerDocument.documentElement;
|
|
@@ -731,7 +739,7 @@ function Ae({ children: e }) {
|
|
|
731
739
|
return i.observe(e, { box: "border-box" }), () => {
|
|
732
740
|
i.disconnect(), n.style.removeProperty("--mechane-shell-bottom-inset");
|
|
733
741
|
};
|
|
734
|
-
}, []), /* @__PURE__ */
|
|
742
|
+
}, []), /* @__PURE__ */ M("div", {
|
|
735
743
|
ref: t,
|
|
736
744
|
"data-mechane-shell-bottom-bar": "",
|
|
737
745
|
className: "xeuugli xrvj5dj xbjcvb9 x1a148e8",
|
|
@@ -739,7 +747,7 @@ function Ae({ children: e }) {
|
|
|
739
747
|
});
|
|
740
748
|
}
|
|
741
749
|
// packages/layout/src/app-shell.tsx
|
|
742
|
-
var
|
|
750
|
+
var X = {
|
|
743
751
|
sidebar: {
|
|
744
752
|
kB7OPa: "x9f619",
|
|
745
753
|
k1xSpc: "x78zum5 x1ykma7f",
|
|
@@ -775,123 +783,121 @@ var J = {
|
|
|
775
783
|
$$css: !0
|
|
776
784
|
}
|
|
777
785
|
};
|
|
778
|
-
function
|
|
779
|
-
return /* @__PURE__ */
|
|
786
|
+
function Z({ footer: e }) {
|
|
787
|
+
return /* @__PURE__ */ M("div", {
|
|
780
788
|
className: "x2lah0s x1vod7vm",
|
|
781
|
-
children: /* @__PURE__ */
|
|
789
|
+
children: /* @__PURE__ */ M(Ee, { children: "placeholder" in e ? /* @__PURE__ */ N(j, { children: [e.placeholder.linkIcon !== void 0 && /* @__PURE__ */ M(J, { children: e.placeholder.linkIcon }), /* @__PURE__ */ M(J, { children: e.placeholder.menuIcon })] }) : /* @__PURE__ */ N(j, { children: [e.navigation !== void 0 && /* @__PURE__ */ M(q, {
|
|
782
790
|
...e.navigation,
|
|
783
791
|
isFooter: !0
|
|
784
|
-
}), /* @__PURE__ */
|
|
792
|
+
}), /* @__PURE__ */ M(Y, { ...e.menu })] }) })
|
|
785
793
|
});
|
|
786
794
|
}
|
|
787
|
-
function
|
|
788
|
-
let
|
|
789
|
-
return
|
|
790
|
-
let e = globalThis.matchMedia(
|
|
795
|
+
function Ae({ rail: e, railFooter: t, sidebarHeader: n, sidebarControls: r, sidebar: i, footer: a, bottomBar: o, children: s, mainId: l = "main", shouldFocus: u = !1 }) {
|
|
796
|
+
let d = o != null && typeof o != "boolean", f = e != null, [p, h] = k(!0), [g, _] = k(!1), y = u || f && !p, [b] = k(() => m.createController()), x = E(), S = O(null), C = O(null), w = O(null), D = O(!1);
|
|
797
|
+
return T(() => {
|
|
798
|
+
let e = globalThis.matchMedia(R.sidebarDesktopQuery);
|
|
791
799
|
function t() {
|
|
792
|
-
e.matches &&
|
|
800
|
+
e.matches && _(!1);
|
|
793
801
|
}
|
|
794
802
|
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
|
|
795
|
-
}, []), /* @__PURE__ */
|
|
803
|
+
}, []), /* @__PURE__ */ N(z.Provider, {
|
|
796
804
|
value: {
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
805
|
+
isFocusMode: u,
|
|
806
|
+
isExpanded: p,
|
|
807
|
+
sidebarId: x,
|
|
808
|
+
drawerController: b,
|
|
809
|
+
navigationToggleRef: S,
|
|
810
|
+
mobileNavigationToggleRef: C,
|
|
811
|
+
onToggle: () => h((e) => !e),
|
|
803
812
|
onNavigate: () => {
|
|
804
|
-
|
|
813
|
+
D.current = g, _(!1);
|
|
805
814
|
}
|
|
806
815
|
},
|
|
807
|
-
children: [/* @__PURE__ */
|
|
816
|
+
children: [/* @__PURE__ */ N("div", {
|
|
808
817
|
className: "x9f619 xtdtrs8 xb3r6kr xrvj5dj x1sx1omo x1mkdm3x xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
809
|
-
children: [/* @__PURE__ */
|
|
818
|
+
children: [/* @__PURE__ */ N("div", {
|
|
810
819
|
...{
|
|
811
820
|
0: { className: "x78zum5 xeuugli x2lwn1j" },
|
|
812
821
|
1: { className: "x78zum5 xeuugli x2lwn1j xcl5tbm" }
|
|
813
|
-
}[!!
|
|
822
|
+
}[!!d | 0],
|
|
814
823
|
children: [
|
|
815
|
-
|
|
816
|
-
hidden:
|
|
817
|
-
...
|
|
818
|
-
children: [/* @__PURE__ */
|
|
824
|
+
f && /* @__PURE__ */ N("div", {
|
|
825
|
+
hidden: u,
|
|
826
|
+
...v.props(X.sidebar, c.inlineEnd, X.rail, u && X.hidden),
|
|
827
|
+
children: [/* @__PURE__ */ M("div", {
|
|
819
828
|
className: "x98rzlu x2lwn1j x1odjw0f x1e4zzel",
|
|
820
829
|
children: e
|
|
821
|
-
}), t !== void 0 && /* @__PURE__ */
|
|
830
|
+
}), t !== void 0 && /* @__PURE__ */ M(Z, { footer: t })]
|
|
822
831
|
}),
|
|
823
|
-
/* @__PURE__ */
|
|
824
|
-
id:
|
|
832
|
+
/* @__PURE__ */ M("aside", {
|
|
833
|
+
id: x,
|
|
825
834
|
"aria-label": "Navigation",
|
|
826
|
-
hidden:
|
|
827
|
-
...
|
|
828
|
-
children: /* @__PURE__ */
|
|
835
|
+
hidden: y,
|
|
836
|
+
...v.props(X.sidebar, c.inlineEnd, f && X.secondary, !f && !p && X.collapsed, y && X.hidden),
|
|
837
|
+
children: /* @__PURE__ */ M(H, {
|
|
829
838
|
header: n,
|
|
830
|
-
|
|
831
|
-
|
|
839
|
+
controls: r,
|
|
840
|
+
footer: a,
|
|
841
|
+
children: i
|
|
832
842
|
})
|
|
833
843
|
}),
|
|
834
|
-
/* @__PURE__ */
|
|
835
|
-
id:
|
|
844
|
+
/* @__PURE__ */ M("main", {
|
|
845
|
+
id: l,
|
|
836
846
|
tabIndex: -1,
|
|
837
847
|
className: "xeuugli x2lwn1j x98rzlu x78zum5 xdt5ytf x1odjw0f x6i9wio",
|
|
838
|
-
children:
|
|
848
|
+
children: s
|
|
839
849
|
})
|
|
840
850
|
]
|
|
841
|
-
}),
|
|
842
|
-
}), /* @__PURE__ */
|
|
843
|
-
controller:
|
|
844
|
-
open:
|
|
845
|
-
onOpenChange:
|
|
846
|
-
children: [/* @__PURE__ */
|
|
847
|
-
ref:
|
|
848
|
-
xstyle:
|
|
851
|
+
}), d && /* @__PURE__ */ M(ke, { children: o })]
|
|
852
|
+
}), /* @__PURE__ */ N(m.Root, {
|
|
853
|
+
controller: b,
|
|
854
|
+
open: g && !u,
|
|
855
|
+
onOpenChange: _,
|
|
856
|
+
children: [/* @__PURE__ */ M(m.Backdrop, {}), /* @__PURE__ */ N(m.Popup, {
|
|
857
|
+
ref: w,
|
|
858
|
+
xstyle: X.drawer,
|
|
849
859
|
finalFocus: () => {
|
|
850
|
-
if (
|
|
851
|
-
|
|
852
|
-
let e = document.querySelector(`#${CSS.escape(
|
|
860
|
+
if (D.current) {
|
|
861
|
+
D.current = !1;
|
|
862
|
+
let e = document.querySelector(`#${CSS.escape(l)}`), t = document.activeElement;
|
|
853
863
|
if (t instanceof HTMLElement) {
|
|
854
864
|
let e = t.closest("[role=\"dialog\"], [role=\"alertdialog\"]");
|
|
855
|
-
if (e !== null && e !==
|
|
865
|
+
if (e !== null && e !== w.current) return t;
|
|
856
866
|
}
|
|
857
867
|
return t instanceof HTMLElement && e?.contains(t) === !0 ? t : e;
|
|
858
868
|
}
|
|
859
|
-
return globalThis.matchMedia(
|
|
869
|
+
return globalThis.matchMedia(R.sidebarDesktopQuery).matches ? S.current : C.current;
|
|
860
870
|
},
|
|
861
|
-
children: [/* @__PURE__ */
|
|
871
|
+
children: [/* @__PURE__ */ M(m.Title, {
|
|
862
872
|
isVisuallyHidden: !0,
|
|
863
873
|
children: "Navigation"
|
|
864
|
-
}), /* @__PURE__ */
|
|
874
|
+
}), /* @__PURE__ */ M(H, {
|
|
865
875
|
header: n,
|
|
866
|
-
|
|
876
|
+
controls: r,
|
|
877
|
+
navigationHeader: f && /* @__PURE__ */ M(G.Provider, {
|
|
867
878
|
value: "drawer",
|
|
868
879
|
children: e
|
|
869
880
|
}),
|
|
870
|
-
footer: /* @__PURE__ */
|
|
881
|
+
footer: /* @__PURE__ */ N(j, { children: [a, f && t !== void 0 && /* @__PURE__ */ M(G.Provider, {
|
|
871
882
|
value: "drawer",
|
|
872
|
-
children: /* @__PURE__ */
|
|
883
|
+
children: /* @__PURE__ */ M(Z, { footer: t })
|
|
873
884
|
})] }),
|
|
874
|
-
close: /* @__PURE__ */
|
|
875
|
-
children:
|
|
885
|
+
close: /* @__PURE__ */ M(le, {}),
|
|
886
|
+
children: i
|
|
876
887
|
})]
|
|
877
888
|
})]
|
|
878
889
|
})]
|
|
879
890
|
});
|
|
880
891
|
}
|
|
881
|
-
// packages/layout/src/
|
|
882
|
-
function
|
|
883
|
-
return /* @__PURE__ */
|
|
884
|
-
|
|
885
|
-
0: { className: "x9f619 x13na7z x96idz6 x9g60mw xeuugli xvueqy4 xnjsko4 x10gdey3 x14y0u4g x1foqgtu x1uwsqpk x14oio8y" },
|
|
886
|
-
2: { className: "x9f619 xeuugli xvueqy4 xh8yej3 x1x1rfll x1dc62k6 x10d9x1d x1l52sgj" },
|
|
887
|
-
1: { className: "x9f619 x13na7z x96idz6 x9g60mw xeuugli xvueqy4 xnjsko4 xexx8yu x18d9i69" },
|
|
888
|
-
3: { className: "x9f619 xeuugli xvueqy4 xh8yej3 x1x1rfll xnjsko4 xexx8yu x18d9i69" }
|
|
889
|
-
}[!!t << 1 | !!(t && n)],
|
|
892
|
+
// packages/layout/src/reading-column.tsx
|
|
893
|
+
function je({ children: e }) {
|
|
894
|
+
return /* @__PURE__ */ M("div", {
|
|
895
|
+
className: "x9f619 x13na7z x96idz6 x9g60mw xeuugli xvueqy4 xnjsko4 x10gdey3 x14y0u4g x1foqgtu x1uwsqpk x14oio8y",
|
|
890
896
|
children: e
|
|
891
897
|
});
|
|
892
898
|
}
|
|
893
899
|
// packages/layout/src/figure-grid.tsx
|
|
894
|
-
var
|
|
900
|
+
var Q = {
|
|
895
901
|
grid: {
|
|
896
902
|
k1xSpc: "xrvj5dj",
|
|
897
903
|
kOIVth: "x1j825kq",
|
|
@@ -912,26 +918,26 @@ var Z = {
|
|
|
912
918
|
$$css: !0
|
|
913
919
|
}
|
|
914
920
|
}, Me = {
|
|
915
|
-
"2-up":
|
|
916
|
-
"hero-aside":
|
|
917
|
-
"3-up":
|
|
921
|
+
"2-up": Q.twoUp,
|
|
922
|
+
"hero-aside": Q.heroAside,
|
|
923
|
+
"3-up": Q.threeUp
|
|
918
924
|
};
|
|
919
925
|
function Ne({ layout: e = "2-up", children: t, ...n }) {
|
|
920
|
-
return /* @__PURE__ */
|
|
926
|
+
return /* @__PURE__ */ M("div", {
|
|
921
927
|
className: "x12h1iku x1rb1qiq xeuugli",
|
|
922
|
-
children: /* @__PURE__ */
|
|
923
|
-
...
|
|
928
|
+
children: /* @__PURE__ */ M("div", {
|
|
929
|
+
...x(v.props(Q.grid, Me[e]), n),
|
|
924
930
|
children: t
|
|
925
931
|
})
|
|
926
932
|
});
|
|
927
933
|
}
|
|
928
934
|
// packages/layout/src/focus-page.tsx
|
|
929
935
|
function Pe({ children: e }) {
|
|
930
|
-
return /* @__PURE__ */
|
|
936
|
+
return /* @__PURE__ */ M("main", {
|
|
931
937
|
id: "main",
|
|
932
938
|
tabIndex: -1,
|
|
933
939
|
className: "x9f619 x1ov3xa9 xeuugli xrvj5dj x1ku5rj1 x1jvlu93 xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
934
|
-
children: /* @__PURE__ */
|
|
940
|
+
children: /* @__PURE__ */ M("div", {
|
|
935
941
|
className: "xh8yej3 xxc7z9f xeuugli xrvj5dj x1mkdm3x x1j825kq",
|
|
936
942
|
children: e
|
|
937
943
|
})
|
|
@@ -939,7 +945,7 @@ function Pe({ children: e }) {
|
|
|
939
945
|
}
|
|
940
946
|
// packages/layout/src/resizable.tsx
|
|
941
947
|
function Fe({ orientation: e = "horizontal", initialSizes: t, onSizesChange: n, disabled: r = !1, ref: i, ...a }) {
|
|
942
|
-
return /* @__PURE__ */
|
|
948
|
+
return /* @__PURE__ */ M(ne, {
|
|
943
949
|
orientation: e,
|
|
944
950
|
...t !== void 0 && { defaultLayout: t },
|
|
945
951
|
onLayoutCommit: (e, { event: t }) => {
|
|
@@ -947,121 +953,99 @@ function Fe({ orientation: e = "horizontal", initialSizes: t, onSizesChange: n,
|
|
|
947
953
|
},
|
|
948
954
|
disabled: r,
|
|
949
955
|
ref: i,
|
|
950
|
-
...
|
|
956
|
+
...x({ className: "xeuugli x2lwn1j xh8yej3 x5yr21d" }, a)
|
|
951
957
|
});
|
|
952
958
|
}
|
|
953
959
|
function Ie({ id: e, initialSizePercent: t, minimumSizePercent: n = 10, maximumSizePercent: r = 100, canCollapse: i = !1, ref: a, ...o }) {
|
|
954
|
-
return /* @__PURE__ */
|
|
960
|
+
return /* @__PURE__ */ M(ie, {
|
|
955
961
|
id: e,
|
|
956
962
|
...t !== void 0 && { defaultSize: t },
|
|
957
963
|
minSize: n,
|
|
958
964
|
maxSize: r,
|
|
959
965
|
collapsible: i,
|
|
960
966
|
ref: a,
|
|
961
|
-
...
|
|
967
|
+
...x({ className: "xeuugli x2lwn1j xysyzu8" }, o)
|
|
962
968
|
});
|
|
963
969
|
}
|
|
964
970
|
function Le({ ref: e, ...t }) {
|
|
965
|
-
return /* @__PURE__ */
|
|
971
|
+
return /* @__PURE__ */ M(re, {
|
|
966
972
|
ref: e,
|
|
967
|
-
...
|
|
973
|
+
...x({ 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)
|
|
968
974
|
});
|
|
969
975
|
}
|
|
970
|
-
var
|
|
976
|
+
var $ = {
|
|
971
977
|
Root: Fe,
|
|
972
978
|
Pane: Ie,
|
|
973
979
|
Handle: Le
|
|
974
980
|
};
|
|
975
981
|
// packages/layout/src/workbench.tsx
|
|
976
|
-
function Re({ header: e, children: t, inspector: n
|
|
977
|
-
let
|
|
978
|
-
return /* @__PURE__ */
|
|
982
|
+
function Re({ header: e, children: t, inspector: n }) {
|
|
983
|
+
let r = E(), i = n !== void 0;
|
|
984
|
+
return /* @__PURE__ */ N("div", {
|
|
979
985
|
className: "x78zum5 xdt5ytf xtdtrs8 xmz0i5r x98rzlu xeuugli x2lwn1j x12h1iku x1a75771 xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel",
|
|
980
|
-
children: [e != null && /* @__PURE__ */
|
|
986
|
+
children: [e != null && /* @__PURE__ */ M("div", {
|
|
981
987
|
className: "xeuugli x2lah0s x1ydxw8w xnx3t7k xso031l x1q0q8m5 x1qndepd",
|
|
982
988
|
children: e
|
|
983
|
-
}), /* @__PURE__ */
|
|
989
|
+
}), /* @__PURE__ */ M("div", {
|
|
984
990
|
className: "x78zum5 x98rzlu xeuugli x2lwn1j x7giv3",
|
|
985
|
-
children:
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
})
|
|
1014
|
-
}), /* @__PURE__ */ j("div", {
|
|
1015
|
-
className: "x1s85apg xbv8p1s x98rzlu xeuugli x2lwn1j",
|
|
1016
|
-
children: /* @__PURE__ */ j("aside", {
|
|
1017
|
-
"aria-label": n.label,
|
|
1018
|
-
className: "x9f619 x1peuizl x1vx4hiz xeuugli x2lah0s x1odjw0f x1c8xbx5 xpvm0e4 xe0pwq xs311s2 x19ypqd9 x1l3ounx",
|
|
1019
|
-
children: n.content
|
|
1020
|
-
})
|
|
1021
|
-
})] }) : /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j("div", {
|
|
1022
|
-
...{
|
|
1023
|
-
0: { className: "x1n2onr6 x78zum5 x98rzlu xdt5ytf xeuugli x2lwn1j" },
|
|
1024
|
-
1: { className: "x1n2onr6 x98rzlu xdt5ytf xeuugli x2lwn1j x78zum5 x152g2jv" }
|
|
1025
|
-
}[n !== void 0 | 0],
|
|
1026
|
-
children: t
|
|
1027
|
-
}), n !== void 0 && /* @__PURE__ */ j("aside", {
|
|
1028
|
-
"aria-label": n.label,
|
|
1029
|
-
className: "x9f619 x1peuizl x1vx4hiz xeuugli x2lah0s x1odjw0f x1c8xbx5 xpvm0e4 xe0pwq xs311s2 x19ypqd9 x1l3ounx",
|
|
1030
|
-
children: n.content
|
|
1031
|
-
})] })
|
|
991
|
+
children: /* @__PURE__ */ N($.Root, {
|
|
992
|
+
disabled: !i,
|
|
993
|
+
className: "x1n2onr6",
|
|
994
|
+
children: [/* @__PURE__ */ M($.Pane, {
|
|
995
|
+
id: `${r}-main`,
|
|
996
|
+
initialSizePercent: 64,
|
|
997
|
+
minimumSizePercent: 30,
|
|
998
|
+
...{
|
|
999
|
+
0: { className: "x78zum5 xdt5ytf x10l6tqk x10a8y8t" },
|
|
1000
|
+
1: { className: "xdt5ytf x78zum5 x152g2jv" }
|
|
1001
|
+
}[!!i | 0],
|
|
1002
|
+
children: t
|
|
1003
|
+
}), n !== void 0 && /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M($.Handle, {
|
|
1004
|
+
"aria-label": `Resize ${n.label}`,
|
|
1005
|
+
className: "x78zum5 x152g2jv"
|
|
1006
|
+
}), /* @__PURE__ */ M($.Pane, {
|
|
1007
|
+
id: `${r}-inspector`,
|
|
1008
|
+
initialSizePercent: 36,
|
|
1009
|
+
minimumSizePercent: 20,
|
|
1010
|
+
maximumSizePercent: 70,
|
|
1011
|
+
className: "x78zum5 xdt5ytf x1n2onr6 x1kh2hu9 x10a8y8t",
|
|
1012
|
+
children: /* @__PURE__ */ M("aside", {
|
|
1013
|
+
"aria-label": n.label,
|
|
1014
|
+
className: "x2lwn1j xeuugli x98rzlu xysyzu8 xpvm0e4",
|
|
1015
|
+
children: n.content
|
|
1016
|
+
})
|
|
1017
|
+
})] })]
|
|
1018
|
+
})
|
|
1032
1019
|
})]
|
|
1033
1020
|
});
|
|
1034
1021
|
}
|
|
1035
|
-
function ze({ label: e, children: t,
|
|
1036
|
-
let
|
|
1037
|
-
return /* @__PURE__ */
|
|
1038
|
-
ref:
|
|
1022
|
+
function ze({ label: e, children: t, scrollRestorationId: n }) {
|
|
1023
|
+
let r = l();
|
|
1024
|
+
return /* @__PURE__ */ M("div", {
|
|
1025
|
+
ref: r.ref,
|
|
1039
1026
|
role: "region",
|
|
1040
1027
|
"aria-label": e,
|
|
1041
|
-
tabIndex:
|
|
1042
|
-
"data-scroll-restoration-id":
|
|
1043
|
-
|
|
1044
|
-
0: { className: "x1odjw0f x1e4zzel x98rzlu xeuugli x2lwn1j x1jvlu93 x1t137rt x13qnu6 x9v5kkp x19rmrnh x1bqaal" },
|
|
1045
|
-
1: { className: "x1odjw0f x1e4zzel x98rzlu xeuugli x2lwn1j x1t137rt x13qnu6 x9v5kkp x19rmrnh x1bqaal x1717udv" }
|
|
1046
|
-
}[!!n | 0],
|
|
1028
|
+
tabIndex: r.tabIndex,
|
|
1029
|
+
"data-scroll-restoration-id": n,
|
|
1030
|
+
className: "x1odjw0f x1e4zzel x98rzlu xeuugli x2lwn1j x1t137rt x13qnu6 x9v5kkp x19rmrnh x1bqaal",
|
|
1047
1031
|
children: t
|
|
1048
1032
|
});
|
|
1049
1033
|
}
|
|
1050
1034
|
function Be({ children: e }) {
|
|
1051
|
-
return /* @__PURE__ */
|
|
1035
|
+
return /* @__PURE__ */ M("div", {
|
|
1052
1036
|
className: "x2lah0s x1c8xbx5 x178xt8z x13fuv20 xhjagg4 xpvm0e4",
|
|
1053
1037
|
children: e
|
|
1054
1038
|
});
|
|
1055
1039
|
}
|
|
1056
1040
|
// packages/layout/src/view-stack.tsx
|
|
1057
1041
|
function Ve({ children: e }) {
|
|
1058
|
-
return /* @__PURE__ */
|
|
1042
|
+
return /* @__PURE__ */ M("div", {
|
|
1059
1043
|
className: "x1n2onr6 x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j",
|
|
1060
1044
|
children: e
|
|
1061
1045
|
});
|
|
1062
1046
|
}
|
|
1063
|
-
function
|
|
1064
|
-
return /* @__PURE__ */
|
|
1047
|
+
function He({ isActive: e, children: t }) {
|
|
1048
|
+
return /* @__PURE__ */ M("section", {
|
|
1065
1049
|
"aria-hidden": !e,
|
|
1066
1050
|
inert: !e,
|
|
1067
1051
|
...{
|
|
@@ -1071,27 +1055,27 @@ function $({ isActive: e, children: t }) {
|
|
|
1071
1055
|
children: t
|
|
1072
1056
|
});
|
|
1073
1057
|
}
|
|
1074
|
-
var
|
|
1058
|
+
var Ue = {
|
|
1075
1059
|
Root: Ve,
|
|
1076
|
-
Panel:
|
|
1060
|
+
Panel: He
|
|
1077
1061
|
};
|
|
1078
1062
|
// packages/layout/src/collection-layout.tsx
|
|
1079
|
-
function
|
|
1080
|
-
return /* @__PURE__ */
|
|
1063
|
+
function We({ header: e, children: t }) {
|
|
1064
|
+
return /* @__PURE__ */ N("div", {
|
|
1081
1065
|
"data-page-layout": "collection",
|
|
1082
1066
|
className: "x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j x7giv3",
|
|
1083
|
-
children: [/* @__PURE__ */
|
|
1067
|
+
children: [/* @__PURE__ */ M("div", {
|
|
1084
1068
|
className: "x2lah0s xeuugli",
|
|
1085
1069
|
children: e
|
|
1086
|
-
}), /* @__PURE__ */
|
|
1070
|
+
}), /* @__PURE__ */ M("div", {
|
|
1087
1071
|
className: "x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j",
|
|
1088
1072
|
children: t
|
|
1089
1073
|
})]
|
|
1090
1074
|
});
|
|
1091
1075
|
}
|
|
1092
1076
|
// packages/layout/src/record-page.tsx
|
|
1093
|
-
function
|
|
1094
|
-
return /* @__PURE__ */
|
|
1077
|
+
function Ge({ backLabel: e, backHref: t, onBack: r }) {
|
|
1078
|
+
return /* @__PURE__ */ N(n, {
|
|
1095
1079
|
href: t,
|
|
1096
1080
|
className: "x3nfvp2 x6s0dn4 x1hnptsi xid9utz xeuugli x193iq5w xbixft xkrqix3 x5638nf x13qnu6 x9v5kkp x19rmrnh x1bqaal",
|
|
1097
1081
|
onClick: (e) => {
|
|
@@ -1099,75 +1083,68 @@ function We({ backLabel: e, backHref: t, onBack: r }) {
|
|
|
1099
1083
|
let t = e.metaKey || e.ctrlKey, n = e.shiftKey || e.altKey;
|
|
1100
1084
|
t || n || (e.preventDefault(), r());
|
|
1101
1085
|
},
|
|
1102
|
-
children: [/* @__PURE__ */
|
|
1086
|
+
children: [/* @__PURE__ */ M(ee, {
|
|
1103
1087
|
size: 16,
|
|
1104
1088
|
"aria-hidden": !0,
|
|
1105
1089
|
className: "x2lah0s"
|
|
1106
|
-
}), /* @__PURE__ */
|
|
1090
|
+
}), /* @__PURE__ */ M("span", {
|
|
1107
1091
|
className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
|
|
1108
1092
|
children: e
|
|
1109
1093
|
})]
|
|
1110
1094
|
});
|
|
1111
1095
|
}
|
|
1112
|
-
function
|
|
1113
|
-
return /* @__PURE__ */
|
|
1096
|
+
function Ke({ navigation: e, children: t, ...n }) {
|
|
1097
|
+
return /* @__PURE__ */ M(W, {
|
|
1114
1098
|
showBreadcrumb: !0,
|
|
1115
|
-
showNavigation: n.showNavigation ?? !0,
|
|
1116
1099
|
actions: n.actions,
|
|
1117
|
-
title: /* @__PURE__ */
|
|
1100
|
+
title: /* @__PURE__ */ M(Ge, { ...n }),
|
|
1118
1101
|
navigation: e,
|
|
1119
1102
|
children: t
|
|
1120
1103
|
});
|
|
1121
1104
|
}
|
|
1122
|
-
function
|
|
1123
|
-
return /* @__PURE__ */
|
|
1124
|
-
className: "x78zum5
|
|
1125
|
-
children:
|
|
1126
|
-
isWide: t,
|
|
1127
|
-
children: /* @__PURE__ */ j("div", {
|
|
1128
|
-
className: "x78zum5 x1a02dak x1cy8zhl xdz4d12 xeuugli",
|
|
1129
|
-
children: e
|
|
1130
|
-
})
|
|
1131
|
-
})
|
|
1105
|
+
function qe({ children: e }) {
|
|
1106
|
+
return /* @__PURE__ */ M("div", {
|
|
1107
|
+
className: "x78zum5 x1a02dak x1cy8zhl xdz4d12 xeuugli xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
1108
|
+
children: e
|
|
1132
1109
|
});
|
|
1133
1110
|
}
|
|
1134
|
-
function
|
|
1135
|
-
return /* @__PURE__ */
|
|
1111
|
+
function Je({ children: e }) {
|
|
1112
|
+
return /* @__PURE__ */ M("div", {
|
|
1136
1113
|
className: "x78zum5 xdt5ytf x1ewej1i x1iyjqo2 xdz4d12 xeuugli",
|
|
1137
1114
|
children: e
|
|
1138
1115
|
});
|
|
1139
1116
|
}
|
|
1140
|
-
function
|
|
1141
|
-
return /* @__PURE__ */
|
|
1117
|
+
function Ye({ title: e, description: t, icon: n, titleRef: r }) {
|
|
1118
|
+
return /* @__PURE__ */ N("header", {
|
|
1142
1119
|
className: "xrvj5dj x1n8ia3y xeuugli",
|
|
1143
|
-
children: [/* @__PURE__ */
|
|
1120
|
+
children: [/* @__PURE__ */ N("div", {
|
|
1144
1121
|
className: "x78zum5 x6s0dn4 x1n8ia3y xeuugli",
|
|
1145
|
-
children: [n != null && /* @__PURE__ */
|
|
1122
|
+
children: [n != null && /* @__PURE__ */ M("span", {
|
|
1146
1123
|
"aria-hidden": !0,
|
|
1147
1124
|
className: "x3nfvp2 x6s0dn4 x2lah0s",
|
|
1148
1125
|
children: n
|
|
1149
|
-
}), /* @__PURE__ */
|
|
1150
|
-
render: /* @__PURE__ */
|
|
1126
|
+
}), /* @__PURE__ */ M(F, {
|
|
1127
|
+
render: /* @__PURE__ */ M(s, {}),
|
|
1151
1128
|
ref: r,
|
|
1152
1129
|
tabIndex: -1,
|
|
1153
1130
|
className: "xeuugli x1t137rt",
|
|
1154
1131
|
children: e
|
|
1155
1132
|
})]
|
|
1156
|
-
}), t != null && /* @__PURE__ */
|
|
1133
|
+
}), t != null && /* @__PURE__ */ M(i, { children: t })]
|
|
1157
1134
|
});
|
|
1158
1135
|
}
|
|
1159
|
-
function
|
|
1160
|
-
return /* @__PURE__ */
|
|
1136
|
+
function Xe({ children: e, label: t = "Properties" }) {
|
|
1137
|
+
return /* @__PURE__ */ M("aside", {
|
|
1161
1138
|
"aria-label": t,
|
|
1162
1139
|
className: "x78zum5 xdt5ytf x1irul0l x1iyjqo2 x1j825kq xeuugli",
|
|
1163
1140
|
children: e
|
|
1164
1141
|
});
|
|
1165
1142
|
}
|
|
1166
|
-
var
|
|
1167
|
-
Layout:
|
|
1168
|
-
Body:
|
|
1169
|
-
Content:
|
|
1170
|
-
Header:
|
|
1171
|
-
Aside:
|
|
1143
|
+
var Ze = {
|
|
1144
|
+
Layout: Ke,
|
|
1145
|
+
Body: qe,
|
|
1146
|
+
Content: Je,
|
|
1147
|
+
Header: Ye,
|
|
1148
|
+
Aside: Xe
|
|
1172
1149
|
};
|
|
1173
|
-
export {
|
|
1150
|
+
export { de as C, L as D, he as E, pe as S, ge as T, W as _, Be as a, ue as b, Pe as c, Ae as d, Y as f, we as g, Ce as h, Re as i, Ne as l, De as m, We as n, ze as o, Te as p, Ue as r, $ as s, Ze as t, je as u, be as v, me as w, fe as x, ye as y };
|