@mechane-ai/elements 0.28.0 → 0.29.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 +12 -2
- package/dist/{categorical-values-DqoH9l1M.js → categorical-values-Dfe3nkBV.js} +2 -2
- package/dist/{chart-frame-CYdrUwvP.js → chart-frame-rL7_RAIc.js} +2 -2
- package/dist/{chart-input--Q3Jdono.js → chart-input-JIyGPusK.js} +1 -1
- package/dist/charts/cartesian.js +3 -3
- package/dist/charts/distribution.js +2 -2
- package/dist/charts/graph.js +2 -2
- package/dist/charts/hierarchy.js +3 -3
- package/dist/charts/matrix.js +2 -2
- package/dist/charts/timeline.js +2 -2
- package/dist/charts.js +1 -1
- package/dist/collections.js +6 -2
- package/dist/layout.js +221 -228
- package/dist/packages/layout/src/index.d.ts +0 -2
- package/package.json +1 -1
- package/dist/packages/layout/src/report-section.d.ts +0 -6
package/README.md
CHANGED
|
@@ -88,6 +88,12 @@ input limits, and readable fallbacks.
|
|
|
88
88
|
|
|
89
89
|
## Composition and themes
|
|
90
90
|
|
|
91
|
+
Choose the
|
|
92
|
+
[containing task and layout](https://github.com/mechane-ai/mechane/blob/main/workspaces/core/docs/visual-system.md#composition-decisions)
|
|
93
|
+
before adding a surface. Stack related page sections. `PageContent` insets content, `ReportContent` combines inset
|
|
94
|
+
content with full-width finite rows, and `CollectionLayout` gives a primary collection its available height. Dialogs,
|
|
95
|
+
inspectors and structured message Cards retain their own containing width. `Panel` bounds an independent unit.
|
|
96
|
+
|
|
91
97
|
Use Base UI's `render` composition and named variants for appearance. Native attributes, events, and refs remain
|
|
92
98
|
available. Typed `xstyle` inputs permit placement styles compiled by the application's StyleX setup. Applications own
|
|
93
99
|
asynchronous work and pass its pending, success, or failure state to controls.
|
|
@@ -145,8 +151,9 @@ record and store named choices rather than catalog indexes. Identity palettes re
|
|
|
145
151
|
|
|
146
152
|
`MetricGrid layout="columns"` distributes supplied metrics by available container width. Its inline layout suits compact
|
|
147
153
|
record summaries. `Metric` offers `statistic` and `headline` variants, a concise `detail`, and a passive `trend` slot.
|
|
148
|
-
Use `isLoading` and `hasDetail` to reserve its value and qualification while the application loads data.
|
|
149
|
-
accept `report={{ meta, summary }}` to place period metrics between a
|
|
154
|
+
Use `isLoading` and `hasDetail` to reserve its value and qualification while the application loads data. For a
|
|
155
|
+
self-contained analytical report, full charts accept `report={{ meta, summary }}` to place period metrics between a
|
|
156
|
+
shared `SectionHeading` and the plot. An embedded chart can use the ordinary frame inside its containing region. Bar and
|
|
150
157
|
time-series charts also accept `report={{ meta, seriesValues }}`, a map of formatted period values keyed by series
|
|
151
158
|
identifier. It reuses their labels and colors as the legend. Undefined values reserve loading space. `SmallMultiples`
|
|
152
159
|
aligns date axes and inspection across panels, with one date axis at the bottom; its placeholder accepts the same report
|
|
@@ -159,6 +166,9 @@ keeps wide tables inside their scroll region, and `SettingsRow` aligns labels an
|
|
|
159
166
|
decorative row without a control ID; ready rows require a real `controlId` for their label. `FormActions` owns
|
|
160
167
|
submission rows and their internal spacing. The enclosing section owns the gap before and after the actions.
|
|
161
168
|
|
|
169
|
+
Elements 0.29 removes `ReportSection`. Move its metric summary into the explanatory chart's `report.summary` or
|
|
170
|
+
`report.seriesValues`. Use ordinary `Stack` composition when content already belongs to an existing region.
|
|
171
|
+
|
|
162
172
|
The default theme is light, with system fonts and a compact spacing scale. Import `themeProps` from
|
|
163
173
|
`@mechane-ai/elements/theme` and spread `themeProps.light` or `themeProps.dark` onto the document root. Portaled content
|
|
164
174
|
then inherits the same theme. The application owns the preference; no theme provider is required.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, s as t } from "./chart-frame-
|
|
2
|
-
import { n } from "./chart-input
|
|
1
|
+
import { n as e, s as t } from "./chart-frame-rL7_RAIc.js";
|
|
2
|
+
import { n } from "./chart-input-JIyGPusK.js";
|
|
3
3
|
import * as r from "@stylexjs/stylex";
|
|
4
4
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
5
|
// packages/charts/src/categorical-values.tsx
|
|
@@ -122,7 +122,7 @@ function v({ title: e, description: n, children: r, actions: i, footer: a, repor
|
|
|
122
122
|
let c = o.seriesValues === void 0 ? o.summary : /* @__PURE__ */ l(h, {
|
|
123
123
|
series: s,
|
|
124
124
|
values: o.seriesValues
|
|
125
|
-
});
|
|
125
|
+
}), f = c != null && c !== !1;
|
|
126
126
|
return /* @__PURE__ */ u("figure", {
|
|
127
127
|
"aria-labelledby": d,
|
|
128
128
|
className: "xeuugli x1ghz6dp xbixft xpvm0e4 x1hz01jw xtqrqnz xj57cvi x1778rvt xmkeg23 x1y0btm7 x1ey3b81",
|
|
@@ -134,7 +134,7 @@ function v({ title: e, description: n, children: r, actions: i, footer: a, repor
|
|
|
134
134
|
}) }), /* @__PURE__ */ u("div", {
|
|
135
135
|
className: "xeuugli xg7ukam",
|
|
136
136
|
children: [
|
|
137
|
-
|
|
137
|
+
f && /* @__PURE__ */ l("div", {
|
|
138
138
|
className: "x1xxlxpq xeuugli",
|
|
139
139
|
children: c
|
|
140
140
|
}),
|
package/dist/charts/cartesian.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { d as e, u as t } from "../src-eWcNz_oB.js";
|
|
2
|
-
import { i as n, n as r, r as i, t as a } from "../categorical-values-
|
|
2
|
+
import { i as n, n as r, r as i, t as a } from "../categorical-values-Dfe3nkBV.js";
|
|
3
3
|
import { D as o } from "../src-E3Or8tkO.js";
|
|
4
4
|
import { t as s } from "../use-scroll-tab-index-Dxpdh4W7.js";
|
|
5
5
|
import { s as c } from "../src-d7EAi61b.js";
|
|
6
|
-
import { a as l, n as u, o as d, r as f, s as p, t as m } from "../chart-frame-
|
|
7
|
-
import { n as h, r as g, t as _ } from "../chart-input
|
|
6
|
+
import { a as l, n as u, o as d, r as f, s as p, t as m } from "../chart-frame-rL7_RAIc.js";
|
|
7
|
+
import { n as h, r as g, t as _ } from "../chart-input-JIyGPusK.js";
|
|
8
8
|
import { r as v } from "../tokens.stylex-BoRZ3D8s.js";
|
|
9
9
|
import { t as y } from "../plot-width--OgdohB5.js";
|
|
10
10
|
import { g as b } from "../src-BfPaaDxg.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, n as t, r as n, s as r, t as i } from "../chart-frame-
|
|
2
|
-
import { n as a, r as o, t as s } from "../chart-input
|
|
1
|
+
import { a as e, n as t, r as n, s as r, t as i } from "../chart-frame-rL7_RAIc.js";
|
|
2
|
+
import { n as a, r as o, t as s } from "../chart-input-JIyGPusK.js";
|
|
3
3
|
import { t as c } from "../plot-width--OgdohB5.js";
|
|
4
4
|
import * as l from "@stylexjs/stylex";
|
|
5
5
|
import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
|
package/dist/charts/graph.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "../use-scroll-tab-index-Dxpdh4W7.js";
|
|
2
|
-
import { a as t, n, r, s as i, t as a } from "../chart-frame-
|
|
3
|
-
import { n as o, t as s } from "../chart-input
|
|
2
|
+
import { a as t, n, r, s as i, t as a } from "../chart-frame-rL7_RAIc.js";
|
|
3
|
+
import { n as o, t as s } from "../chart-input-JIyGPusK.js";
|
|
4
4
|
import * as c from "@stylexjs/stylex";
|
|
5
5
|
import { useId as l } from "react";
|
|
6
6
|
import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
|
package/dist/charts/hierarchy.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as e, r as t, t as n } from "../categorical-values-
|
|
2
|
-
import { o as r, r as i, s as a } from "../chart-frame-
|
|
3
|
-
import { t as o } from "../chart-input
|
|
1
|
+
import { i as e, r as t, t as n } from "../categorical-values-Dfe3nkBV.js";
|
|
2
|
+
import { o as r, r as i, s as a } from "../chart-frame-rL7_RAIc.js";
|
|
3
|
+
import { t as o } from "../chart-input-JIyGPusK.js";
|
|
4
4
|
import { t as s } from "../plot-width--OgdohB5.js";
|
|
5
5
|
import * as c from "@stylexjs/stylex";
|
|
6
6
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
package/dist/charts/matrix.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "../tokens.stylex-BoRZ3D8s.js";
|
|
2
|
-
import { n as t, r as n, t as r } from "../chart-input
|
|
3
|
-
import { a as i, n as a, r as o, s, t as c } from "../chart-frame-
|
|
2
|
+
import { n as t, r as n, t as r } from "../chart-input-JIyGPusK.js";
|
|
3
|
+
import { a as i, n as a, r as o, s, t as c } from "../chart-frame-rL7_RAIc.js";
|
|
4
4
|
import { t as l } from "../use-scroll-tab-index-Dxpdh4W7.js";
|
|
5
5
|
import * as u from "@stylexjs/stylex";
|
|
6
6
|
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
package/dist/charts/timeline.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as e } from "../src-E3Or8tkO.js";
|
|
2
|
-
import { r as t } from "../chart-frame-
|
|
3
|
-
import { n, t as r } from "../chart-input
|
|
2
|
+
import { r as t } from "../chart-frame-rL7_RAIc.js";
|
|
3
|
+
import { n, t as r } from "../chart-input-JIyGPusK.js";
|
|
4
4
|
import * as i from "@stylexjs/stylex";
|
|
5
5
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
6
6
|
import { scaleLinear as s } from "@visx/scale";
|
package/dist/charts.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as ChartFrame, i as ChartLegend, s as chartToneColors } from "./chart-frame-
|
|
1
|
+
export { r as ChartFrame, i as ChartLegend, s as chartToneColors } from "./chart-frame-rL7_RAIc.js";
|
package/dist/collections.js
CHANGED
|
@@ -155,6 +155,7 @@ var pe = E({}), me = 76, j = d.compactTable.slice(7), he = /* @__PURE__ */ new M
|
|
|
155
155
|
},
|
|
156
156
|
viewport: {
|
|
157
157
|
k7Eaqz: "xeuugli",
|
|
158
|
+
k9g6sI: "x12h1iku",
|
|
158
159
|
kVQacm: "xysyzu8",
|
|
159
160
|
kacamN: "xy5w88m",
|
|
160
161
|
k3XXqK: "x1t137rt",
|
|
@@ -648,8 +649,11 @@ function V({ rows: e, columns: t, getRowId: n, caption: r, empty: i, sort: o, on
|
|
|
648
649
|
}),
|
|
649
650
|
e.length === 0 && /* @__PURE__ */ b("tr", { children: /* @__PURE__ */ b("td", {
|
|
650
651
|
colSpan: $,
|
|
651
|
-
className: "
|
|
652
|
-
children:
|
|
652
|
+
className: "x1717udv",
|
|
653
|
+
children: /* @__PURE__ */ b("div", {
|
|
654
|
+
className: "x9f619 x7wzq59 x1o0tod xzfn7dr x193iq5w x1ttojsm x2b8uid xeaf4i8 xj0a0fe x153jb6y",
|
|
655
|
+
children: i
|
|
656
|
+
})
|
|
653
657
|
}) })
|
|
654
658
|
]
|
|
655
659
|
})
|
package/dist/layout.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { a as e, i as t, t as n } from "./src-d7EAi61b.js";
|
|
2
|
-
import { E as r, T as i, i as a, k as o,
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { Button as
|
|
6
|
-
import { mergeProps as
|
|
7
|
-
import * as
|
|
8
|
-
import { Children as
|
|
9
|
-
import { Fragment as
|
|
10
|
-
import { ArrowLeft as
|
|
11
|
-
import { Group as
|
|
2
|
+
import { E as r, T as i, i as a, k as o, n as s, w as c } from "./src-E3Or8tkO.js";
|
|
3
|
+
import { t as l } from "./style-composition-uYlczSsB.js";
|
|
4
|
+
import { t as u } from "./use-scroll-tab-index-Dxpdh4W7.js";
|
|
5
|
+
import { Button as d } from "@base-ui/react/button";
|
|
6
|
+
import { mergeProps as f } from "@base-ui/react/merge-props";
|
|
7
|
+
import * as p from "@stylexjs/stylex";
|
|
8
|
+
import { Children as m, createContext as h, useContext as g, useEffect as _, useId as v, useRef as y, useState as b } from "react";
|
|
9
|
+
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
10
|
+
import { ArrowLeft as w, PanelLeft as T, X as E } from "lucide-react";
|
|
11
|
+
import { Group as D, Panel as O, Separator as k } from "react-resizable-panels";
|
|
12
12
|
// packages/layout/src/frame.stylex.ts
|
|
13
|
-
var
|
|
13
|
+
var A = {
|
|
14
14
|
sidebarMobile: "@media (max-width:800px)",
|
|
15
15
|
sidebarDesktopQuery: "(min-width:801px)",
|
|
16
16
|
sidebarCoarse: "@media (min-width:801px) and (pointer: coarse)",
|
|
17
17
|
detailMobile: "@media (max-width:720px)",
|
|
18
18
|
toolbarCompact: "@container toolbar (max-width:600px)",
|
|
19
19
|
workbenchCompact: "@container workbench (max-width:860px)"
|
|
20
|
-
},
|
|
20
|
+
}, j = h(null), M = {
|
|
21
21
|
footer: {
|
|
22
22
|
kB7OPa: "x9f619",
|
|
23
23
|
k1xSpc: "x78zum5",
|
|
@@ -51,53 +51,53 @@ var j = {
|
|
|
51
51
|
k8WAf4: "xn9t2bk",
|
|
52
52
|
$$css: !0
|
|
53
53
|
}
|
|
54
|
-
},
|
|
55
|
-
inline:
|
|
56
|
-
navigation:
|
|
54
|
+
}, N = {
|
|
55
|
+
inline: M.inlineFooter,
|
|
56
|
+
navigation: M.navigationFooter
|
|
57
57
|
};
|
|
58
|
-
function
|
|
59
|
-
return /* @__PURE__ */
|
|
60
|
-
/* @__PURE__ */
|
|
58
|
+
function P({ header: e, navigationHeader: t, footer: n, close: r, children: i }) {
|
|
59
|
+
return /* @__PURE__ */ C(x, { children: [
|
|
60
|
+
/* @__PURE__ */ C("div", {
|
|
61
61
|
...{
|
|
62
62
|
0: { className: "x9f619 x78zum5 x1qjc9v5 xnyqvp6 x2lah0s xeuugli xso031l x1q0q8m5 x1qndepd" },
|
|
63
63
|
1: { className: "x9f619 x1qjc9v5 xnyqvp6 x2lah0s xeuugli xso031l x1q0q8m5 x1qndepd x1s85apg x1rhi5y4" }
|
|
64
64
|
}[e == null | 0],
|
|
65
|
-
children: [/* @__PURE__ */
|
|
65
|
+
children: [/* @__PURE__ */ S("div", {
|
|
66
66
|
className: "x78zum5 x6s0dn4 x98rzlu xeuugli",
|
|
67
67
|
children: e
|
|
68
68
|
}), r]
|
|
69
69
|
}),
|
|
70
70
|
t,
|
|
71
|
-
/* @__PURE__ */
|
|
71
|
+
/* @__PURE__ */ S("div", {
|
|
72
72
|
role: "region",
|
|
73
73
|
"aria-label": "Navigation links",
|
|
74
74
|
className: "x98rzlu x2lwn1j x1odjw0f xish69e x1t137rt x7d1sxj x13qnu6 x9v5kkp x19rmrnh x1bqaal",
|
|
75
75
|
children: i
|
|
76
76
|
}),
|
|
77
|
-
n != null && /* @__PURE__ */
|
|
77
|
+
n != null && /* @__PURE__ */ S("div", {
|
|
78
78
|
className: "x2lah0s xeuugli xr1yuqi xpvm0e4 x153jb6y",
|
|
79
79
|
children: n
|
|
80
80
|
})
|
|
81
81
|
] });
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
return /* @__PURE__ */
|
|
83
|
+
function F() {
|
|
84
|
+
return /* @__PURE__ */ S("div", {
|
|
85
85
|
className: "x78zum5 x6s0dn4 xl56j7k x14j3e4g x2lah0s",
|
|
86
|
-
children: /* @__PURE__ */
|
|
87
|
-
render: /* @__PURE__ */
|
|
86
|
+
children: /* @__PURE__ */ S(e.Close, {
|
|
87
|
+
render: /* @__PURE__ */ S(i, {
|
|
88
88
|
variant: "ghost",
|
|
89
89
|
"aria-label": "Close navigation"
|
|
90
90
|
}),
|
|
91
|
-
children: /* @__PURE__ */
|
|
91
|
+
children: /* @__PURE__ */ S(E, {
|
|
92
92
|
size: 16,
|
|
93
93
|
"aria-hidden": !0
|
|
94
94
|
})
|
|
95
95
|
})
|
|
96
96
|
});
|
|
97
97
|
}
|
|
98
|
-
function
|
|
99
|
-
let n =
|
|
100
|
-
return /* @__PURE__ */
|
|
98
|
+
function ee({ children: e, label: t = "Main" }) {
|
|
99
|
+
let n = g(j), r = n !== null && !n.isExpanded;
|
|
100
|
+
return /* @__PURE__ */ S("nav", {
|
|
101
101
|
"aria-label": t,
|
|
102
102
|
...{
|
|
103
103
|
0: { className: "x78zum5 xdt5ytf xksvo5r" },
|
|
@@ -106,12 +106,12 @@ function te({ children: e, label: t = "Main" }) {
|
|
|
106
106
|
children: e
|
|
107
107
|
});
|
|
108
108
|
}
|
|
109
|
-
function
|
|
110
|
-
let n =
|
|
111
|
-
return /* @__PURE__ */
|
|
109
|
+
function te({ children: e, label: t }) {
|
|
110
|
+
let n = g(j), r = n !== null && !n.isExpanded, i = v();
|
|
111
|
+
return /* @__PURE__ */ C("section", {
|
|
112
112
|
"aria-labelledby": i,
|
|
113
113
|
className: "xn9t2bk",
|
|
114
|
-
children: [/* @__PURE__ */
|
|
114
|
+
children: [/* @__PURE__ */ S("div", {
|
|
115
115
|
id: i,
|
|
116
116
|
...{
|
|
117
117
|
0: { className: "xeuugli xn9t2bk xksvo5r x153jb6y x1hz01jw xy8obcc xas2l8k xk4h15q xj0a0fe" },
|
|
@@ -121,52 +121,52 @@ function ne({ children: e, label: t }) {
|
|
|
121
121
|
}), e]
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
|
-
function
|
|
125
|
-
let c =
|
|
126
|
-
return /* @__PURE__ */
|
|
124
|
+
function ne({ children: e, icon: t, isSelected: n = !1, shouldCloseOnActivate: r = !0, onClick: i, className: a, style: o, ...s }) {
|
|
125
|
+
let c = g(j), u = v(), f = c !== null && !c.isExpanded;
|
|
126
|
+
return /* @__PURE__ */ S("div", {
|
|
127
127
|
...{
|
|
128
128
|
0: { className: "x78zum5 xeuugli x1ok0vyi" },
|
|
129
129
|
1: { className: "x78zum5 xeuugli x1ok0vyi x1r7kqkb" }
|
|
130
130
|
}[!!n | 0],
|
|
131
|
-
children: /* @__PURE__ */
|
|
131
|
+
children: /* @__PURE__ */ C(d, {
|
|
132
132
|
...s,
|
|
133
|
-
...
|
|
133
|
+
...l({
|
|
134
134
|
className: a,
|
|
135
135
|
style: o,
|
|
136
136
|
styles: {
|
|
137
137
|
0: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal xc342km x1ypdohk xwj21n9 x1m8qfh3 x1nhvcw1 x1hnptsi x15rya3k x992rv9 x1avwmir xh8yej3 xeuugli xt970qd xksvo5r" },
|
|
138
138
|
1: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal xc342km x1ypdohk xwj21n9 x1m8qfh3 x1hnptsi x15rya3k x992rv9 x1avwmir xh8yej3 xeuugli xt970qd xksvo5r xl56j7k x1l31gyv" }
|
|
139
|
-
}[!!
|
|
139
|
+
}[!!f | 0]
|
|
140
140
|
}),
|
|
141
141
|
"aria-current": n ? "page" : void 0,
|
|
142
|
-
"aria-labelledby": s["aria-labelledby"] ?? (s["aria-label"] === void 0 ?
|
|
142
|
+
"aria-labelledby": s["aria-labelledby"] ?? (s["aria-label"] === void 0 ? u : void 0),
|
|
143
143
|
title: s.title ?? (typeof e == "string" ? e : void 0),
|
|
144
144
|
onClick: (e) => {
|
|
145
145
|
i !== void 0 && i(e), !e.defaultPrevented && c !== null && r && c.onNavigate();
|
|
146
146
|
},
|
|
147
|
-
children: [t != null && /* @__PURE__ */
|
|
147
|
+
children: [t != null && /* @__PURE__ */ S("span", {
|
|
148
148
|
"aria-hidden": !0,
|
|
149
149
|
className: "x3nfvp2 x6s0dn4 xl56j7k xtwnzbg x18utl2x x2lah0s",
|
|
150
150
|
children: t
|
|
151
|
-
}), /* @__PURE__ */
|
|
152
|
-
id:
|
|
151
|
+
}), /* @__PURE__ */ S("span", {
|
|
152
|
+
id: u,
|
|
153
153
|
...{
|
|
154
154
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
155
155
|
1: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft x1s85apg xeod2sa" }
|
|
156
|
-
}[!!
|
|
156
|
+
}[!!f | 0],
|
|
157
157
|
children: e
|
|
158
158
|
})]
|
|
159
159
|
})
|
|
160
160
|
});
|
|
161
161
|
}
|
|
162
|
-
function
|
|
163
|
-
let s =
|
|
162
|
+
function re({ children: e, icon: t, isSelected: n = !1, onClick: r, className: i, style: a, ...o }) {
|
|
163
|
+
let s = g(j), c = v(), l = s !== null && !s.isExpanded, u = {
|
|
164
164
|
0: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1nhvcw1 x1hnptsi x15rya3k x992rv9 x1avwmir xh8yej3 xeuugli xt970qd xksvo5r" },
|
|
165
165
|
2: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1hnptsi x15rya3k x992rv9 x1avwmir xh8yej3 xeuugli xt970qd xksvo5r xl56j7k x1l31gyv" },
|
|
166
166
|
1: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1nhvcw1 x1hnptsi x15rya3k x992rv9 x1avwmir xh8yej3 xeuugli xt970qd xksvo5r x1r7kqkb" },
|
|
167
167
|
3: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x17lu4q8 x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1hnptsi x15rya3k x992rv9 x1avwmir xh8yej3 xeuugli xt970qd xksvo5r xl56j7k x1l31gyv x1r7kqkb" }
|
|
168
168
|
}[!!l << 1 | !!n];
|
|
169
|
-
return /* @__PURE__ */
|
|
169
|
+
return /* @__PURE__ */ C("a", {
|
|
170
170
|
...o,
|
|
171
171
|
"aria-current": n ? "page" : void 0,
|
|
172
172
|
"aria-labelledby": o["aria-labelledby"] ?? (o["aria-label"] === void 0 ? c : void 0),
|
|
@@ -181,11 +181,11 @@ function I({ children: e, icon: t, isSelected: n = !1, onClick: r, className: i,
|
|
|
181
181
|
...u.style,
|
|
182
182
|
...a
|
|
183
183
|
},
|
|
184
|
-
children: [t != null && /* @__PURE__ */
|
|
184
|
+
children: [t != null && /* @__PURE__ */ S("span", {
|
|
185
185
|
"aria-hidden": !0,
|
|
186
186
|
className: "x3nfvp2 x6s0dn4 xl56j7k xtwnzbg x18utl2x x2lah0s",
|
|
187
187
|
children: t
|
|
188
|
-
}), /* @__PURE__ */
|
|
188
|
+
}), /* @__PURE__ */ S("span", {
|
|
189
189
|
id: c,
|
|
190
190
|
...{
|
|
191
191
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
@@ -195,9 +195,9 @@ function I({ children: e, icon: t, isSelected: n = !1, onClick: r, className: i,
|
|
|
195
195
|
})]
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
function
|
|
199
|
-
let n =
|
|
200
|
-
return /* @__PURE__ */
|
|
198
|
+
function I({ children: e, shouldGrow: t = !1 }) {
|
|
199
|
+
let n = g(j), r = n !== null && !n.isExpanded;
|
|
200
|
+
return /* @__PURE__ */ S("span", {
|
|
201
201
|
...{
|
|
202
202
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
203
203
|
2: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft x78zum5 x6s0dn4 x1hnptsi x98rzlu" },
|
|
@@ -207,39 +207,39 @@ function L({ children: e, shouldGrow: t = !1 }) {
|
|
|
207
207
|
children: e
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
let n =
|
|
212
|
-
return /* @__PURE__ */
|
|
213
|
-
...
|
|
210
|
+
function L({ children: e, layout: t = "inline" }) {
|
|
211
|
+
let n = g(j), r = n !== null && !n.isExpanded;
|
|
212
|
+
return /* @__PURE__ */ S("div", {
|
|
213
|
+
...p.props(M.footer, r && M.collapsedFooter, N[t]),
|
|
214
214
|
children: e
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
|
-
function
|
|
218
|
-
let t =
|
|
219
|
-
return t === null ? null : /* @__PURE__ */
|
|
217
|
+
function R() {
|
|
218
|
+
let t = g(j);
|
|
219
|
+
return t === null ? null : /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("div", {
|
|
220
220
|
className: "x9f619 x6s0dn4 xl56j7k x2lah0s x14j3e4g xs1s249 x32b0ac xelkwwr x78zum5 x1ykma7f",
|
|
221
|
-
children: /* @__PURE__ */
|
|
221
|
+
children: /* @__PURE__ */ S(i, {
|
|
222
222
|
ref: t.navigationToggleRef,
|
|
223
223
|
variant: "ghost",
|
|
224
224
|
"aria-label": t.isExpanded ? "Collapse navigation" : "Expand navigation",
|
|
225
225
|
"aria-controls": t.sidebarId,
|
|
226
226
|
"aria-expanded": t.isExpanded,
|
|
227
227
|
onClick: t.onToggle,
|
|
228
|
-
children: /* @__PURE__ */
|
|
228
|
+
children: /* @__PURE__ */ S(T, {
|
|
229
229
|
size: 16,
|
|
230
230
|
"aria-hidden": !0
|
|
231
231
|
})
|
|
232
232
|
})
|
|
233
|
-
}), /* @__PURE__ */
|
|
233
|
+
}), /* @__PURE__ */ S("div", {
|
|
234
234
|
className: "x9f619 x6s0dn4 xl56j7k x2lah0s x14j3e4g xs1s249 x32b0ac xelkwwr x1s85apg x1rhi5y4",
|
|
235
|
-
children: /* @__PURE__ */
|
|
235
|
+
children: /* @__PURE__ */ S(e.Trigger, {
|
|
236
236
|
ref: t.mobileNavigationToggleRef,
|
|
237
237
|
handle: t.drawerHandle,
|
|
238
|
-
render: /* @__PURE__ */
|
|
238
|
+
render: /* @__PURE__ */ S(i, {
|
|
239
239
|
variant: "ghost",
|
|
240
240
|
"aria-label": "Open navigation"
|
|
241
241
|
}),
|
|
242
|
-
children: /* @__PURE__ */
|
|
242
|
+
children: /* @__PURE__ */ S(T, {
|
|
243
243
|
size: 16,
|
|
244
244
|
"aria-hidden": !0
|
|
245
245
|
})
|
|
@@ -247,7 +247,7 @@ function z() {
|
|
|
247
247
|
})] });
|
|
248
248
|
}
|
|
249
249
|
// packages/layout/src/navigation-rail.tsx
|
|
250
|
-
var
|
|
250
|
+
var z = h("rail"), B = {
|
|
251
251
|
selected: {
|
|
252
252
|
kHjaVl: "x1yk04ar",
|
|
253
253
|
$$css: !0
|
|
@@ -277,100 +277,100 @@ var B = g("rail"), V = {
|
|
|
277
277
|
$$css: !0
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
|
-
function
|
|
281
|
-
let s =
|
|
280
|
+
function V({ label: e, links: t, action: a }) {
|
|
281
|
+
let s = g(z) === "drawer", l = g(j);
|
|
282
282
|
function u(e, t) {
|
|
283
283
|
e?.(t);
|
|
284
284
|
let n = t.metaKey || t.ctrlKey, r = t.shiftKey || t.altKey;
|
|
285
|
-
t.button !== 0 || n || r ||
|
|
285
|
+
t.button !== 0 || n || r || l?.onNavigate();
|
|
286
286
|
}
|
|
287
287
|
let d = (e) => {
|
|
288
|
-
a?.onClick(e), e.defaultPrevented ||
|
|
288
|
+
a?.onClick(e), e.defaultPrevented || l?.onNavigate();
|
|
289
289
|
};
|
|
290
|
-
return s ? /* @__PURE__ */
|
|
290
|
+
return s ? /* @__PURE__ */ C("div", {
|
|
291
291
|
className: "x78zum5 xdt5ytf x1qjc9v5 x2lah0s xeuugli",
|
|
292
|
-
children: [/* @__PURE__ */
|
|
292
|
+
children: [/* @__PURE__ */ S("nav", {
|
|
293
293
|
"aria-label": e,
|
|
294
294
|
className: "xrvj5dj x1mt1orb x1rnidkh xunmzkg x1s01oa9",
|
|
295
|
-
children: t.map(({ label: e, icon: t, isCurrent: n = !1, ...r }) => /* @__PURE__ */
|
|
296
|
-
...p
|
|
295
|
+
children: t.map(({ label: e, icon: t, isCurrent: n = !1, ...r }) => /* @__PURE__ */ C("a", {
|
|
296
|
+
...f(p.props(o.base, o.button, B.mobileLink, B.rounded, B.selected), r),
|
|
297
297
|
"aria-current": n ? "location" : void 0,
|
|
298
298
|
onClick: (e) => u(r.onClick, e),
|
|
299
|
-
children: [/* @__PURE__ */
|
|
299
|
+
children: [/* @__PURE__ */ S("span", {
|
|
300
300
|
"aria-hidden": !0,
|
|
301
301
|
className: "x3nfvp2 x2lah0s xtwnzbg x18utl2x",
|
|
302
302
|
children: t
|
|
303
|
-
}), /* @__PURE__ */
|
|
303
|
+
}), /* @__PURE__ */ S("span", {
|
|
304
304
|
className: "xeuugli x193iq5w xj0a0fe",
|
|
305
305
|
children: e
|
|
306
306
|
})]
|
|
307
307
|
}, r.href))
|
|
308
|
-
}), a !== void 0 && /* @__PURE__ */
|
|
308
|
+
}), a !== void 0 && /* @__PURE__ */ S("div", {
|
|
309
309
|
className: "xrvj5dj x14w6jbu xngumbj xso031l x1q0q8m5 x1qndepd",
|
|
310
|
-
children: /* @__PURE__ */
|
|
310
|
+
children: /* @__PURE__ */ C(c, {
|
|
311
311
|
variant: "ghost",
|
|
312
312
|
onClick: d,
|
|
313
|
-
children: [/* @__PURE__ */
|
|
313
|
+
children: [/* @__PURE__ */ S("span", {
|
|
314
314
|
"aria-hidden": !0,
|
|
315
315
|
className: "x3nfvp2 x2lah0s xtwnzbg x18utl2x",
|
|
316
316
|
children: a.icon
|
|
317
317
|
}), a.label]
|
|
318
318
|
})
|
|
319
319
|
})]
|
|
320
|
-
}) : /* @__PURE__ */
|
|
320
|
+
}) : /* @__PURE__ */ S(n.Provider, { children: /* @__PURE__ */ C("div", {
|
|
321
321
|
className: "x78zum5 xdt5ytf x1qjc9v5 x2lah0s xeuugli",
|
|
322
|
-
children: [/* @__PURE__ */
|
|
322
|
+
children: [/* @__PURE__ */ S("nav", {
|
|
323
323
|
"aria-label": e,
|
|
324
324
|
className: "x78zum5 xdt5ytf x1qjc9v5",
|
|
325
|
-
children: t.map(({ label: e, icon: t, isCurrent: i = !1, ...a }) => /* @__PURE__ */
|
|
325
|
+
children: t.map(({ label: e, icon: t, isCurrent: i = !1, ...a }) => /* @__PURE__ */ S("div", {
|
|
326
326
|
className: "x1n2onr6 x78zum5 x6s0dn4 xl56j7k x1oec0jp",
|
|
327
|
-
children: /* @__PURE__ */
|
|
328
|
-
render: /* @__PURE__ */
|
|
329
|
-
...
|
|
327
|
+
children: /* @__PURE__ */ C(n.Root, { children: [/* @__PURE__ */ S(n.Trigger, {
|
|
328
|
+
render: /* @__PURE__ */ S(r, {
|
|
329
|
+
...f({ className: "x1yk04ar" }, a),
|
|
330
330
|
"aria-label": e,
|
|
331
331
|
"aria-current": i ? "location" : void 0,
|
|
332
332
|
onClick: (e) => u(a.onClick, e)
|
|
333
333
|
}),
|
|
334
334
|
children: t
|
|
335
|
-
}), /* @__PURE__ */
|
|
335
|
+
}), /* @__PURE__ */ S(n.Portal, { children: /* @__PURE__ */ S(n.Positioner, {
|
|
336
336
|
side: "right",
|
|
337
|
-
children: /* @__PURE__ */
|
|
337
|
+
children: /* @__PURE__ */ S(n.Popup, { children: e })
|
|
338
338
|
}) })] })
|
|
339
339
|
}, a.href))
|
|
340
|
-
}), a !== void 0 && /* @__PURE__ */
|
|
340
|
+
}), a !== void 0 && /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("hr", { className: "xc342km x178xt8z x13fuv20 xhjagg4 xv06hpe xn92wy8" }), /* @__PURE__ */ S("div", {
|
|
341
341
|
className: "x1n2onr6 x78zum5 x6s0dn4 xl56j7k x1oec0jp",
|
|
342
|
-
children: /* @__PURE__ */
|
|
343
|
-
render: /* @__PURE__ */
|
|
342
|
+
children: /* @__PURE__ */ C(n.Root, { children: [/* @__PURE__ */ S(n.Trigger, {
|
|
343
|
+
render: /* @__PURE__ */ S(i, {
|
|
344
344
|
variant: "ghost",
|
|
345
345
|
"aria-label": a.label
|
|
346
346
|
}),
|
|
347
347
|
onClick: d,
|
|
348
348
|
children: a.icon
|
|
349
|
-
}), /* @__PURE__ */
|
|
349
|
+
}), /* @__PURE__ */ S(n.Portal, { children: /* @__PURE__ */ S(n.Positioner, {
|
|
350
350
|
side: "right",
|
|
351
|
-
children: /* @__PURE__ */
|
|
351
|
+
children: /* @__PURE__ */ S(n.Popup, { children: a.label })
|
|
352
352
|
}) })] })
|
|
353
353
|
})] })]
|
|
354
354
|
}) });
|
|
355
355
|
}
|
|
356
356
|
// packages/layout/src/app-shell.tsx
|
|
357
|
-
var
|
|
357
|
+
var H = { drawer: {
|
|
358
358
|
kzqmXN: "x68ju84",
|
|
359
359
|
ks0D6T: "x1recik0",
|
|
360
360
|
$$css: !0
|
|
361
361
|
} };
|
|
362
|
-
function
|
|
363
|
-
let l = t != null, u = n != null, [d, f] =
|
|
364
|
-
return
|
|
365
|
-
let e = globalThis.matchMedia(
|
|
362
|
+
function U({ rail: t, railFooter: n, sidebarHeader: r, sidebar: i, footer: a, children: o, mainId: s = "main", shouldFocus: c = !1 }) {
|
|
363
|
+
let l = t != null, u = n != null, [d, f] = b(!0), [p, m] = b(!1), h = c || l && !d, [g] = b(() => e.createHandle()), w = v(), T = y(null), E = y(null), D = y(null), O = y(!1);
|
|
364
|
+
return _(() => {
|
|
365
|
+
let e = globalThis.matchMedia(A.sidebarDesktopQuery);
|
|
366
366
|
function t() {
|
|
367
367
|
e.matches && m(!1);
|
|
368
368
|
}
|
|
369
369
|
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
|
|
370
|
-
}, []), /* @__PURE__ */
|
|
370
|
+
}, []), /* @__PURE__ */ C(j.Provider, {
|
|
371
371
|
value: {
|
|
372
372
|
isExpanded: d,
|
|
373
|
-
sidebarId:
|
|
373
|
+
sidebarId: w,
|
|
374
374
|
drawerHandle: g,
|
|
375
375
|
navigationToggleRef: T,
|
|
376
376
|
mobileNavigationToggleRef: E,
|
|
@@ -379,28 +379,28 @@ function W({ rail: t, railFooter: n, sidebarHeader: r, sidebar: i, footer: a, ch
|
|
|
379
379
|
O.current = p, m(!1);
|
|
380
380
|
}
|
|
381
381
|
},
|
|
382
|
-
children: [/* @__PURE__ */
|
|
382
|
+
children: [/* @__PURE__ */ C("div", {
|
|
383
383
|
className: "x9f619 x1ov3xa9 x78zum5 xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
384
384
|
children: [
|
|
385
|
-
l && /* @__PURE__ */
|
|
385
|
+
l && /* @__PURE__ */ C("div", {
|
|
386
386
|
hidden: c,
|
|
387
387
|
...{
|
|
388
388
|
0: { className: "x9f619 x78zum5 x1ykma7f xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli x14j3e4g" },
|
|
389
389
|
1: { className: "x9f619 xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli x14j3e4g x1s85apg" }
|
|
390
390
|
}[!!c | 0],
|
|
391
|
-
children: [/* @__PURE__ */
|
|
391
|
+
children: [/* @__PURE__ */ S("div", {
|
|
392
392
|
className: "x98rzlu x2lwn1j x1odjw0f x1e4zzel",
|
|
393
393
|
children: t
|
|
394
|
-
}), u && /* @__PURE__ */
|
|
394
|
+
}), u && /* @__PURE__ */ S("div", {
|
|
395
395
|
className: "x2lah0s x1a148e8",
|
|
396
|
-
children: /* @__PURE__ */
|
|
396
|
+
children: /* @__PURE__ */ S("div", {
|
|
397
397
|
className: "x78zum5 x6s0dn4 xl56j7k x14j3e4g xnyqvp6",
|
|
398
398
|
children: n
|
|
399
399
|
})
|
|
400
400
|
})]
|
|
401
401
|
}),
|
|
402
|
-
/* @__PURE__ */
|
|
403
|
-
id:
|
|
402
|
+
/* @__PURE__ */ S("aside", {
|
|
403
|
+
id: w,
|
|
404
404
|
"aria-label": "Navigation",
|
|
405
405
|
hidden: h,
|
|
406
406
|
...{
|
|
@@ -413,26 +413,26 @@ function W({ rail: t, railFooter: n, sidebarHeader: r, sidebar: i, footer: a, ch
|
|
|
413
413
|
3: { className: "x9f619 xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli x14j3e4g x1s85apg" },
|
|
414
414
|
7: { className: "x9f619 xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli x14j3e4g x1s85apg" }
|
|
415
415
|
}[!!l << 2 | !(l || d) << 1 | !!h],
|
|
416
|
-
children: /* @__PURE__ */
|
|
416
|
+
children: /* @__PURE__ */ S(P, {
|
|
417
417
|
header: r,
|
|
418
418
|
footer: a,
|
|
419
419
|
children: i
|
|
420
420
|
})
|
|
421
421
|
}),
|
|
422
|
-
/* @__PURE__ */
|
|
422
|
+
/* @__PURE__ */ S("main", {
|
|
423
423
|
id: s,
|
|
424
424
|
tabIndex: -1,
|
|
425
425
|
className: "xeuugli x98rzlu",
|
|
426
426
|
children: o
|
|
427
427
|
})
|
|
428
428
|
]
|
|
429
|
-
}), /* @__PURE__ */
|
|
429
|
+
}), /* @__PURE__ */ S(e.Root, {
|
|
430
430
|
handle: g,
|
|
431
431
|
open: p && !c,
|
|
432
432
|
onOpenChange: m,
|
|
433
|
-
children: /* @__PURE__ */
|
|
433
|
+
children: /* @__PURE__ */ C(e.Portal, { children: [/* @__PURE__ */ S(e.Backdrop, {}), /* @__PURE__ */ S(e.Viewport, { children: /* @__PURE__ */ C(e.Popup, {
|
|
434
434
|
ref: D,
|
|
435
|
-
xstyle:
|
|
435
|
+
xstyle: H.drawer,
|
|
436
436
|
finalFocus: () => {
|
|
437
437
|
if (O.current) {
|
|
438
438
|
O.current = !1;
|
|
@@ -443,28 +443,28 @@ function W({ rail: t, railFooter: n, sidebarHeader: r, sidebar: i, footer: a, ch
|
|
|
443
443
|
}
|
|
444
444
|
return t instanceof HTMLElement && e?.contains(t) === !0 ? t : e;
|
|
445
445
|
}
|
|
446
|
-
return globalThis.matchMedia(
|
|
446
|
+
return globalThis.matchMedia(A.sidebarDesktopQuery).matches ? T.current : E.current;
|
|
447
447
|
},
|
|
448
|
-
children: [/* @__PURE__ */
|
|
448
|
+
children: [/* @__PURE__ */ S(e.Title, {
|
|
449
449
|
isVisuallyHidden: !0,
|
|
450
450
|
children: "Navigation"
|
|
451
|
-
}), /* @__PURE__ */
|
|
451
|
+
}), /* @__PURE__ */ S(P, {
|
|
452
452
|
header: r,
|
|
453
|
-
navigationHeader: l && /* @__PURE__ */
|
|
453
|
+
navigationHeader: l && /* @__PURE__ */ S(z.Provider, {
|
|
454
454
|
value: "drawer",
|
|
455
455
|
children: t
|
|
456
456
|
}),
|
|
457
|
-
footer: /* @__PURE__ */
|
|
457
|
+
footer: /* @__PURE__ */ C(x, { children: [a, l && u && /* @__PURE__ */ S(z.Provider, {
|
|
458
458
|
value: "drawer",
|
|
459
|
-
children: /* @__PURE__ */
|
|
459
|
+
children: /* @__PURE__ */ S("div", {
|
|
460
460
|
className: "x2lah0s x1a148e8",
|
|
461
|
-
children: /* @__PURE__ */
|
|
461
|
+
children: /* @__PURE__ */ S("div", {
|
|
462
462
|
className: "x78zum5 x6s0dn4 xl56j7k x14j3e4g xnyqvp6",
|
|
463
463
|
children: n
|
|
464
464
|
})
|
|
465
465
|
})
|
|
466
466
|
})] }),
|
|
467
|
-
close: /* @__PURE__ */
|
|
467
|
+
close: /* @__PURE__ */ S(F, {}),
|
|
468
468
|
children: i
|
|
469
469
|
})]
|
|
470
470
|
}) })] })
|
|
@@ -472,7 +472,7 @@ function W({ rail: t, railFooter: n, sidebarHeader: r, sidebar: i, footer: a, ch
|
|
|
472
472
|
});
|
|
473
473
|
}
|
|
474
474
|
// packages/layout/src/navigation-rail-menu.tsx
|
|
475
|
-
var
|
|
475
|
+
var W = {
|
|
476
476
|
rail: {
|
|
477
477
|
side: "right",
|
|
478
478
|
align: "end"
|
|
@@ -482,35 +482,35 @@ var G = {
|
|
|
482
482
|
align: "start"
|
|
483
483
|
}
|
|
484
484
|
};
|
|
485
|
-
function
|
|
486
|
-
let o =
|
|
487
|
-
return
|
|
488
|
-
let e = globalThis.matchMedia(
|
|
485
|
+
function G({ label: e, icon: r, children: a }) {
|
|
486
|
+
let o = g(z), [s, c] = b(!1);
|
|
487
|
+
return _(() => {
|
|
488
|
+
let e = globalThis.matchMedia(A.sidebarDesktopQuery);
|
|
489
489
|
function t() {
|
|
490
490
|
c(!1);
|
|
491
491
|
}
|
|
492
492
|
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
|
|
493
|
-
}, []), /* @__PURE__ */
|
|
493
|
+
}, []), /* @__PURE__ */ C(t.Root, {
|
|
494
494
|
open: s,
|
|
495
495
|
onOpenChange: c,
|
|
496
496
|
modal: !1,
|
|
497
|
-
children: [/* @__PURE__ */
|
|
497
|
+
children: [/* @__PURE__ */ S(n.Provider, { children: /* @__PURE__ */ C(n.Root, {
|
|
498
498
|
disabled: s || o === "drawer",
|
|
499
|
-
children: [/* @__PURE__ */
|
|
500
|
-
render: /* @__PURE__ */
|
|
499
|
+
children: [/* @__PURE__ */ S(n.Trigger, {
|
|
500
|
+
render: /* @__PURE__ */ S(t.Trigger, { render: /* @__PURE__ */ S(i, {
|
|
501
501
|
variant: "ghost",
|
|
502
502
|
"aria-label": e
|
|
503
503
|
}) }),
|
|
504
504
|
children: r
|
|
505
|
-
}), /* @__PURE__ */
|
|
505
|
+
}), /* @__PURE__ */ S(n.Portal, { children: /* @__PURE__ */ S(n.Positioner, {
|
|
506
506
|
side: "right",
|
|
507
|
-
children: /* @__PURE__ */
|
|
507
|
+
children: /* @__PURE__ */ S(n.Popup, { children: e })
|
|
508
508
|
}) })]
|
|
509
|
-
}) }), /* @__PURE__ */
|
|
510
|
-
...
|
|
509
|
+
}) }), /* @__PURE__ */ S(t.Portal, { children: /* @__PURE__ */ S(t.Positioner, {
|
|
510
|
+
...W[o],
|
|
511
511
|
sideOffset: 4,
|
|
512
512
|
collisionPadding: 8,
|
|
513
|
-
children: /* @__PURE__ */
|
|
513
|
+
children: /* @__PURE__ */ S(t.Popup, {
|
|
514
514
|
"aria-label": e,
|
|
515
515
|
className: "x1uncgzr",
|
|
516
516
|
children: a
|
|
@@ -519,8 +519,8 @@ function K({ label: e, icon: r, children: a }) {
|
|
|
519
519
|
});
|
|
520
520
|
}
|
|
521
521
|
// packages/layout/src/detail-page.tsx
|
|
522
|
-
function
|
|
523
|
-
return /* @__PURE__ */
|
|
522
|
+
function K({ children: e, isWide: t = !1 }) {
|
|
523
|
+
return /* @__PURE__ */ S("div", {
|
|
524
524
|
...{
|
|
525
525
|
0: { className: "x9f619 x13na7z x96idz6 x9g60mw xeuugli xvueqy4 xnjsko4 x10gdey3 x14y0u4g x1foqgtu x1uwsqpk x14oio8y" },
|
|
526
526
|
1: { className: "x9f619 xeuugli xvueqy4 xh8yej3 x1x1rfll xnjsko4 xexx8yu x18d9i69" }
|
|
@@ -529,33 +529,33 @@ function q({ children: e, isWide: t = !1 }) {
|
|
|
529
529
|
});
|
|
530
530
|
}
|
|
531
531
|
// packages/layout/src/focus-page.tsx
|
|
532
|
-
function
|
|
533
|
-
return /* @__PURE__ */
|
|
532
|
+
function q({ children: e }) {
|
|
533
|
+
return /* @__PURE__ */ S("main", {
|
|
534
534
|
id: "main",
|
|
535
535
|
tabIndex: -1,
|
|
536
536
|
className: "x9f619 x1ov3xa9 xeuugli xrvj5dj x1ku5rj1 x1jvlu93 xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
537
|
-
children: /* @__PURE__ */
|
|
537
|
+
children: /* @__PURE__ */ S("div", {
|
|
538
538
|
className: "xh8yej3 xxc7z9f xeuugli xrvj5dj x1mkdm3x x1j825kq",
|
|
539
539
|
children: e
|
|
540
540
|
})
|
|
541
541
|
});
|
|
542
542
|
}
|
|
543
543
|
// packages/layout/src/workbench.tsx
|
|
544
|
-
function
|
|
545
|
-
return /* @__PURE__ */
|
|
544
|
+
function J({ header: e, children: t, inspector: n }) {
|
|
545
|
+
return /* @__PURE__ */ C("div", {
|
|
546
546
|
className: "x78zum5 xdt5ytf x1r09gfs xeuugli x2lwn1j x12h1iku x1a75771 xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel",
|
|
547
|
-
children: [e != null && /* @__PURE__ */
|
|
547
|
+
children: [e != null && /* @__PURE__ */ S("div", {
|
|
548
548
|
className: "xeuugli x2lah0s x1ydxw8w xnx3t7k xso031l x1q0q8m5 x1qndepd",
|
|
549
549
|
children: e
|
|
550
|
-
}), /* @__PURE__ */
|
|
550
|
+
}), /* @__PURE__ */ C("div", {
|
|
551
551
|
className: "x78zum5 x98rzlu xeuugli x2lwn1j x7giv3",
|
|
552
|
-
children: [/* @__PURE__ */
|
|
552
|
+
children: [/* @__PURE__ */ S("div", {
|
|
553
553
|
...{
|
|
554
554
|
0: { className: "x1n2onr6 x78zum5 x98rzlu xdt5ytf xeuugli x2lwn1j" },
|
|
555
555
|
1: { className: "x1n2onr6 x98rzlu xdt5ytf xeuugli x2lwn1j x78zum5 x152g2jv" }
|
|
556
556
|
}[n !== void 0 | 0],
|
|
557
557
|
children: t
|
|
558
|
-
}), n !== void 0 && /* @__PURE__ */
|
|
558
|
+
}), n !== void 0 && /* @__PURE__ */ S("aside", {
|
|
559
559
|
"aria-label": n.label,
|
|
560
560
|
className: "x9f619 x1peuizl x1vx4hiz xeuugli x2lah0s x1odjw0f x1c8xbx5 xpvm0e4 xe0pwq xs311s2 x19ypqd9 x1l3ounx",
|
|
561
561
|
children: n.content
|
|
@@ -563,9 +563,9 @@ function Y({ header: e, children: t, inspector: n }) {
|
|
|
563
563
|
})]
|
|
564
564
|
});
|
|
565
565
|
}
|
|
566
|
-
function
|
|
567
|
-
let i =
|
|
568
|
-
return /* @__PURE__ */
|
|
566
|
+
function Y({ label: e, children: t, isFlush: n = !1, scrollRestorationId: r }) {
|
|
567
|
+
let i = u();
|
|
568
|
+
return /* @__PURE__ */ S("div", {
|
|
569
569
|
ref: i.ref,
|
|
570
570
|
role: "region",
|
|
571
571
|
"aria-label": e,
|
|
@@ -578,21 +578,21 @@ function X({ label: e, children: t, isFlush: n = !1, scrollRestorationId: r }) {
|
|
|
578
578
|
children: t
|
|
579
579
|
});
|
|
580
580
|
}
|
|
581
|
-
function
|
|
582
|
-
return /* @__PURE__ */
|
|
581
|
+
function X({ children: e }) {
|
|
582
|
+
return /* @__PURE__ */ S("div", {
|
|
583
583
|
className: "x2lah0s x1c8xbx5 x178xt8z x13fuv20 xhjagg4 xpvm0e4",
|
|
584
584
|
children: e
|
|
585
585
|
});
|
|
586
586
|
}
|
|
587
587
|
// packages/layout/src/view-stack.tsx
|
|
588
|
-
function
|
|
589
|
-
return /* @__PURE__ */
|
|
588
|
+
function ie({ children: e }) {
|
|
589
|
+
return /* @__PURE__ */ S("div", {
|
|
590
590
|
className: "x1n2onr6 x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j",
|
|
591
591
|
children: e
|
|
592
592
|
});
|
|
593
593
|
}
|
|
594
|
-
function
|
|
595
|
-
return /* @__PURE__ */
|
|
594
|
+
function ae({ isActive: e, children: t }) {
|
|
595
|
+
return /* @__PURE__ */ S("section", {
|
|
596
596
|
"aria-hidden": !e,
|
|
597
597
|
inert: !e,
|
|
598
598
|
...{
|
|
@@ -602,62 +602,62 @@ function oe({ isActive: e, children: t }) {
|
|
|
602
602
|
children: t
|
|
603
603
|
});
|
|
604
604
|
}
|
|
605
|
-
var
|
|
606
|
-
Root:
|
|
607
|
-
Panel:
|
|
608
|
-
},
|
|
605
|
+
var oe = {
|
|
606
|
+
Root: ie,
|
|
607
|
+
Panel: ae
|
|
608
|
+
}, se = { action: {
|
|
609
609
|
k7Eaqz: "xeuugli",
|
|
610
610
|
ks0D6T: "x193iq5w",
|
|
611
611
|
$$css: !0
|
|
612
612
|
} };
|
|
613
613
|
function Z({ title: e, actions: t, showBreadcrumb: n = !1, showNavigation: r = !0, views: i, leading: a }) {
|
|
614
|
-
let o =
|
|
615
|
-
return
|
|
614
|
+
let o = m.toArray(e).length > 0, s = m.toArray(t).length > 0, c = m.toArray(i).length > 0, l = m.toArray(a).length > 0;
|
|
615
|
+
return m.toArray([
|
|
616
616
|
e,
|
|
617
617
|
t,
|
|
618
618
|
i,
|
|
619
619
|
a
|
|
620
|
-
]).length === 0 ? null : /* @__PURE__ */
|
|
620
|
+
]).length === 0 ? null : /* @__PURE__ */ C("div", {
|
|
621
621
|
className: "x9f619 x78zum5 x12h1iku x14ut1dr x1qjc9v5 xnyqvp6 x2lah0s xso031l x1q0q8m5 x1qndepd xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xeuugli",
|
|
622
622
|
children: [
|
|
623
|
-
l ? /* @__PURE__ */
|
|
623
|
+
l ? /* @__PURE__ */ S("div", {
|
|
624
624
|
className: "x78zum5 x6s0dn4 xyibt8p x2lah0s",
|
|
625
625
|
children: a
|
|
626
|
-
}) : r && /* @__PURE__ */
|
|
627
|
-
o && /* @__PURE__ */
|
|
626
|
+
}) : r && /* @__PURE__ */ S(R, {}),
|
|
627
|
+
o && /* @__PURE__ */ S(n ? "nav" : "h1", {
|
|
628
628
|
tabIndex: n ? void 0 : -1,
|
|
629
629
|
"aria-label": n ? "Breadcrumb" : void 0,
|
|
630
630
|
className: "x78zum5 x6s0dn4 x1hnptsi x1dc62k6 xeuugli xs83m0k x1ghz6dp x1qlqyl8 xj57cvi x1t137rt",
|
|
631
|
-
children: /* @__PURE__ */
|
|
631
|
+
children: /* @__PURE__ */ S(n ? "div" : "span", {
|
|
632
632
|
className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
|
|
633
633
|
children: e
|
|
634
634
|
})
|
|
635
635
|
}),
|
|
636
|
-
c && /* @__PURE__ */
|
|
636
|
+
c && /* @__PURE__ */ S("div", {
|
|
637
637
|
className: "x78zum5 x6s0dn4 xeuugli x2lah0s",
|
|
638
638
|
children: i
|
|
639
639
|
}),
|
|
640
|
-
s && /* @__PURE__ */
|
|
640
|
+
s && /* @__PURE__ */ S("div", {
|
|
641
641
|
className: "x78zum5 x6s0dn4 xunmzkg x1dc62k6 xeuugli x2lah0s x8x9d4c",
|
|
642
642
|
children: t
|
|
643
643
|
})
|
|
644
644
|
]
|
|
645
645
|
});
|
|
646
646
|
}
|
|
647
|
-
function
|
|
647
|
+
function ce({ icon: e, children: t, ...n }) {
|
|
648
648
|
let r = e != null;
|
|
649
|
-
return /* @__PURE__ */
|
|
649
|
+
return /* @__PURE__ */ S("div", {
|
|
650
650
|
className: "x9f619 x78zum5 x1qjc9v5 xeuugli",
|
|
651
|
-
children: /* @__PURE__ */
|
|
651
|
+
children: /* @__PURE__ */ C(c, {
|
|
652
652
|
...n,
|
|
653
653
|
variant: "ghost",
|
|
654
654
|
"aria-label": n["aria-label"] ?? (typeof t == "string" ? t : void 0),
|
|
655
|
-
xstyle:
|
|
656
|
-
children: [r && /* @__PURE__ */
|
|
655
|
+
xstyle: se.action,
|
|
656
|
+
children: [r && /* @__PURE__ */ S("span", {
|
|
657
657
|
"aria-hidden": !0,
|
|
658
658
|
className: "x3nfvp2 x2lah0s x6s0dn4",
|
|
659
659
|
children: e
|
|
660
|
-
}), r || typeof t == "string" ? /* @__PURE__ */
|
|
660
|
+
}), r || typeof t == "string" ? /* @__PURE__ */ S("span", {
|
|
661
661
|
...{
|
|
662
662
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
663
663
|
1: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft xt0psk2 xlllsrz" }
|
|
@@ -669,53 +669,46 @@ function le({ icon: e, children: t, ...n }) {
|
|
|
669
669
|
}
|
|
670
670
|
// packages/layout/src/page-content.tsx
|
|
671
671
|
function Q({ children: e }) {
|
|
672
|
-
return /* @__PURE__ */
|
|
672
|
+
return /* @__PURE__ */ S("div", {
|
|
673
673
|
className: "x9f619 x78zum5 xdt5ytf xdz4d12 xeuugli xg7ukam",
|
|
674
674
|
children: e
|
|
675
675
|
});
|
|
676
676
|
}
|
|
677
677
|
// packages/layout/src/report-content.tsx
|
|
678
|
-
function
|
|
679
|
-
return /* @__PURE__ */
|
|
678
|
+
function le({ summary: e, breakdown: t }) {
|
|
679
|
+
return /* @__PURE__ */ C("div", {
|
|
680
680
|
"data-page-layout": "report",
|
|
681
681
|
className: "xeuugli",
|
|
682
|
-
children: [e != null && e !== !1 && /* @__PURE__ */
|
|
682
|
+
children: [e != null && e !== !1 && /* @__PURE__ */ S(Q, { children: e }), t]
|
|
683
683
|
});
|
|
684
684
|
}
|
|
685
685
|
// packages/layout/src/collection-layout.tsx
|
|
686
|
-
function
|
|
687
|
-
return /* @__PURE__ */
|
|
686
|
+
function ue({ header: e, children: t }) {
|
|
687
|
+
return /* @__PURE__ */ C("div", {
|
|
688
688
|
"data-page-layout": "collection",
|
|
689
689
|
className: "x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j x7giv3",
|
|
690
|
-
children: [/* @__PURE__ */
|
|
690
|
+
children: [/* @__PURE__ */ S("div", {
|
|
691
691
|
className: "x2lah0s xeuugli",
|
|
692
692
|
children: e
|
|
693
|
-
}), /* @__PURE__ */
|
|
693
|
+
}), /* @__PURE__ */ S("div", {
|
|
694
694
|
className: "x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j",
|
|
695
695
|
children: t
|
|
696
696
|
})]
|
|
697
697
|
});
|
|
698
698
|
}
|
|
699
|
-
// packages/layout/src/report-section.tsx
|
|
700
|
-
function fe({ summary: e, children: t }) {
|
|
701
|
-
return /* @__PURE__ */ w(s, {
|
|
702
|
-
isCompact: !0,
|
|
703
|
-
children: [e, t]
|
|
704
|
-
});
|
|
705
|
-
}
|
|
706
699
|
// packages/layout/src/record-page.tsx
|
|
707
|
-
function
|
|
708
|
-
return /* @__PURE__ */
|
|
700
|
+
function de({ children: e }) {
|
|
701
|
+
return /* @__PURE__ */ S("div", {
|
|
709
702
|
className: "x78zum5 xdt5ytf xeuugli xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
710
703
|
children: e
|
|
711
704
|
});
|
|
712
705
|
}
|
|
713
|
-
function
|
|
714
|
-
return /* @__PURE__ */
|
|
706
|
+
function fe({ backLabel: e, backHref: t, onBack: n, actions: r, showNavigation: i = !0 }) {
|
|
707
|
+
return /* @__PURE__ */ S(Z, {
|
|
715
708
|
showBreadcrumb: !0,
|
|
716
709
|
showNavigation: i,
|
|
717
710
|
actions: r,
|
|
718
|
-
title: /* @__PURE__ */
|
|
711
|
+
title: /* @__PURE__ */ C("a", {
|
|
719
712
|
href: t,
|
|
720
713
|
className: "x3nfvp2 x6s0dn4 x1hnptsi xid9utz xeuugli x193iq5w xbixft xkrqix3 x5638nf x13qnu6 x9v5kkp x19rmrnh x1bqaal",
|
|
721
714
|
onClick: (e) => {
|
|
@@ -723,68 +716,68 @@ function $({ backLabel: e, backHref: t, onBack: n, actions: r, showNavigation: i
|
|
|
723
716
|
let t = e.metaKey || e.ctrlKey, r = e.shiftKey || e.altKey;
|
|
724
717
|
t || r || (e.preventDefault(), n());
|
|
725
718
|
},
|
|
726
|
-
children: [/* @__PURE__ */
|
|
719
|
+
children: [/* @__PURE__ */ S(w, {
|
|
727
720
|
size: 16,
|
|
728
721
|
"aria-hidden": !0,
|
|
729
722
|
className: "x2lah0s"
|
|
730
|
-
}), /* @__PURE__ */
|
|
723
|
+
}), /* @__PURE__ */ S("span", {
|
|
731
724
|
className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
|
|
732
725
|
children: e
|
|
733
726
|
})]
|
|
734
727
|
})
|
|
735
728
|
});
|
|
736
729
|
}
|
|
737
|
-
function
|
|
738
|
-
return /* @__PURE__ */
|
|
730
|
+
function pe({ children: e, isWide: t = !1 }) {
|
|
731
|
+
return /* @__PURE__ */ S(K, {
|
|
739
732
|
isWide: t,
|
|
740
|
-
children: /* @__PURE__ */
|
|
733
|
+
children: /* @__PURE__ */ S("div", {
|
|
741
734
|
className: "x78zum5 x1a02dak x1cy8zhl xdz4d12 xeuugli",
|
|
742
735
|
children: e
|
|
743
736
|
})
|
|
744
737
|
});
|
|
745
738
|
}
|
|
746
|
-
function
|
|
747
|
-
return /* @__PURE__ */
|
|
739
|
+
function $({ children: e }) {
|
|
740
|
+
return /* @__PURE__ */ S("div", {
|
|
748
741
|
className: "x78zum5 xdt5ytf x1ewej1i x1iyjqo2 xdz4d12 xeuugli",
|
|
749
742
|
children: e
|
|
750
743
|
});
|
|
751
744
|
}
|
|
752
|
-
function
|
|
753
|
-
return /* @__PURE__ */
|
|
745
|
+
function me({ title: e, description: t, icon: n, titleRef: r }) {
|
|
746
|
+
return /* @__PURE__ */ C("header", {
|
|
754
747
|
className: "xrvj5dj x1n8ia3y xeuugli",
|
|
755
|
-
children: [/* @__PURE__ */
|
|
748
|
+
children: [/* @__PURE__ */ C("div", {
|
|
756
749
|
className: "x78zum5 x6s0dn4 x1n8ia3y xeuugli",
|
|
757
|
-
children: [n != null && /* @__PURE__ */
|
|
750
|
+
children: [n != null && /* @__PURE__ */ S("span", {
|
|
758
751
|
"aria-hidden": !0,
|
|
759
752
|
className: "x3nfvp2 x6s0dn4 x2lah0s",
|
|
760
753
|
children: n
|
|
761
|
-
}), /* @__PURE__ */
|
|
754
|
+
}), /* @__PURE__ */ S(s, {
|
|
762
755
|
ref: r,
|
|
763
756
|
tabIndex: -1,
|
|
764
757
|
className: "xeuugli x1t137rt",
|
|
765
758
|
children: e
|
|
766
759
|
})]
|
|
767
|
-
}), t != null && /* @__PURE__ */
|
|
760
|
+
}), t != null && /* @__PURE__ */ S(a, { children: t })]
|
|
768
761
|
});
|
|
769
762
|
}
|
|
770
|
-
function
|
|
771
|
-
return /* @__PURE__ */
|
|
763
|
+
function he({ children: e, label: t = "Properties" }) {
|
|
764
|
+
return /* @__PURE__ */ S("aside", {
|
|
772
765
|
"aria-label": t,
|
|
773
766
|
className: "x78zum5 xdt5ytf x1irul0l x1iyjqo2 x1j825kq xeuugli",
|
|
774
767
|
children: e
|
|
775
768
|
});
|
|
776
769
|
}
|
|
777
|
-
var
|
|
778
|
-
Root:
|
|
779
|
-
Toolbar:
|
|
780
|
-
Body:
|
|
781
|
-
Content:
|
|
782
|
-
Header:
|
|
783
|
-
Aside:
|
|
770
|
+
var ge = {
|
|
771
|
+
Root: de,
|
|
772
|
+
Toolbar: fe,
|
|
773
|
+
Body: pe,
|
|
774
|
+
Content: $,
|
|
775
|
+
Header: me,
|
|
776
|
+
Aside: he
|
|
784
777
|
};
|
|
785
778
|
// packages/layout/src/resizable.tsx
|
|
786
|
-
function
|
|
787
|
-
return /* @__PURE__ */
|
|
779
|
+
function _e({ orientation: e = "horizontal", initialSizes: t, onSizesChange: n, disabled: r, ref: i, ...a }) {
|
|
780
|
+
return /* @__PURE__ */ S(D, {
|
|
788
781
|
orientation: e,
|
|
789
782
|
defaultLayout: t,
|
|
790
783
|
onLayoutChanged: (e, t) => {
|
|
@@ -796,29 +789,29 @@ function ye({ orientation: e = "horizontal", initialSizes: t, onSizesChange: n,
|
|
|
796
789
|
coarse: 44,
|
|
797
790
|
fine: 12
|
|
798
791
|
},
|
|
799
|
-
...
|
|
792
|
+
...f({ className: "xeuugli x2lwn1j xh8yej3 x5yr21d" }, a)
|
|
800
793
|
});
|
|
801
794
|
}
|
|
802
|
-
function
|
|
803
|
-
return /* @__PURE__ */
|
|
795
|
+
function ve({ id: e, initialSizePercent: t, minimumSizePercent: n = 10, maximumSizePercent: r = 100, canCollapse: i = !1, ref: a, ...o }) {
|
|
796
|
+
return /* @__PURE__ */ S(O, {
|
|
804
797
|
id: e,
|
|
805
798
|
defaultSize: t === void 0 ? void 0 : `${t}%`,
|
|
806
799
|
minSize: `${n}%`,
|
|
807
800
|
maxSize: `${r}%`,
|
|
808
801
|
collapsible: i,
|
|
809
802
|
elementRef: a,
|
|
810
|
-
...
|
|
803
|
+
...f({ className: "xeuugli x2lwn1j xysyzu8" }, o)
|
|
811
804
|
});
|
|
812
805
|
}
|
|
813
|
-
function
|
|
814
|
-
return /* @__PURE__ */
|
|
806
|
+
function ye({ ref: e, ...t }) {
|
|
807
|
+
return /* @__PURE__ */ S(k, {
|
|
815
808
|
elementRef: e,
|
|
816
|
-
...
|
|
809
|
+
...f({ className: "x1fa40ue x1i1rx1s xgc0pbm xir5lan xfaai28 x1rbdpqn x8wp5i9 x13qnu6 x9v5kkp x19rmrnh x13iak60" }, t)
|
|
817
810
|
});
|
|
818
811
|
}
|
|
819
|
-
var
|
|
820
|
-
Root:
|
|
821
|
-
Pane:
|
|
822
|
-
Handle:
|
|
812
|
+
var be = {
|
|
813
|
+
Root: _e,
|
|
814
|
+
Pane: ve,
|
|
815
|
+
Handle: ye
|
|
823
816
|
};
|
|
824
|
-
export {
|
|
817
|
+
export { U as AppShell, ue as CollectionLayout, K as DetailPage, q as FocusPage, ee as Navigation, ne as NavigationItem, re as NavigationLink, V as NavigationRail, G as NavigationRailMenu, te as NavigationSection, Q as PageContent, Z as PageToolbar, ge as RecordPage, le as ReportContent, be as Resizable, L as SidebarFooter, I as SidebarLabel, ce as ToolbarAction, oe as ViewStack, J as Workbench, X as WorkbenchFooter, Y as WorkbenchScroll };
|
|
@@ -14,8 +14,6 @@ export { ReportContent } from './report-content.tsx';
|
|
|
14
14
|
export type { ReportContentProps } from './report-content.tsx';
|
|
15
15
|
export { CollectionLayout } from './collection-layout.tsx';
|
|
16
16
|
export type { CollectionLayoutProps } from './collection-layout.tsx';
|
|
17
|
-
export type { ReportSectionProps } from './report-section.tsx';
|
|
18
|
-
export { ReportSection } from './report-section.tsx';
|
|
19
17
|
export type { RecordPageRootProps, RecordPageToolbarProps, RecordPageBodyProps, RecordPageHeaderProps, RecordPageContentProps, RecordPageAsideProps, } from './record-page.tsx';
|
|
20
18
|
export { RecordPage } from './record-page.tsx';
|
|
21
19
|
export type { ResizableRootProps, ResizablePaneProps, ResizableHandleProps } from './resizable.tsx';
|
package/package.json
CHANGED