@mechane-ai/elements 0.11.0 → 0.13.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 +23 -4
- package/dist/ai.js +167 -141
- package/dist/{categorical-values-FYc43JCa.js → categorical-values-DwobbjBq.js} +2 -2
- package/dist/{chart-frame-Bczk5sWj.js → chart-frame-DAxsgMyl.js} +4 -4
- package/dist/{chart-input-CbzVN76m.js → chart-input-B0snxbMH.js} +2 -2
- package/dist/charts/cartesian.js +6 -6
- package/dist/charts/distribution.js +2 -2
- package/dist/charts/graph.js +3 -3
- package/dist/charts/hierarchy.js +3 -3
- package/dist/charts/matrix.js +2 -2
- package/dist/charts/timeline.js +4 -4
- package/dist/charts.js +1 -1
- package/dist/{code-block-B7xzM3tD.js → code-block-VwrOHz5j.js} +2 -2
- package/dist/collections.js +402 -267
- 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 +2 -2
- package/dist/content/tree.js +2 -2
- package/dist/{content-link-CatGOrbo.js → content-link-Oj-MtNYi.js} +1 -1
- package/dist/content.js +3 -4
- package/dist/elements.css +141 -96
- package/dist/feedback.js +1 -1
- package/dist/forms/dates.js +22 -23
- package/dist/forms.js +1 -1
- package/dist/index.js +1 -1
- package/dist/layout.js +223 -237
- package/dist/navigation/commands.js +3 -3
- package/dist/navigation.js +26 -12
- package/dist/overlays.js +1 -1
- package/dist/packages/ai/src/index.d.ts +2 -2
- package/dist/packages/ai/src/prompt-input.d.ts +4 -0
- package/dist/packages/collections/src/collection-controls.d.ts +1 -1
- package/dist/packages/collections/src/data-table.d.ts +24 -6
- package/dist/packages/collections/src/index.d.ts +2 -2
- package/dist/packages/core/src/actions.d.ts +5 -8
- package/dist/packages/feedback/src/async-region.d.ts +15 -9
- package/dist/packages/feedback/src/control-placeholders.d.ts +21 -0
- package/dist/packages/feedback/src/index.d.ts +4 -3
- package/dist/packages/forms/src/field-styles.d.ts +2 -74
- package/dist/packages/forms/src/form-actions.d.ts +11 -0
- package/dist/packages/forms/src/form-controls.d.ts +1 -1
- package/dist/packages/forms/src/forms.d.ts +3 -3
- package/dist/packages/forms/src/index.d.ts +2 -0
- package/dist/packages/forms/src/select.d.ts +2 -2
- package/dist/packages/forms/src/selection-styles.d.ts +0 -13
- package/dist/packages/foundations/src/control-styles.d.ts +122 -0
- package/dist/packages/foundations/src/style-composition.d.ts +0 -2
- package/dist/packages/foundations/src/tokens.stylex.d.ts +13 -2
- package/dist/packages/layout/src/frame.stylex.d.ts +0 -1
- package/dist/packages/layout/src/index.d.ts +2 -0
- package/dist/packages/layout/src/page-content.d.ts +5 -0
- package/dist/packages/layout/src/page-toolbar.d.ts +1 -1
- package/dist/packages/layout/src/sidebar.d.ts +3 -3
- package/dist/packages/navigation/src/index.d.ts +2 -2
- package/dist/packages/navigation/src/page-navigation.d.ts +5 -0
- package/dist/{pierre-diff--zsiHCCB.js → pierre-diff-sUAU-xeL.js} +1 -1
- package/dist/{pierre-theme-D9hnHv3Z.js → pierre-theme-CBAncKdH.js} +1 -1
- package/dist/{pierre-tree-D47uA7lb.js → pierre-tree-Db1yaDM2.js} +3 -3
- package/dist/src-B0UTwpOz.js +1003 -0
- package/dist/{src-D05isEh_.js → src-BNlyCwOr.js} +141 -69
- package/dist/{src-Cs0dRc4X.js → src-CVlgjAlw.js} +1 -1
- package/dist/src-DMsnWyru.js +1184 -0
- package/dist/tokens.js +18 -8
- package/package.json +1 -1
- package/packages/foundations/src/tokens.stylex.ts +15 -5
- package/dist/packages/feedback/src/loading.d.ts +0 -7
- package/dist/src-C_heP5kL.js +0 -1264
- package/dist/src-DXsGTJgv.js +0 -969
package/dist/layout.js
CHANGED
|
@@ -1,35 +1,22 @@
|
|
|
1
|
-
import { a as e } from "./src-
|
|
2
|
-
import { C as t, i as n, n as r, w as i } from "./src-
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { a as e } from "./src-CVlgjAlw.js";
|
|
2
|
+
import { C as t, i as n, n as r, w as i } from "./src-BNlyCwOr.js";
|
|
3
|
+
import { t as a } from "./style-composition-uYlczSsB.js";
|
|
4
|
+
import { Button as o } from "@base-ui/react/button";
|
|
5
|
+
import { mergeProps as s } from "@base-ui/react/merge-props";
|
|
6
|
+
import * as c from "@stylexjs/stylex";
|
|
7
|
+
import { Children as l, createContext as u, useContext as d, useEffect as f, useId as p, useRef as m, useState as h } from "react";
|
|
8
|
+
import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
9
|
+
import { ArrowLeft as y, PanelLeft as b, X as x } from "lucide-react";
|
|
10
|
+
import { Group as S, Panel as C, Separator as w } from "react-resizable-panels";
|
|
9
11
|
// packages/layout/src/frame.stylex.ts
|
|
10
|
-
var
|
|
12
|
+
var T = {
|
|
11
13
|
sidebarMobile: "@media (max-width:800px)",
|
|
12
14
|
sidebarDesktopQuery: "(min-width:801px)",
|
|
13
15
|
sidebarCoarse: "@media (min-width:801px) and (pointer: coarse)",
|
|
14
16
|
detailMobile: "@media (max-width:720px)",
|
|
15
17
|
toolbarCompact: "@container toolbar (max-width:600px)",
|
|
16
18
|
workbenchCompact: "@container workbench (max-width:860px)"
|
|
17
|
-
},
|
|
18
|
-
navigationControl: {
|
|
19
|
-
kjj79g: "x1nhvcw1",
|
|
20
|
-
kOIVth: "x1hnptsi",
|
|
21
|
-
kZKoxP: "x15rya3k x17kqdoe",
|
|
22
|
-
kAzted: "x1avwmir",
|
|
23
|
-
kzqmXN: "xh8yej3",
|
|
24
|
-
k7Eaqz: "xeuugli",
|
|
25
|
-
k8WAf4: "xt970qd",
|
|
26
|
-
kg3NbH: "xksvo5r",
|
|
27
|
-
$$css: !0
|
|
28
|
-
},
|
|
29
|
-
collapsedButton: {
|
|
30
|
-
kjj79g: "xl56j7k x1l31gyv",
|
|
31
|
-
$$css: !0
|
|
32
|
-
},
|
|
19
|
+
}, E = u(null), D = {
|
|
33
20
|
footer: {
|
|
34
21
|
kB7OPa: "x9f619",
|
|
35
22
|
k1xSpc: "x78zum5",
|
|
@@ -62,70 +49,54 @@ var S = {
|
|
|
62
49
|
kg3NbH: "xnjsko4",
|
|
63
50
|
k8WAf4: "xn9t2bk",
|
|
64
51
|
$$css: !0
|
|
65
|
-
},
|
|
66
|
-
toggle: {
|
|
67
|
-
kZKoxP: "x5yr21d",
|
|
68
|
-
kzqmXN: "xh8yej3",
|
|
69
|
-
k7Eaqz: "xeuugli",
|
|
70
|
-
kaIpWk: "x2u8bby",
|
|
71
|
-
k8WAf4: "xt970qd",
|
|
72
|
-
kg3NbH: "xnjsko4",
|
|
73
|
-
$$css: !0
|
|
74
|
-
},
|
|
75
|
-
close: {
|
|
76
|
-
kZKoxP: "x5yr21d",
|
|
77
|
-
kzqmXN: "xrlepb6",
|
|
78
|
-
kmuXW: "x2lah0s",
|
|
79
|
-
kaIpWk: "x2u8bby",
|
|
80
|
-
k8WAf4: "xt970qd",
|
|
81
|
-
kg3NbH: "xnjsko4",
|
|
82
|
-
$$css: !0
|
|
83
52
|
}
|
|
84
|
-
},
|
|
85
|
-
inline:
|
|
86
|
-
navigation:
|
|
53
|
+
}, O = {
|
|
54
|
+
inline: D.inlineFooter,
|
|
55
|
+
navigation: D.navigationFooter
|
|
87
56
|
};
|
|
88
|
-
function
|
|
89
|
-
return /* @__PURE__ */
|
|
90
|
-
/* @__PURE__ */
|
|
57
|
+
function k({ header: e, footer: t, close: n, children: r }) {
|
|
58
|
+
return /* @__PURE__ */ v(g, { children: [
|
|
59
|
+
/* @__PURE__ */ v("div", {
|
|
91
60
|
...{
|
|
92
|
-
0: { className: "x9f619 x78zum5 x1qjc9v5
|
|
93
|
-
1: { className: "x9f619 x1qjc9v5
|
|
61
|
+
0: { className: "x9f619 x78zum5 x1qjc9v5 xnyqvp6 x2lah0s xeuugli xso031l x1q0q8m5 x1qndepd" },
|
|
62
|
+
1: { className: "x9f619 x1qjc9v5 xnyqvp6 x2lah0s xeuugli xso031l x1q0q8m5 x1qndepd x1s85apg x1rhi5y4" }
|
|
94
63
|
}[e == null | 0],
|
|
95
|
-
children: [/* @__PURE__ */
|
|
64
|
+
children: [/* @__PURE__ */ _("div", {
|
|
96
65
|
className: "x78zum5 x6s0dn4 x98rzlu xeuugli",
|
|
97
66
|
children: e
|
|
98
67
|
}), n]
|
|
99
68
|
}),
|
|
100
|
-
/* @__PURE__ */
|
|
69
|
+
/* @__PURE__ */ _("div", {
|
|
101
70
|
role: "region",
|
|
102
71
|
"aria-label": "Navigation links",
|
|
103
72
|
tabIndex: 0,
|
|
104
73
|
className: "x98rzlu x2lwn1j x1odjw0f xish69e x1t137rt x7d1sxj x13qnu6 x9v5kkp x19rmrnh x1bqaal",
|
|
105
74
|
children: r
|
|
106
75
|
}),
|
|
107
|
-
t != null && /* @__PURE__ */
|
|
76
|
+
t != null && /* @__PURE__ */ _("div", {
|
|
108
77
|
className: "x2lah0s xeuugli xr1yuqi xpvm0e4 x153jb6y",
|
|
109
78
|
children: t
|
|
110
79
|
})
|
|
111
80
|
] });
|
|
112
81
|
}
|
|
113
|
-
function
|
|
114
|
-
return /* @__PURE__ */
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
82
|
+
function A() {
|
|
83
|
+
return /* @__PURE__ */ _("div", {
|
|
84
|
+
className: "x78zum5 x6s0dn4 xl56j7k x14j3e4g x2lah0s",
|
|
85
|
+
children: /* @__PURE__ */ _(e.Close, {
|
|
86
|
+
render: /* @__PURE__ */ _(i, {
|
|
87
|
+
variant: "ghost",
|
|
88
|
+
"aria-label": "Close navigation"
|
|
89
|
+
}),
|
|
90
|
+
children: /* @__PURE__ */ _(x, {
|
|
91
|
+
size: 16,
|
|
92
|
+
"aria-hidden": !0
|
|
93
|
+
})
|
|
123
94
|
})
|
|
124
95
|
});
|
|
125
96
|
}
|
|
126
|
-
function
|
|
127
|
-
let n =
|
|
128
|
-
return /* @__PURE__ */
|
|
97
|
+
function j({ children: e, label: t = "Main" }) {
|
|
98
|
+
let n = d(E), r = n !== null && !n.isExpanded;
|
|
99
|
+
return /* @__PURE__ */ _("nav", {
|
|
129
100
|
"aria-label": t,
|
|
130
101
|
...{
|
|
131
102
|
0: { className: "x78zum5 xdt5ytf xksvo5r" },
|
|
@@ -134,12 +105,12 @@ function O({ children: e, label: t = "Main" }) {
|
|
|
134
105
|
children: e
|
|
135
106
|
});
|
|
136
107
|
}
|
|
137
|
-
function
|
|
138
|
-
let n =
|
|
139
|
-
return /* @__PURE__ */
|
|
108
|
+
function M({ children: e, label: t }) {
|
|
109
|
+
let n = d(E), r = n !== null && !n.isExpanded, i = p();
|
|
110
|
+
return /* @__PURE__ */ v("section", {
|
|
140
111
|
"aria-labelledby": i,
|
|
141
112
|
className: "xn9t2bk",
|
|
142
|
-
children: [/* @__PURE__ */
|
|
113
|
+
children: [/* @__PURE__ */ _("div", {
|
|
143
114
|
id: i,
|
|
144
115
|
...{
|
|
145
116
|
0: { className: "xeuugli xn9t2bk xksvo5r x153jb6y x1hz01jw xy8obcc xas2l8k xk4h15q xj0a0fe" },
|
|
@@ -149,77 +120,83 @@ function k({ children: e, label: t }) {
|
|
|
149
120
|
}), e]
|
|
150
121
|
});
|
|
151
122
|
}
|
|
152
|
-
function
|
|
153
|
-
let
|
|
154
|
-
return /* @__PURE__ */
|
|
123
|
+
function N({ children: e, icon: t, selected: n = !1, onClick: r, className: i, style: s, ...c }) {
|
|
124
|
+
let l = d(E), u = p(), f = l !== null && !l.isExpanded;
|
|
125
|
+
return /* @__PURE__ */ _("div", {
|
|
155
126
|
...{
|
|
156
127
|
0: { className: "x78zum5 xeuugli x1ok0vyi" },
|
|
157
128
|
1: { className: "x78zum5 xeuugli x1ok0vyi x1r7kqkb" }
|
|
158
|
-
}[!!
|
|
159
|
-
children: /* @__PURE__ */
|
|
160
|
-
...
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
129
|
+
}[!!n | 0],
|
|
130
|
+
children: /* @__PURE__ */ v(o, {
|
|
131
|
+
...c,
|
|
132
|
+
...a({
|
|
133
|
+
className: i,
|
|
134
|
+
style: s,
|
|
135
|
+
styles: {
|
|
136
|
+
0: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x19fjeqo x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal xc342km x1ypdohk xwj21n9 x1m8qfh3 x1nhvcw1 x1hnptsi x15rya3k x17kqdoe x1avwmir xh8yej3 xeuugli xt970qd xksvo5r" },
|
|
137
|
+
1: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x19fjeqo x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal xc342km x1ypdohk xwj21n9 x1m8qfh3 x1hnptsi x15rya3k x17kqdoe x1avwmir xh8yej3 xeuugli xt970qd xksvo5r xl56j7k x1l31gyv" }
|
|
138
|
+
}[!!f | 0]
|
|
139
|
+
}),
|
|
140
|
+
"aria-current": n ? "page" : void 0,
|
|
141
|
+
"aria-labelledby": c["aria-labelledby"] ?? (c["aria-label"] === void 0 ? u : void 0),
|
|
142
|
+
title: c.title ?? (typeof e == "string" ? e : void 0),
|
|
165
143
|
onClick: (e) => {
|
|
166
|
-
|
|
144
|
+
r !== void 0 && r(e), !e.defaultPrevented && l !== null && l.onNavigate();
|
|
167
145
|
},
|
|
168
|
-
|
|
169
|
-
children: [n != null && /* @__PURE__ */ m("span", {
|
|
146
|
+
children: [t != null && /* @__PURE__ */ _("span", {
|
|
170
147
|
"aria-hidden": !0,
|
|
171
148
|
className: "x3nfvp2 x6s0dn4 xl56j7k xtwnzbg x18utl2x x2lah0s",
|
|
172
|
-
children:
|
|
173
|
-
}), /* @__PURE__ */
|
|
174
|
-
id:
|
|
149
|
+
children: t
|
|
150
|
+
}), /* @__PURE__ */ _("span", {
|
|
151
|
+
id: u,
|
|
175
152
|
...{
|
|
176
153
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
177
154
|
1: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft x1s85apg xeod2sa" }
|
|
178
|
-
}[!!
|
|
155
|
+
}[!!f | 0],
|
|
179
156
|
children: e
|
|
180
157
|
})]
|
|
181
158
|
})
|
|
182
159
|
});
|
|
183
160
|
}
|
|
184
|
-
function
|
|
185
|
-
let s =
|
|
186
|
-
0: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3
|
|
187
|
-
2: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3
|
|
188
|
-
1: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3
|
|
189
|
-
3: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3
|
|
190
|
-
}[!!
|
|
191
|
-
return /* @__PURE__ */
|
|
161
|
+
function P({ children: e, icon: t, selected: n = !1, onClick: r, className: i, style: a, ...o }) {
|
|
162
|
+
let s = d(E), c = p(), l = s !== null && !s.isExpanded, u = {
|
|
163
|
+
0: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x19fjeqo x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1nhvcw1 x1hnptsi x15rya3k x17kqdoe x1avwmir xh8yej3 xeuugli xt970qd xksvo5r" },
|
|
164
|
+
2: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft xjbqb8w x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x19fjeqo x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1hnptsi x15rya3k x17kqdoe x1avwmir xh8yej3 xeuugli xt970qd xksvo5r xl56j7k x1l31gyv" },
|
|
165
|
+
1: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x19fjeqo x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1nhvcw1 x1hnptsi x15rya3k x17kqdoe x1avwmir xh8yej3 xeuugli xt970qd xksvo5r x1r7kqkb" },
|
|
166
|
+
3: { className: "x9f619 x78zum5 x6s0dn4 x1ok0vyi xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xdpxx8g xkrqix3 x19fjeqo x1480za7 x13qnu6 x9v5kkp x19rmrnh x1bqaal x1hnptsi x15rya3k x17kqdoe x1avwmir xh8yej3 xeuugli xt970qd xksvo5r xl56j7k x1l31gyv x1r7kqkb" }
|
|
167
|
+
}[!!l << 1 | !!n];
|
|
168
|
+
return /* @__PURE__ */ v("a", {
|
|
192
169
|
...o,
|
|
193
170
|
"aria-current": n ? "page" : void 0,
|
|
194
|
-
"aria-labelledby": o["aria-labelledby"] ?? (o["aria-label"] === void 0 ?
|
|
171
|
+
"aria-labelledby": o["aria-labelledby"] ?? (o["aria-label"] === void 0 ? c : void 0),
|
|
195
172
|
title: o.title ?? (typeof e == "string" ? e : void 0),
|
|
196
173
|
onClick: (e) => {
|
|
197
174
|
if (r !== void 0 && r(e), s === null || e.button !== 0) return;
|
|
198
175
|
let t = e.metaKey || e.ctrlKey, n = e.shiftKey || e.altKey;
|
|
199
176
|
t || n || s.onNavigate();
|
|
200
177
|
},
|
|
201
|
-
className: [
|
|
178
|
+
className: [u.className, i].filter(Boolean).join(" "),
|
|
202
179
|
style: {
|
|
203
|
-
...
|
|
180
|
+
...u.style,
|
|
204
181
|
...a
|
|
205
182
|
},
|
|
206
|
-
children: [t != null && /* @__PURE__ */
|
|
183
|
+
children: [t != null && /* @__PURE__ */ _("span", {
|
|
207
184
|
"aria-hidden": !0,
|
|
208
185
|
className: "x3nfvp2 x6s0dn4 xl56j7k xtwnzbg x18utl2x x2lah0s",
|
|
209
186
|
children: t
|
|
210
|
-
}), /* @__PURE__ */
|
|
211
|
-
id:
|
|
187
|
+
}), /* @__PURE__ */ _("span", {
|
|
188
|
+
id: c,
|
|
212
189
|
...{
|
|
213
190
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
214
191
|
1: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft x1s85apg xeod2sa" }
|
|
215
|
-
}[!!
|
|
192
|
+
}[!!l | 0],
|
|
216
193
|
children: e
|
|
217
194
|
})]
|
|
218
195
|
});
|
|
219
196
|
}
|
|
220
|
-
function
|
|
221
|
-
let n =
|
|
222
|
-
return /* @__PURE__ */
|
|
197
|
+
function F({ children: e, grow: t = !1 }) {
|
|
198
|
+
let n = d(E), r = n !== null && !n.isExpanded;
|
|
199
|
+
return /* @__PURE__ */ _("span", {
|
|
223
200
|
...{
|
|
224
201
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
225
202
|
2: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft x78zum5 x6s0dn4 x1hnptsi x98rzlu" },
|
|
@@ -229,41 +206,39 @@ function M({ children: e, grow: t = !1 }) {
|
|
|
229
206
|
children: e
|
|
230
207
|
});
|
|
231
208
|
}
|
|
232
|
-
function
|
|
233
|
-
let n =
|
|
234
|
-
return /* @__PURE__ */
|
|
235
|
-
...
|
|
209
|
+
function I({ children: e, layout: t = "inline" }) {
|
|
210
|
+
let n = d(E), r = n !== null && !n.isExpanded;
|
|
211
|
+
return /* @__PURE__ */ _("div", {
|
|
212
|
+
...c.props(D.footer, r && D.collapsedFooter, O[t]),
|
|
236
213
|
children: e
|
|
237
214
|
});
|
|
238
215
|
}
|
|
239
|
-
function
|
|
240
|
-
let t =
|
|
241
|
-
return t === null ? null : /* @__PURE__ */
|
|
242
|
-
className: "x9f619 x2lah0s
|
|
243
|
-
children: /* @__PURE__ */
|
|
216
|
+
function L() {
|
|
217
|
+
let t = d(E);
|
|
218
|
+
return t === null ? null : /* @__PURE__ */ v(g, { children: [/* @__PURE__ */ _("div", {
|
|
219
|
+
className: "x9f619 x6s0dn4 xl56j7k x2lah0s x14j3e4g xs1s249 x32b0ac xelkwwr x78zum5 x1ykma7f",
|
|
220
|
+
children: /* @__PURE__ */ _(i, {
|
|
244
221
|
ref: t.navigationToggleRef,
|
|
245
222
|
variant: "ghost",
|
|
246
223
|
"aria-label": t.isExpanded ? "Collapse navigation" : "Expand navigation",
|
|
247
224
|
"aria-controls": t.sidebarId,
|
|
248
225
|
"aria-expanded": t.isExpanded,
|
|
249
226
|
onClick: t.onToggle,
|
|
250
|
-
|
|
251
|
-
children: /* @__PURE__ */ m(_, {
|
|
227
|
+
children: /* @__PURE__ */ _(b, {
|
|
252
228
|
size: 16,
|
|
253
229
|
"aria-hidden": !0
|
|
254
230
|
})
|
|
255
231
|
})
|
|
256
|
-
}), /* @__PURE__ */
|
|
257
|
-
className: "x9f619 x2lah0s
|
|
258
|
-
children: /* @__PURE__ */
|
|
232
|
+
}), /* @__PURE__ */ _("div", {
|
|
233
|
+
className: "x9f619 x6s0dn4 xl56j7k x2lah0s x14j3e4g xs1s249 x32b0ac xelkwwr x1s85apg x1rhi5y4",
|
|
234
|
+
children: /* @__PURE__ */ _(e.Trigger, {
|
|
259
235
|
ref: t.mobileNavigationToggleRef,
|
|
260
236
|
handle: t.drawerHandle,
|
|
261
|
-
render: /* @__PURE__ */
|
|
237
|
+
render: /* @__PURE__ */ _(i, {
|
|
262
238
|
variant: "ghost",
|
|
263
|
-
"aria-label": "Open navigation"
|
|
264
|
-
xstyle: w.toggle
|
|
239
|
+
"aria-label": "Open navigation"
|
|
265
240
|
}),
|
|
266
|
-
children: /* @__PURE__ */
|
|
241
|
+
children: /* @__PURE__ */ _(b, {
|
|
267
242
|
size: 16,
|
|
268
243
|
"aria-hidden": !0
|
|
269
244
|
})
|
|
@@ -271,66 +246,66 @@ function P() {
|
|
|
271
246
|
})] });
|
|
272
247
|
}
|
|
273
248
|
// packages/layout/src/app-shell.tsx
|
|
274
|
-
var
|
|
249
|
+
var R = { drawer: {
|
|
275
250
|
kzqmXN: "x68ju84",
|
|
276
251
|
ks0D6T: "x1recik0",
|
|
277
252
|
$$css: !0
|
|
278
253
|
} };
|
|
279
|
-
function
|
|
280
|
-
let [s, c] =
|
|
281
|
-
return
|
|
282
|
-
let e = globalThis.matchMedia(
|
|
254
|
+
function z({ sidebarHeader: t, sidebar: n, footer: r, children: i, mainId: a = "main", focus: o = !1 }) {
|
|
255
|
+
let [s, c] = h(!0), [l, u] = h(!1), [d] = h(() => e.createHandle()), g = p(), y = m(null), b = m(null);
|
|
256
|
+
return f(() => {
|
|
257
|
+
let e = globalThis.matchMedia(T.sidebarDesktopQuery);
|
|
283
258
|
function t() {
|
|
284
|
-
e.matches &&
|
|
259
|
+
e.matches && u(!1);
|
|
285
260
|
}
|
|
286
261
|
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
|
|
287
|
-
}, []), /* @__PURE__ */
|
|
262
|
+
}, []), /* @__PURE__ */ v(E.Provider, {
|
|
288
263
|
value: {
|
|
289
264
|
isExpanded: s,
|
|
290
|
-
sidebarId:
|
|
291
|
-
drawerHandle:
|
|
265
|
+
sidebarId: g,
|
|
266
|
+
drawerHandle: d,
|
|
292
267
|
navigationToggleRef: y,
|
|
293
268
|
mobileNavigationToggleRef: b,
|
|
294
269
|
onToggle: () => c((e) => !e),
|
|
295
|
-
onNavigate: () =>
|
|
270
|
+
onNavigate: () => u(!1)
|
|
296
271
|
},
|
|
297
|
-
children: [/* @__PURE__ */
|
|
272
|
+
children: [/* @__PURE__ */ v("div", {
|
|
298
273
|
className: "x9f619 x1ov3xa9 x78zum5 xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
299
|
-
children: [/* @__PURE__ */
|
|
300
|
-
id:
|
|
274
|
+
children: [/* @__PURE__ */ _("aside", {
|
|
275
|
+
id: g,
|
|
301
276
|
"aria-label": "Navigation",
|
|
302
277
|
hidden: o,
|
|
303
278
|
...{
|
|
304
279
|
0: { className: "x9f619 x78zum5 x1ykma7f xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x68ju84 x2lah0s x2lwn1j xeuugli" },
|
|
305
|
-
2: { className: "x9f619 x78zum5 x1ykma7f xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli
|
|
280
|
+
2: { className: "x9f619 x78zum5 x1ykma7f xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli x14j3e4g" },
|
|
306
281
|
1: { className: "x9f619 xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x68ju84 x2lah0s x2lwn1j xeuugli x1s85apg" },
|
|
307
|
-
3: { className: "x9f619 xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli
|
|
282
|
+
3: { className: "x9f619 xdt5ytf xs1s249 x32b0ac xelkwwr xpvm0e4 x7wzq59 x13vifvy xtdtrs8 x2lah0s x2lwn1j xeuugli x14j3e4g x1s85apg" }
|
|
308
283
|
}[!s << 1 | !!o],
|
|
309
|
-
children: /* @__PURE__ */
|
|
284
|
+
children: /* @__PURE__ */ _(k, {
|
|
310
285
|
header: t,
|
|
311
286
|
footer: r,
|
|
312
287
|
children: n
|
|
313
288
|
})
|
|
314
|
-
}), /* @__PURE__ */
|
|
289
|
+
}), /* @__PURE__ */ _("main", {
|
|
315
290
|
id: a,
|
|
316
291
|
tabIndex: -1,
|
|
317
292
|
className: "xeuugli x98rzlu",
|
|
318
293
|
children: i
|
|
319
294
|
})]
|
|
320
|
-
}), /* @__PURE__ */
|
|
321
|
-
handle:
|
|
322
|
-
open:
|
|
323
|
-
onOpenChange:
|
|
324
|
-
children: /* @__PURE__ */
|
|
325
|
-
xstyle:
|
|
326
|
-
finalFocus: () => globalThis.matchMedia(
|
|
327
|
-
children: [/* @__PURE__ */
|
|
295
|
+
}), /* @__PURE__ */ _(e.Root, {
|
|
296
|
+
handle: d,
|
|
297
|
+
open: l && !o,
|
|
298
|
+
onOpenChange: u,
|
|
299
|
+
children: /* @__PURE__ */ v(e.Portal, { children: [/* @__PURE__ */ _(e.Backdrop, {}), /* @__PURE__ */ _(e.Viewport, { children: /* @__PURE__ */ v(e.Popup, {
|
|
300
|
+
xstyle: R.drawer,
|
|
301
|
+
finalFocus: () => globalThis.matchMedia(T.sidebarDesktopQuery).matches ? y.current : b.current,
|
|
302
|
+
children: [/* @__PURE__ */ _(e.Title, {
|
|
328
303
|
visuallyHidden: !0,
|
|
329
304
|
children: "Navigation"
|
|
330
|
-
}), /* @__PURE__ */
|
|
305
|
+
}), /* @__PURE__ */ _(k, {
|
|
331
306
|
header: t,
|
|
332
307
|
footer: r,
|
|
333
|
-
close: /* @__PURE__ */
|
|
308
|
+
close: /* @__PURE__ */ _(A, {}),
|
|
334
309
|
children: n
|
|
335
310
|
})]
|
|
336
311
|
}) })] })
|
|
@@ -338,40 +313,40 @@ function I({ sidebarHeader: t, sidebar: n, footer: r, children: i, mainId: a = "
|
|
|
338
313
|
});
|
|
339
314
|
}
|
|
340
315
|
// packages/layout/src/detail-page.tsx
|
|
341
|
-
function
|
|
342
|
-
return /* @__PURE__ */
|
|
316
|
+
function B({ children: e }) {
|
|
317
|
+
return /* @__PURE__ */ _("div", {
|
|
343
318
|
className: "x9f619 x13na7z x96idz6 x9g60mw xeuugli xvueqy4 xnjsko4 x10gdey3 x14y0u4g x1foqgtu x1uwsqpk x14oio8y",
|
|
344
319
|
children: e
|
|
345
320
|
});
|
|
346
321
|
}
|
|
347
322
|
// packages/layout/src/focus-page.tsx
|
|
348
|
-
function
|
|
349
|
-
return /* @__PURE__ */
|
|
323
|
+
function V({ children: e }) {
|
|
324
|
+
return /* @__PURE__ */ _("main", {
|
|
350
325
|
id: "main",
|
|
351
326
|
tabIndex: -1,
|
|
352
327
|
className: "x9f619 x1ov3xa9 xeuugli xrvj5dj x1ku5rj1 x1jvlu93 xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
353
|
-
children: /* @__PURE__ */
|
|
328
|
+
children: /* @__PURE__ */ _("div", {
|
|
354
329
|
className: "xh8yej3 xxc7z9f xeuugli xrvj5dj x1mkdm3x x1j825kq",
|
|
355
330
|
children: e
|
|
356
331
|
})
|
|
357
332
|
});
|
|
358
333
|
}
|
|
359
334
|
// packages/layout/src/workbench.tsx
|
|
360
|
-
function
|
|
361
|
-
return /* @__PURE__ */
|
|
362
|
-
className: "x78zum5 xdt5ytf
|
|
363
|
-
children: [e != null && /* @__PURE__ */
|
|
335
|
+
function H({ header: e, children: t, inspector: n }) {
|
|
336
|
+
return /* @__PURE__ */ v("div", {
|
|
337
|
+
className: "x78zum5 xdt5ytf x1r09gfs xeuugli x2lwn1j x12h1iku x1a75771 xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel",
|
|
338
|
+
children: [e != null && /* @__PURE__ */ _("div", {
|
|
364
339
|
className: "xeuugli x2lah0s x1ydxw8w xnx3t7k xso031l x1q0q8m5 x1qndepd",
|
|
365
340
|
children: e
|
|
366
|
-
}), /* @__PURE__ */
|
|
341
|
+
}), /* @__PURE__ */ v("div", {
|
|
367
342
|
className: "x78zum5 x98rzlu xeuugli x2lwn1j x7giv3",
|
|
368
|
-
children: [/* @__PURE__ */
|
|
343
|
+
children: [/* @__PURE__ */ _("div", {
|
|
369
344
|
...{
|
|
370
345
|
0: { className: "x1n2onr6 x78zum5 x98rzlu xdt5ytf xeuugli x2lwn1j" },
|
|
371
346
|
1: { className: "x1n2onr6 x98rzlu xdt5ytf xeuugli x2lwn1j x78zum5 x152g2jv" }
|
|
372
347
|
}[n != null | 0],
|
|
373
348
|
children: t
|
|
374
|
-
}), n != null && /* @__PURE__ */
|
|
349
|
+
}), n != null && /* @__PURE__ */ _("aside", {
|
|
375
350
|
"aria-label": "Execution inspector",
|
|
376
351
|
className: "x9f619 x1peuizl x1vx4hiz xeuugli x2lah0s x1odjw0f x1c8xbx5 xpvm0e4 xe0pwq xs311s2 x19ypqd9 x1l3ounx",
|
|
377
352
|
children: n
|
|
@@ -379,8 +354,8 @@ function z({ header: e, children: t, inspector: n }) {
|
|
|
379
354
|
})]
|
|
380
355
|
});
|
|
381
356
|
}
|
|
382
|
-
function
|
|
383
|
-
return /* @__PURE__ */
|
|
357
|
+
function U({ label: e, children: t, flush: n = !1, scrollRestorationId: r }) {
|
|
358
|
+
return /* @__PURE__ */ _("div", {
|
|
384
359
|
role: "region",
|
|
385
360
|
"aria-label": e,
|
|
386
361
|
tabIndex: 0,
|
|
@@ -392,21 +367,21 @@ function B({ label: e, children: t, flush: n = !1, scrollRestorationId: r }) {
|
|
|
392
367
|
children: t
|
|
393
368
|
});
|
|
394
369
|
}
|
|
395
|
-
function
|
|
396
|
-
return /* @__PURE__ */
|
|
370
|
+
function ee({ children: e }) {
|
|
371
|
+
return /* @__PURE__ */ _("div", {
|
|
397
372
|
className: "x2lah0s x1c8xbx5 x178xt8z x13fuv20 xhjagg4 xpvm0e4",
|
|
398
373
|
children: e
|
|
399
374
|
});
|
|
400
375
|
}
|
|
401
376
|
// packages/layout/src/view-stack.tsx
|
|
402
|
-
function
|
|
403
|
-
return /* @__PURE__ */
|
|
377
|
+
function W({ children: e }) {
|
|
378
|
+
return /* @__PURE__ */ _("div", {
|
|
404
379
|
className: "x1n2onr6 x78zum5 xdt5ytf x98rzlu xeuugli x2lwn1j",
|
|
405
380
|
children: e
|
|
406
381
|
});
|
|
407
382
|
}
|
|
408
|
-
function
|
|
409
|
-
return /* @__PURE__ */
|
|
383
|
+
function G({ active: e, children: t }) {
|
|
384
|
+
return /* @__PURE__ */ _("section", {
|
|
410
385
|
"aria-hidden": !e,
|
|
411
386
|
inert: !e,
|
|
412
387
|
...{
|
|
@@ -416,58 +391,62 @@ function U({ active: e, children: t }) {
|
|
|
416
391
|
children: t
|
|
417
392
|
});
|
|
418
393
|
}
|
|
419
|
-
var
|
|
420
|
-
Root:
|
|
421
|
-
Panel:
|
|
422
|
-
},
|
|
423
|
-
kOIVth: "x1hnptsi",
|
|
394
|
+
var K = {
|
|
395
|
+
Root: W,
|
|
396
|
+
Panel: G
|
|
397
|
+
}, q = { action: {
|
|
424
398
|
k7Eaqz: "xeuugli",
|
|
425
399
|
ks0D6T: "x193iq5w",
|
|
426
400
|
$$css: !0
|
|
427
401
|
} };
|
|
428
|
-
function
|
|
429
|
-
|
|
430
|
-
|
|
402
|
+
function J({ title: e, actions: t, breadcrumb: n = !1, navigation: r = !0, views: i, leading: a }) {
|
|
403
|
+
let o = l.toArray(e).length > 0, s = l.toArray(t).length > 0, c = l.toArray(i).length > 0, u = l.toArray(a).length > 0;
|
|
404
|
+
return l.toArray([
|
|
405
|
+
e,
|
|
406
|
+
t,
|
|
407
|
+
i,
|
|
408
|
+
a
|
|
409
|
+
]).length === 0 ? null : /* @__PURE__ */ v("div", {
|
|
410
|
+
className: "x9f619 x78zum5 x12h1iku x14ut1dr x1qjc9v5 xnyqvp6 x2lah0s xso031l x1q0q8m5 x1qndepd xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xj57cvi xvmahel xeuugli",
|
|
431
411
|
children: [
|
|
432
|
-
|
|
412
|
+
u ? /* @__PURE__ */ _("div", {
|
|
433
413
|
className: "x78zum5 x6s0dn4 xyibt8p x2lah0s",
|
|
434
414
|
children: a
|
|
435
|
-
}),
|
|
436
|
-
/* @__PURE__ */
|
|
415
|
+
}) : r && /* @__PURE__ */ _(L, {}),
|
|
416
|
+
o && /* @__PURE__ */ _(n ? "nav" : "h1", {
|
|
437
417
|
tabIndex: n ? void 0 : -1,
|
|
438
418
|
"aria-label": n ? "Breadcrumb" : void 0,
|
|
439
|
-
className: "x78zum5 x6s0dn4 x1hnptsi
|
|
440
|
-
children: /* @__PURE__ */
|
|
419
|
+
className: "x78zum5 x6s0dn4 x1hnptsi x1dc62k6 xeuugli xs83m0k x1ghz6dp x1qlqyl8 xj57cvi x1t137rt",
|
|
420
|
+
children: /* @__PURE__ */ _("span", {
|
|
441
421
|
className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
|
|
442
422
|
children: e
|
|
443
423
|
})
|
|
444
424
|
}),
|
|
445
|
-
|
|
425
|
+
c && /* @__PURE__ */ _("div", {
|
|
446
426
|
className: "x78zum5 x6s0dn4 xeuugli x2lah0s",
|
|
447
427
|
children: i
|
|
448
428
|
}),
|
|
449
|
-
|
|
450
|
-
className: "x78zum5 x6s0dn4 xunmzkg
|
|
429
|
+
s && /* @__PURE__ */ _("div", {
|
|
430
|
+
className: "x78zum5 x6s0dn4 xunmzkg x1dc62k6 xeuugli xs83m0k x8x9d4c",
|
|
451
431
|
children: t
|
|
452
432
|
})
|
|
453
433
|
]
|
|
454
434
|
});
|
|
455
435
|
}
|
|
456
|
-
function
|
|
436
|
+
function Y({ icon: e, children: n, ...r }) {
|
|
457
437
|
let i = e != null;
|
|
458
|
-
return /* @__PURE__ */
|
|
438
|
+
return /* @__PURE__ */ _("div", {
|
|
459
439
|
className: "x9f619 x78zum5 x1qjc9v5 xeuugli",
|
|
460
|
-
children: /* @__PURE__ */
|
|
440
|
+
children: /* @__PURE__ */ v(t, {
|
|
461
441
|
...r,
|
|
462
442
|
variant: "ghost",
|
|
463
|
-
size: "sm",
|
|
464
443
|
"aria-label": r["aria-label"] ?? (typeof n == "string" ? n : void 0),
|
|
465
|
-
xstyle:
|
|
466
|
-
children: [i && /* @__PURE__ */
|
|
444
|
+
xstyle: q.action,
|
|
445
|
+
children: [i && /* @__PURE__ */ _("span", {
|
|
467
446
|
"aria-hidden": !0,
|
|
468
447
|
className: "x3nfvp2 x2lah0s x6s0dn4",
|
|
469
448
|
children: e
|
|
470
|
-
}), i || typeof n == "string" ? /* @__PURE__ */
|
|
449
|
+
}), i || typeof n == "string" ? /* @__PURE__ */ _("span", {
|
|
471
450
|
...{
|
|
472
451
|
0: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft" },
|
|
473
452
|
1: { className: "xeuugli xb3r6kr xlyipyv xuxw1ft xt0psk2 xlllsrz" }
|
|
@@ -477,19 +456,26 @@ function q({ icon: e, children: n, ...r }) {
|
|
|
477
456
|
})
|
|
478
457
|
});
|
|
479
458
|
}
|
|
459
|
+
// packages/layout/src/page-content.tsx
|
|
460
|
+
function X({ children: e }) {
|
|
461
|
+
return /* @__PURE__ */ _("div", {
|
|
462
|
+
className: "x9f619 x78zum5 xdt5ytf xdz4d12 xeuugli xg7ukam",
|
|
463
|
+
children: e
|
|
464
|
+
});
|
|
465
|
+
}
|
|
480
466
|
// packages/layout/src/record-page.tsx
|
|
481
|
-
function
|
|
482
|
-
return /* @__PURE__ */
|
|
467
|
+
function Z({ children: e }) {
|
|
468
|
+
return /* @__PURE__ */ _("div", {
|
|
483
469
|
className: "x78zum5 xdt5ytf xeuugli xbixft x1hz01jw xtqrqnz x1778rvt xvmahel",
|
|
484
470
|
children: e
|
|
485
471
|
});
|
|
486
472
|
}
|
|
487
|
-
function
|
|
488
|
-
return /* @__PURE__ */
|
|
473
|
+
function Q({ backLabel: e, backHref: t, onBack: n, actions: r, navigation: i = !0 }) {
|
|
474
|
+
return /* @__PURE__ */ _(J, {
|
|
489
475
|
breadcrumb: !0,
|
|
490
476
|
navigation: i,
|
|
491
477
|
actions: r,
|
|
492
|
-
title: /* @__PURE__ */
|
|
478
|
+
title: /* @__PURE__ */ v("a", {
|
|
493
479
|
href: t,
|
|
494
480
|
className: "x3nfvp2 x6s0dn4 x1hnptsi xid9utz xeuugli x193iq5w xbixft xkrqix3 x9p3ypd x13qnu6 x9v5kkp x19rmrnh x1bqaal",
|
|
495
481
|
onClick: (e) => {
|
|
@@ -497,65 +483,65 @@ function Y({ backLabel: e, backHref: t, onBack: n, actions: r, navigation: i = !
|
|
|
497
483
|
let t = e.metaKey || e.ctrlKey, r = e.shiftKey || e.altKey;
|
|
498
484
|
t || r || (e.preventDefault(), n());
|
|
499
485
|
},
|
|
500
|
-
children: [/* @__PURE__ */
|
|
486
|
+
children: [/* @__PURE__ */ _(y, {
|
|
501
487
|
size: 16,
|
|
502
488
|
"aria-hidden": !0,
|
|
503
489
|
className: "x2lah0s"
|
|
504
|
-
}), /* @__PURE__ */
|
|
490
|
+
}), /* @__PURE__ */ _("span", {
|
|
505
491
|
className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
|
|
506
492
|
children: e
|
|
507
493
|
})]
|
|
508
494
|
})
|
|
509
495
|
});
|
|
510
496
|
}
|
|
511
|
-
function
|
|
512
|
-
return /* @__PURE__ */
|
|
513
|
-
className: "x78zum5 x1a02dak x1cy8zhl
|
|
497
|
+
function $({ children: e }) {
|
|
498
|
+
return /* @__PURE__ */ _(B, { children: /* @__PURE__ */ _("div", {
|
|
499
|
+
className: "x78zum5 x1a02dak x1cy8zhl xdz4d12 xeuugli",
|
|
514
500
|
children: e
|
|
515
501
|
}) });
|
|
516
502
|
}
|
|
517
|
-
function
|
|
518
|
-
return /* @__PURE__ */
|
|
519
|
-
className: "x78zum5 xdt5ytf x1ewej1i x1iyjqo2
|
|
503
|
+
function te({ children: e }) {
|
|
504
|
+
return /* @__PURE__ */ _("div", {
|
|
505
|
+
className: "x78zum5 xdt5ytf x1ewej1i x1iyjqo2 xdz4d12 xeuugli",
|
|
520
506
|
children: e
|
|
521
507
|
});
|
|
522
508
|
}
|
|
523
|
-
function
|
|
524
|
-
return /* @__PURE__ */
|
|
509
|
+
function ne({ title: e, description: t, icon: i, titleRef: a }) {
|
|
510
|
+
return /* @__PURE__ */ v("header", {
|
|
525
511
|
className: "xrvj5dj x1n8ia3y xeuugli",
|
|
526
|
-
children: [/* @__PURE__ */
|
|
512
|
+
children: [/* @__PURE__ */ v("div", {
|
|
527
513
|
className: "x78zum5 x6s0dn4 x1n8ia3y xeuugli",
|
|
528
|
-
children: [i != null && /* @__PURE__ */
|
|
514
|
+
children: [i != null && /* @__PURE__ */ _("span", {
|
|
529
515
|
"aria-hidden": !0,
|
|
530
516
|
className: "x3nfvp2 x6s0dn4 x2lah0s",
|
|
531
517
|
children: i
|
|
532
|
-
}), /* @__PURE__ */
|
|
518
|
+
}), /* @__PURE__ */ _(r, {
|
|
533
519
|
ref: a,
|
|
534
520
|
tabIndex: -1,
|
|
535
521
|
className: "xeuugli x1t137rt",
|
|
536
522
|
children: e
|
|
537
523
|
})]
|
|
538
|
-
}), t != null && /* @__PURE__ */
|
|
524
|
+
}), t != null && /* @__PURE__ */ _(n, { children: t })]
|
|
539
525
|
});
|
|
540
526
|
}
|
|
541
|
-
function
|
|
542
|
-
return /* @__PURE__ */
|
|
527
|
+
function re({ children: e, label: t = "Properties" }) {
|
|
528
|
+
return /* @__PURE__ */ _("aside", {
|
|
543
529
|
"aria-label": t,
|
|
544
530
|
className: "x78zum5 xdt5ytf x1irul0l x1iyjqo2 x1j825kq xeuugli",
|
|
545
531
|
children: e
|
|
546
532
|
});
|
|
547
533
|
}
|
|
548
|
-
var
|
|
549
|
-
Root:
|
|
550
|
-
Toolbar:
|
|
551
|
-
Body:
|
|
552
|
-
Content:
|
|
553
|
-
Header:
|
|
554
|
-
Aside:
|
|
534
|
+
var ie = {
|
|
535
|
+
Root: Z,
|
|
536
|
+
Toolbar: Q,
|
|
537
|
+
Body: $,
|
|
538
|
+
Content: te,
|
|
539
|
+
Header: ne,
|
|
540
|
+
Aside: re
|
|
555
541
|
};
|
|
556
542
|
// packages/layout/src/resizable.tsx
|
|
557
|
-
function
|
|
558
|
-
return /* @__PURE__ */
|
|
543
|
+
function ae({ orientation: e = "horizontal", initialSizes: t, onSizesChange: n, disabled: r, ref: i, ...a }) {
|
|
544
|
+
return /* @__PURE__ */ _(S, {
|
|
559
545
|
orientation: e,
|
|
560
546
|
defaultLayout: t,
|
|
561
547
|
onLayoutChanged: (e, t) => {
|
|
@@ -567,29 +553,29 @@ function te({ orientation: e = "horizontal", initialSizes: t, onSizesChange: n,
|
|
|
567
553
|
coarse: 44,
|
|
568
554
|
fine: 12
|
|
569
555
|
},
|
|
570
|
-
...
|
|
556
|
+
...s({ className: "xeuugli x2lwn1j xh8yej3 x5yr21d" }, a)
|
|
571
557
|
});
|
|
572
558
|
}
|
|
573
|
-
function
|
|
574
|
-
return /* @__PURE__ */
|
|
559
|
+
function oe({ id: e, initialSizePercent: t, minimumSizePercent: n = 10, maximumSizePercent: r = 100, collapsible: i = !1, ref: a, ...o }) {
|
|
560
|
+
return /* @__PURE__ */ _(C, {
|
|
575
561
|
id: e,
|
|
576
562
|
defaultSize: t === void 0 ? void 0 : `${t}%`,
|
|
577
563
|
minSize: `${n}%`,
|
|
578
564
|
maxSize: `${r}%`,
|
|
579
565
|
collapsible: i,
|
|
580
|
-
elementRef:
|
|
581
|
-
...
|
|
566
|
+
elementRef: a,
|
|
567
|
+
...s({ className: "xeuugli x2lwn1j xysyzu8" }, o)
|
|
582
568
|
});
|
|
583
569
|
}
|
|
584
|
-
function
|
|
585
|
-
return /* @__PURE__ */
|
|
570
|
+
function se({ ref: e, ...t }) {
|
|
571
|
+
return /* @__PURE__ */ _(w, {
|
|
586
572
|
elementRef: e,
|
|
587
|
-
...
|
|
573
|
+
...s({ className: "x1fa40ue x1i1rx1s xgc0pbm xir5lan xfaai28 x1rbdpqn x8wp5i9 x13qnu6 x9v5kkp x19rmrnh x13iak60" }, t)
|
|
588
574
|
});
|
|
589
575
|
}
|
|
590
|
-
var
|
|
591
|
-
Root:
|
|
592
|
-
Pane:
|
|
593
|
-
Handle:
|
|
576
|
+
var ce = {
|
|
577
|
+
Root: ae,
|
|
578
|
+
Pane: oe,
|
|
579
|
+
Handle: se
|
|
594
580
|
};
|
|
595
|
-
export {
|
|
581
|
+
export { z as AppShell, B as DetailPage, V as FocusPage, j as Navigation, N as NavigationItem, P as NavigationLink, M as NavigationSection, X as PageContent, J as PageToolbar, ie as RecordPage, ce as Resizable, I as SidebarFooter, F as SidebarLabel, Y as ToolbarAction, K as ViewStack, H as Workbench, ee as WorkbenchFooter, U as WorkbenchScroll };
|