@handamade/psi-react 0.26.0 → 0.28.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 -1
- package/dist/AppShell/AppShell.d.ts +10 -1
- package/dist/AppShell/AppShell.d.ts.map +1 -1
- package/dist/Checkbox/Checkbox.d.ts +3 -1
- package/dist/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/NavBar/NavBar.d.ts +3 -1
- package/dist/NavBar/NavBar.d.ts.map +1 -1
- package/dist/Stack/Stack.d.ts +19 -0
- package/dist/Stack/Stack.d.ts.map +1 -0
- package/dist/Text/Text.d.ts +24 -0
- package/dist/Text/Text.d.ts.map +1 -0
- package/dist/Tooltip/Tooltip.d.ts +1 -1
- package/dist/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/a11y-meta.d.ts.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1021 -953
- package/dist/manifest.json +116 -4
- package/dist/patterns.json +99 -57
- package/dist/styles.css +1 -1
- package/docs/AppShell.md +2 -2
- package/docs/Checkbox.md +1 -1
- package/docs/NavBar.md +1 -1
- package/docs/Stack.md +40 -0
- package/docs/Text.md +42 -0
- package/docs/Tooltip.md +1 -1
- package/llms.txt +9 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { Children as
|
|
3
|
-
const
|
|
4
|
-
button:
|
|
5
|
-
disabled:
|
|
6
|
-
size24:
|
|
7
|
-
size32:
|
|
8
|
-
size40:
|
|
9
|
-
size48:
|
|
10
|
-
accent:
|
|
11
|
-
accentSubtle:
|
|
12
|
-
neutral:
|
|
13
|
-
neutralSubtle:
|
|
14
|
-
ghost:
|
|
15
|
-
danger:
|
|
16
|
-
dangerSubtle:
|
|
17
|
-
outline:
|
|
18
|
-
},
|
|
19
|
-
accent:
|
|
20
|
-
"accent-subtle":
|
|
21
|
-
neutral:
|
|
22
|
-
"neutral-subtle":
|
|
23
|
-
ghost:
|
|
24
|
-
danger:
|
|
25
|
-
"danger-subtle":
|
|
26
|
-
outline:
|
|
27
|
-
},
|
|
28
|
-
24:
|
|
29
|
-
32:
|
|
30
|
-
40:
|
|
31
|
-
48:
|
|
1
|
+
import { jsx as t, jsxs as h, Fragment as fe } from "react/jsx-runtime";
|
|
2
|
+
import { Children as F, useId as R, isValidElement as re, Fragment as ye, cloneElement as pe, createContext as U, useContext as $, useRef as B, useEffect as z, useLayoutEffect as ze, useState as oe, useCallback as k, useMemo as ge } from "react";
|
|
3
|
+
const Fe = "_button_1rxq8_3", Ue = "_disabled_1rxq8_45", Ge = "_size24_1rxq8_70", Ye = "_size32_1rxq8_88", Ze = "_size40_1rxq8_106", Xe = "_size48_1rxq8_124", Je = "_accent_1rxq8_145", Qe = "_accentSubtle_1rxq8_157", en = "_neutral_1rxq8_169", nn = "_neutralSubtle_1rxq8_181", tn = "_ghost_1rxq8_193", rn = "_danger_1rxq8_205", on = "_dangerSubtle_1rxq8_217", sn = "_outline_1rxq8_229", L = {
|
|
4
|
+
button: Fe,
|
|
5
|
+
disabled: Ue,
|
|
6
|
+
size24: Ge,
|
|
7
|
+
size32: Ye,
|
|
8
|
+
size40: Ze,
|
|
9
|
+
size48: Xe,
|
|
10
|
+
accent: Je,
|
|
11
|
+
accentSubtle: Qe,
|
|
12
|
+
neutral: en,
|
|
13
|
+
neutralSubtle: nn,
|
|
14
|
+
ghost: tn,
|
|
15
|
+
danger: rn,
|
|
16
|
+
dangerSubtle: on,
|
|
17
|
+
outline: sn
|
|
18
|
+
}, an = {
|
|
19
|
+
accent: L.accent,
|
|
20
|
+
"accent-subtle": L.accentSubtle,
|
|
21
|
+
neutral: L.neutral,
|
|
22
|
+
"neutral-subtle": L.neutralSubtle,
|
|
23
|
+
ghost: L.ghost,
|
|
24
|
+
danger: L.danger,
|
|
25
|
+
"danger-subtle": L.dangerSubtle,
|
|
26
|
+
outline: L.outline
|
|
27
|
+
}, cn = {
|
|
28
|
+
24: L.size24,
|
|
29
|
+
32: L.size32,
|
|
30
|
+
40: L.size40,
|
|
31
|
+
48: L.size48
|
|
32
32
|
};
|
|
33
|
-
function
|
|
33
|
+
function ce({
|
|
34
34
|
variant: e = "neutral",
|
|
35
35
|
size: n = 32,
|
|
36
36
|
href: i,
|
|
@@ -40,61 +40,61 @@ function se({
|
|
|
40
40
|
className: r,
|
|
41
41
|
onClick: c,
|
|
42
42
|
ref: l,
|
|
43
|
-
...
|
|
43
|
+
...d
|
|
44
44
|
}) {
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
i !== void 0 && o ?
|
|
45
|
+
const _ = [
|
|
46
|
+
L.button,
|
|
47
|
+
an[e],
|
|
48
|
+
cn[n],
|
|
49
|
+
i !== void 0 && o ? L.disabled : void 0,
|
|
50
50
|
r
|
|
51
51
|
].filter(Boolean).join(" ");
|
|
52
52
|
return i !== void 0 ? /* @__PURE__ */ t(
|
|
53
53
|
"a",
|
|
54
54
|
{
|
|
55
55
|
ref: l,
|
|
56
|
-
className:
|
|
56
|
+
className: _,
|
|
57
57
|
href: o ? void 0 : i,
|
|
58
58
|
target: s,
|
|
59
59
|
rel: a,
|
|
60
60
|
"aria-disabled": o || void 0,
|
|
61
61
|
onClick: o ? void 0 : c,
|
|
62
|
-
...
|
|
62
|
+
...d
|
|
63
63
|
}
|
|
64
64
|
) : /* @__PURE__ */ t(
|
|
65
65
|
"button",
|
|
66
66
|
{
|
|
67
67
|
ref: l,
|
|
68
|
-
className:
|
|
68
|
+
className: _,
|
|
69
69
|
disabled: o,
|
|
70
70
|
onClick: c,
|
|
71
|
-
...
|
|
71
|
+
...d
|
|
72
72
|
}
|
|
73
73
|
);
|
|
74
74
|
}
|
|
75
|
-
const
|
|
76
|
-
iconButton:
|
|
77
|
-
disabled:
|
|
78
|
-
size24:
|
|
79
|
-
size32:
|
|
80
|
-
size40:
|
|
81
|
-
size48:
|
|
82
|
-
accent:
|
|
83
|
-
neutral:
|
|
84
|
-
ghost:
|
|
85
|
-
danger:
|
|
86
|
-
}, vn = {
|
|
87
|
-
accent: D.accent,
|
|
88
|
-
neutral: D.neutral,
|
|
89
|
-
ghost: D.ghost,
|
|
90
|
-
danger: D.danger
|
|
75
|
+
const ln = "_iconButton_1q4hx_3", dn = "_disabled_1q4hx_29", un = "_size24_1q4hx_37", _n = "_size32_1q4hx_42", hn = "_size40_1q4hx_47", fn = "_size48_1q4hx_52", gn = "_accent_1q4hx_60", pn = "_neutral_1q4hx_72", mn = "_ghost_1q4hx_84", vn = "_danger_1q4hx_96", W = {
|
|
76
|
+
iconButton: ln,
|
|
77
|
+
disabled: dn,
|
|
78
|
+
size24: un,
|
|
79
|
+
size32: _n,
|
|
80
|
+
size40: hn,
|
|
81
|
+
size48: fn,
|
|
82
|
+
accent: gn,
|
|
83
|
+
neutral: pn,
|
|
84
|
+
ghost: mn,
|
|
85
|
+
danger: vn
|
|
91
86
|
}, bn = {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
87
|
+
accent: W.accent,
|
|
88
|
+
neutral: W.neutral,
|
|
89
|
+
ghost: W.ghost,
|
|
90
|
+
danger: W.danger
|
|
91
|
+
}, yn = {
|
|
92
|
+
24: W.size24,
|
|
93
|
+
32: W.size32,
|
|
94
|
+
40: W.size40,
|
|
95
|
+
48: W.size48
|
|
96
96
|
};
|
|
97
|
-
function
|
|
97
|
+
function le({
|
|
98
98
|
variant: e = "neutral",
|
|
99
99
|
size: n = 32,
|
|
100
100
|
href: i,
|
|
@@ -104,47 +104,47 @@ function ae({
|
|
|
104
104
|
className: r,
|
|
105
105
|
onClick: c,
|
|
106
106
|
ref: l,
|
|
107
|
-
...
|
|
107
|
+
...d
|
|
108
108
|
}) {
|
|
109
|
-
const
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
i !== void 0 && o ?
|
|
109
|
+
const _ = [
|
|
110
|
+
W.iconButton,
|
|
111
|
+
bn[e],
|
|
112
|
+
yn[n],
|
|
113
|
+
i !== void 0 && o ? W.disabled : void 0,
|
|
114
114
|
r
|
|
115
115
|
].filter(Boolean).join(" ");
|
|
116
116
|
return i !== void 0 ? /* @__PURE__ */ t(
|
|
117
117
|
"a",
|
|
118
118
|
{
|
|
119
119
|
ref: l,
|
|
120
|
-
className:
|
|
120
|
+
className: _,
|
|
121
121
|
href: o ? void 0 : i,
|
|
122
122
|
target: s,
|
|
123
123
|
rel: a,
|
|
124
124
|
"aria-disabled": o || void 0,
|
|
125
125
|
onClick: o ? void 0 : c,
|
|
126
|
-
...
|
|
126
|
+
...d
|
|
127
127
|
}
|
|
128
128
|
) : /* @__PURE__ */ t(
|
|
129
129
|
"button",
|
|
130
130
|
{
|
|
131
131
|
ref: l,
|
|
132
|
-
className:
|
|
132
|
+
className: _,
|
|
133
133
|
disabled: o,
|
|
134
134
|
onClick: c,
|
|
135
|
-
...
|
|
135
|
+
...d
|
|
136
136
|
}
|
|
137
137
|
);
|
|
138
138
|
}
|
|
139
|
-
const
|
|
140
|
-
card:
|
|
141
|
-
stacked:
|
|
142
|
-
featured:
|
|
143
|
-
media:
|
|
144
|
-
body:
|
|
145
|
-
hoverLift:
|
|
139
|
+
const wn = "_card_1btb3_1", xn = "_stacked_1btb3_8", kn = "_featured_1btb3_10", Nn = "_media_1btb3_22", $n = "_body_1btb3_23", Bn = "_hoverLift_1btb3_31", Y = {
|
|
140
|
+
card: wn,
|
|
141
|
+
stacked: xn,
|
|
142
|
+
featured: kn,
|
|
143
|
+
media: Nn,
|
|
144
|
+
body: $n,
|
|
145
|
+
hoverLift: Bn
|
|
146
146
|
};
|
|
147
|
-
function
|
|
147
|
+
function Ti({
|
|
148
148
|
variant: e = "stacked",
|
|
149
149
|
media: n,
|
|
150
150
|
hoverLift: i = !1,
|
|
@@ -154,31 +154,31 @@ function ii({
|
|
|
154
154
|
...r
|
|
155
155
|
}) {
|
|
156
156
|
const c = [
|
|
157
|
-
|
|
158
|
-
e === "featured" ?
|
|
159
|
-
i ?
|
|
157
|
+
Y.card,
|
|
158
|
+
e === "featured" ? Y.featured : Y.stacked,
|
|
159
|
+
i ? Y.hoverLift : void 0,
|
|
160
160
|
s
|
|
161
161
|
].filter(Boolean).join(" ");
|
|
162
|
-
return /* @__PURE__ */
|
|
163
|
-
n != null && /* @__PURE__ */ t("div", { className:
|
|
164
|
-
/* @__PURE__ */ t("div", { className:
|
|
162
|
+
return /* @__PURE__ */ h("div", { ref: o, className: c, ...r, children: [
|
|
163
|
+
n != null && /* @__PURE__ */ t("div", { className: Y.media, children: n }),
|
|
164
|
+
/* @__PURE__ */ t("div", { className: Y.body, children: a })
|
|
165
165
|
] });
|
|
166
166
|
}
|
|
167
|
-
const
|
|
168
|
-
panel:
|
|
169
|
-
padding16:
|
|
167
|
+
const Sn = "_panel_jn8w4_1", Cn = "_padding16_jn8w4_8", Ce = {
|
|
168
|
+
panel: Sn,
|
|
169
|
+
padding16: Cn
|
|
170
170
|
};
|
|
171
|
-
function
|
|
172
|
-
const o = [
|
|
171
|
+
function Ii({ padding: e = 24, className: n, children: i, ref: s, ...a }) {
|
|
172
|
+
const o = [Ce.panel, e === 16 ? Ce.padding16 : void 0, n].filter(Boolean).join(" ");
|
|
173
173
|
return /* @__PURE__ */ t("div", { ref: s, className: o, ...a, children: i });
|
|
174
174
|
}
|
|
175
|
-
const Ln = "_list_1lh3q_8",
|
|
175
|
+
const Ln = "_list_1lh3q_8", jn = "_item_1lh3q_26", Tn = "_term_1lh3q_44", In = "_value_1lh3q_50", he = {
|
|
176
176
|
list: Ln,
|
|
177
|
-
item:
|
|
178
|
-
term:
|
|
179
|
-
value:
|
|
177
|
+
item: jn,
|
|
178
|
+
term: Tn,
|
|
179
|
+
value: In
|
|
180
180
|
};
|
|
181
|
-
function
|
|
181
|
+
function zi({
|
|
182
182
|
layout: e = "stacked",
|
|
183
183
|
gap: n = 12,
|
|
184
184
|
className: i,
|
|
@@ -190,7 +190,7 @@ function ai({
|
|
|
190
190
|
"dl",
|
|
191
191
|
{
|
|
192
192
|
ref: a,
|
|
193
|
-
className: [
|
|
193
|
+
className: [he.list, i].filter(Boolean).join(" "),
|
|
194
194
|
"data-layout": e,
|
|
195
195
|
"data-gap": n,
|
|
196
196
|
...o,
|
|
@@ -198,83 +198,84 @@ function ai({
|
|
|
198
198
|
}
|
|
199
199
|
);
|
|
200
200
|
}
|
|
201
|
-
function
|
|
202
|
-
return /* @__PURE__ */
|
|
203
|
-
/* @__PURE__ */ t("dt", { className:
|
|
204
|
-
/* @__PURE__ */ t("dd", { className:
|
|
201
|
+
function qi({ term: e, className: n, children: i, ref: s, ...a }) {
|
|
202
|
+
return /* @__PURE__ */ h("div", { ref: s, className: [he.item, n].filter(Boolean).join(" "), ...a, children: [
|
|
203
|
+
/* @__PURE__ */ t("dt", { className: he.term, children: e }),
|
|
204
|
+
/* @__PURE__ */ t("dd", { className: he.value, children: i })
|
|
205
205
|
] });
|
|
206
206
|
}
|
|
207
|
-
const zn = "
|
|
207
|
+
const zn = "_navbar_1eh60_1", qn = "_inner_1eh60_15", Mn = "_fluid_1eh60_23", En = "_brand_1eh60_25", Dn = "_links_1eh60_26", Wn = "_actions_1eh60_56", Z = {
|
|
208
208
|
navbar: zn,
|
|
209
|
-
inner:
|
|
210
|
-
fluid:
|
|
211
|
-
brand:
|
|
212
|
-
links:
|
|
213
|
-
actions:
|
|
209
|
+
inner: qn,
|
|
210
|
+
fluid: Mn,
|
|
211
|
+
brand: En,
|
|
212
|
+
links: Dn,
|
|
213
|
+
actions: Wn
|
|
214
214
|
};
|
|
215
|
-
function
|
|
216
|
-
const l = [
|
|
217
|
-
return /* @__PURE__ */ t("header", { ref: r, className: l, ...c, children: /* @__PURE__ */
|
|
218
|
-
e != null && /* @__PURE__ */ t("div", { className:
|
|
219
|
-
|
|
220
|
-
n != null && /* @__PURE__ */ t("div", { className:
|
|
215
|
+
function Mi({ brand: e, actions: n, children: i, navLabel: s, fluid: a = !1, className: o, ref: r, ...c }) {
|
|
216
|
+
const l = [Z.navbar, o].filter(Boolean).join(" "), d = F.toArray(i).length > 0;
|
|
217
|
+
return /* @__PURE__ */ t("header", { ref: r, className: l, ...c, children: /* @__PURE__ */ h("div", { className: `${a ? Z.fluid : "psi-container"} ${Z.inner}`, children: [
|
|
218
|
+
e != null && /* @__PURE__ */ t("div", { className: Z.brand, children: e }),
|
|
219
|
+
d && /* @__PURE__ */ t("nav", { className: Z.links, "aria-label": s, children: i }),
|
|
220
|
+
n != null && /* @__PURE__ */ t("div", { className: Z.actions, children: n })
|
|
221
221
|
] }) });
|
|
222
222
|
}
|
|
223
|
-
const
|
|
224
|
-
skipLink:
|
|
223
|
+
const Pn = "_skipLink_1fn0y_4", An = {
|
|
224
|
+
skipLink: Pn
|
|
225
225
|
};
|
|
226
|
-
function
|
|
227
|
-
const a = [
|
|
226
|
+
function Ei({ className: e, ref: n, children: i, ...s }) {
|
|
227
|
+
const a = [An.skipLink, e].filter(Boolean).join(" ");
|
|
228
228
|
return /* @__PURE__ */ t("a", { ref: n, className: a, ...s, children: i });
|
|
229
229
|
}
|
|
230
|
-
const
|
|
231
|
-
navTree:
|
|
232
|
-
list:
|
|
233
|
-
groupList:
|
|
234
|
-
item:
|
|
235
|
-
groupButton:
|
|
236
|
-
groupLabel:
|
|
237
|
-
chevron:
|
|
230
|
+
const Rn = "_navTree_1ktoe_7", Hn = "_list_1ktoe_11", Vn = "_groupList_1ktoe_12", On = "_item_1ktoe_23", Kn = "_groupButton_1ktoe_79", Fn = "_groupLabel_1ktoe_108", Un = "_chevron_1ktoe_112", V = {
|
|
231
|
+
navTree: Rn,
|
|
232
|
+
list: Hn,
|
|
233
|
+
groupList: Vn,
|
|
234
|
+
item: On,
|
|
235
|
+
groupButton: Kn,
|
|
236
|
+
groupLabel: Fn,
|
|
237
|
+
chevron: Un
|
|
238
238
|
};
|
|
239
|
-
function
|
|
240
|
-
const a = [
|
|
241
|
-
return /* @__PURE__ */ t("nav", { ref: i, className: a, ...s, children: /* @__PURE__ */ t("ul", { className:
|
|
239
|
+
function Di({ children: e, className: n, ref: i, ...s }) {
|
|
240
|
+
const a = [V.navTree, n].filter(Boolean).join(" ");
|
|
241
|
+
return /* @__PURE__ */ t("nav", { ref: i, className: a, ...s, children: /* @__PURE__ */ t("ul", { className: V.list, children: e }) });
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function Gn({ size: e = 20, ...n }) {
|
|
244
244
|
return /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: /* @__PURE__ */ t("polyline", { points: "6 9 12 15 18 9" }) });
|
|
245
245
|
}
|
|
246
|
-
function
|
|
247
|
-
const o =
|
|
248
|
-
return /* @__PURE__ */
|
|
249
|
-
/* @__PURE__ */
|
|
246
|
+
function Wi({ label: e, open: n, onOpenChange: i, children: s, className: a }) {
|
|
247
|
+
const o = R(), r = [V.group, a].filter(Boolean).join(" ");
|
|
248
|
+
return /* @__PURE__ */ h("li", { className: r, children: [
|
|
249
|
+
/* @__PURE__ */ h(
|
|
250
250
|
"button",
|
|
251
251
|
{
|
|
252
252
|
type: "button",
|
|
253
|
-
className:
|
|
253
|
+
className: V.groupButton,
|
|
254
254
|
"aria-expanded": n,
|
|
255
255
|
"aria-controls": o,
|
|
256
256
|
onClick: () => i(!n),
|
|
257
257
|
children: [
|
|
258
|
-
/* @__PURE__ */ t("span", { className:
|
|
259
|
-
/* @__PURE__ */ t(
|
|
258
|
+
/* @__PURE__ */ t("span", { className: V.groupLabel, children: e }),
|
|
259
|
+
/* @__PURE__ */ t(Gn, { size: 16, className: V.chevron, "aria-hidden": "true" })
|
|
260
260
|
]
|
|
261
261
|
}
|
|
262
262
|
),
|
|
263
|
-
/* @__PURE__ */ t("ul", { id: o, className:
|
|
263
|
+
/* @__PURE__ */ t("ul", { id: o, className: V.groupList, hidden: !n, children: s })
|
|
264
264
|
] });
|
|
265
265
|
}
|
|
266
|
-
function
|
|
267
|
-
const r = [
|
|
268
|
-
return /* @__PURE__ */ t("li", { ref: a, className: r, ...o, children: n !== void 0 ? /* @__PURE__ */ t("a", { href: n, "aria-current": i ? "page" : void 0, children: e }) : c ?
|
|
269
|
-
}
|
|
270
|
-
const
|
|
271
|
-
appShell:
|
|
272
|
-
sidebarClosed:
|
|
273
|
-
header:
|
|
274
|
-
sidebar:
|
|
275
|
-
main:
|
|
266
|
+
function Pi({ children: e, href: n, current: i, className: s, ref: a, ...o }) {
|
|
267
|
+
const r = [V.item, s].filter(Boolean).join(" "), c = n === void 0 && i && re(e) && e.type !== ye ? e : null;
|
|
268
|
+
return /* @__PURE__ */ t("li", { ref: a, className: r, ...o, children: n !== void 0 ? /* @__PURE__ */ t("a", { href: n, "aria-current": i ? "page" : void 0, children: e }) : c ? pe(c, { "aria-current": "page" }) : e });
|
|
269
|
+
}
|
|
270
|
+
const Yn = "_appShell_4veby_10", Zn = "_sidebarClosed_4veby_20", Xn = "_header_4veby_24", Jn = "_sidebar_4veby_20", Qn = "_main_4veby_47", et = "_mainSquare_4veby_60", X = {
|
|
271
|
+
appShell: Yn,
|
|
272
|
+
sidebarClosed: Zn,
|
|
273
|
+
header: Xn,
|
|
274
|
+
sidebar: Jn,
|
|
275
|
+
main: Qn,
|
|
276
|
+
mainSquare: et
|
|
276
277
|
};
|
|
277
|
-
function
|
|
278
|
+
function Ai({
|
|
278
279
|
skipLink: e,
|
|
279
280
|
header: n,
|
|
280
281
|
sidebar: i,
|
|
@@ -284,33 +285,33 @@ function fi({
|
|
|
284
285
|
sidebarId: r = "sidebar",
|
|
285
286
|
mainId: c = "main",
|
|
286
287
|
className: l,
|
|
287
|
-
ref:
|
|
288
|
-
...
|
|
288
|
+
ref: d,
|
|
289
|
+
..._
|
|
289
290
|
}) {
|
|
290
|
-
const
|
|
291
|
-
return /* @__PURE__ */
|
|
291
|
+
const u = a && i != null, f = [X.appShell, !u && X.sidebarClosed, l].filter(Boolean).join(" "), g = [X.main, (!u || n == null) && X.mainSquare].filter(Boolean).join(" ");
|
|
292
|
+
return /* @__PURE__ */ h("div", { ref: d, className: f, ..._, children: [
|
|
292
293
|
e,
|
|
293
|
-
n != null && /* @__PURE__ */ t("div", { className:
|
|
294
|
-
/* @__PURE__ */ t("div", { id: r, className:
|
|
295
|
-
/* @__PURE__ */ t("main", { id: c, className:
|
|
294
|
+
n != null && /* @__PURE__ */ t("div", { className: X.header, children: n }),
|
|
295
|
+
/* @__PURE__ */ t("div", { id: r, className: X.sidebar, hidden: !u, "data-psi-theme": o, children: i }),
|
|
296
|
+
/* @__PURE__ */ t("main", { id: c, className: g, tabIndex: -1, children: s })
|
|
296
297
|
] });
|
|
297
298
|
}
|
|
298
|
-
const
|
|
299
|
-
frame:
|
|
299
|
+
const nt = "_frame_et4fc_1", tt = {
|
|
300
|
+
frame: nt
|
|
300
301
|
};
|
|
301
|
-
function
|
|
302
|
-
const r = [
|
|
302
|
+
function Ri({ ratio: e, className: n, style: i, children: s, ref: a, ...o }) {
|
|
303
|
+
const r = [tt.frame, n].filter(Boolean).join(" ");
|
|
303
304
|
return /* @__PURE__ */ t("div", { ref: a, className: r, style: { aspectRatio: String(e), ...i }, ...o, children: s });
|
|
304
305
|
}
|
|
305
|
-
const
|
|
306
|
-
field:
|
|
307
|
-
label:
|
|
308
|
-
marker:
|
|
309
|
-
requiredText:
|
|
310
|
-
message:
|
|
311
|
-
invalid:
|
|
312
|
-
},
|
|
313
|
-
function
|
|
306
|
+
const rt = "_field_x989o_1", ot = "_label_x989o_10", it = "_marker_x989o_19", st = "_requiredText_x989o_25", at = "_message_x989o_30", ct = "_invalid_x989o_36", O = {
|
|
307
|
+
field: rt,
|
|
308
|
+
label: ot,
|
|
309
|
+
marker: it,
|
|
310
|
+
requiredText: st,
|
|
311
|
+
message: at,
|
|
312
|
+
invalid: ct
|
|
313
|
+
}, G = U(null);
|
|
314
|
+
function Hi({
|
|
314
315
|
label: e,
|
|
315
316
|
description: n,
|
|
316
317
|
error: i,
|
|
@@ -320,34 +321,34 @@ function gi({
|
|
|
320
321
|
htmlFor: r,
|
|
321
322
|
announce: c = !0,
|
|
322
323
|
className: l,
|
|
323
|
-
children:
|
|
324
|
-
ref:
|
|
325
|
-
...
|
|
324
|
+
children: d,
|
|
325
|
+
ref: _,
|
|
326
|
+
...u
|
|
326
327
|
}) {
|
|
327
|
-
const
|
|
328
|
+
const f = R(), g = r ?? f, m = !!i, b = m ? i : n, x = b != null && b !== !1 ? `${g}-message` : void 0, j = e != null && !o ? `${g}-label` : void 0, S = [O.field, m && O.invalid, l].filter(Boolean).join(" "), T = e != null ? /* @__PURE__ */ h(fe, { children: [
|
|
328
329
|
e,
|
|
329
|
-
s && (a !== void 0 ? /* @__PURE__ */
|
|
330
|
+
s && (a !== void 0 ? /* @__PURE__ */ h("span", { "aria-hidden": "true", className: O.requiredText, children: [
|
|
330
331
|
" ",
|
|
331
332
|
a
|
|
332
|
-
] }) : /* @__PURE__ */ t("span", { "aria-hidden": "true", className:
|
|
333
|
-
] }) : null, y = /* @__PURE__ */
|
|
334
|
-
|
|
335
|
-
/* @__PURE__ */ t(
|
|
336
|
-
x && /* @__PURE__ */ t("p", { id: x, className:
|
|
333
|
+
] }) : /* @__PURE__ */ t("span", { "aria-hidden": "true", className: O.marker, children: " *" }))
|
|
334
|
+
] }) : null, y = /* @__PURE__ */ h(fe, { children: [
|
|
335
|
+
T != null && (o ? /* @__PURE__ */ t("legend", { className: O.label, children: T }) : /* @__PURE__ */ t("label", { id: j, className: O.label, htmlFor: g, children: T })),
|
|
336
|
+
/* @__PURE__ */ t(G.Provider, { value: { id: g, labelId: j, describedBy: x, invalid: m, required: s, group: o }, children: d }),
|
|
337
|
+
x && /* @__PURE__ */ t("p", { id: x, className: O.message, "aria-live": c ? "polite" : void 0, children: b })
|
|
337
338
|
] });
|
|
338
339
|
return o ? /* @__PURE__ */ t(
|
|
339
340
|
"fieldset",
|
|
340
341
|
{
|
|
341
|
-
ref:
|
|
342
|
-
className:
|
|
342
|
+
ref: _,
|
|
343
|
+
className: S,
|
|
343
344
|
"aria-describedby": x,
|
|
344
|
-
...
|
|
345
|
+
...u,
|
|
345
346
|
children: y
|
|
346
347
|
}
|
|
347
|
-
) : /* @__PURE__ */ t("div", { ref:
|
|
348
|
+
) : /* @__PURE__ */ t("div", { ref: _, className: S, ...u, children: y });
|
|
348
349
|
}
|
|
349
|
-
function
|
|
350
|
-
const e =
|
|
350
|
+
function Vi() {
|
|
351
|
+
const e = $(G);
|
|
351
352
|
return e ? {
|
|
352
353
|
id: e.id,
|
|
353
354
|
...e.labelId ? { "aria-labelledby": e.labelId } : {},
|
|
@@ -356,89 +357,89 @@ function vi() {
|
|
|
356
357
|
...e.required ? { "aria-required": !0, required: !0 } : {}
|
|
357
358
|
} : {};
|
|
358
359
|
}
|
|
359
|
-
function
|
|
360
|
-
return /* @__PURE__ */
|
|
360
|
+
function Oi({ size: e = 20, ...n }) {
|
|
361
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
361
362
|
/* @__PURE__ */ t("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
|
|
362
363
|
/* @__PURE__ */ t("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
|
|
363
364
|
] });
|
|
364
365
|
}
|
|
365
|
-
function
|
|
366
|
+
function Ki({ size: e = 20, ...n }) {
|
|
366
367
|
return /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: /* @__PURE__ */ t("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) });
|
|
367
368
|
}
|
|
368
|
-
function
|
|
369
|
-
return /* @__PURE__ */
|
|
369
|
+
function xe({ size: e = 20, ...n }) {
|
|
370
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
370
371
|
/* @__PURE__ */ t("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
|
371
372
|
/* @__PURE__ */ t("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
|
372
373
|
] });
|
|
373
374
|
}
|
|
374
|
-
function
|
|
375
|
+
function lt({ size: e = 20, ...n }) {
|
|
375
376
|
return /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: /* @__PURE__ */ t("polyline", { points: "20 6 9 17 4 12" }) });
|
|
376
377
|
}
|
|
377
|
-
function
|
|
378
|
+
function dt({ size: e = 20, ...n }) {
|
|
378
379
|
return /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: /* @__PURE__ */ t("polyline", { points: "9 18 15 12 9 6" }) });
|
|
379
380
|
}
|
|
380
|
-
function
|
|
381
|
+
function ut({ size: e = 20, ...n }) {
|
|
381
382
|
return /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: /* @__PURE__ */ t("polyline", { points: "15 18 9 12 15 6" }) });
|
|
382
383
|
}
|
|
383
|
-
function
|
|
384
|
-
return /* @__PURE__ */
|
|
384
|
+
function Fi({ size: e = 20, ...n }) {
|
|
385
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
385
386
|
/* @__PURE__ */ t("circle", { cx: "11", cy: "11", r: "8" }),
|
|
386
387
|
/* @__PURE__ */ t("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
|
|
387
388
|
] });
|
|
388
389
|
}
|
|
389
|
-
function
|
|
390
|
-
return /* @__PURE__ */
|
|
390
|
+
function Ui({ size: e = 20, ...n }) {
|
|
391
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
391
392
|
/* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "3" }),
|
|
392
393
|
/* @__PURE__ */ t("path", { d: "M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z" })
|
|
393
394
|
] });
|
|
394
395
|
}
|
|
395
|
-
function
|
|
396
|
-
return /* @__PURE__ */
|
|
396
|
+
function Gi({ size: e = 20, ...n }) {
|
|
397
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
397
398
|
/* @__PURE__ */ t("path", { d: "M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2" }),
|
|
398
399
|
/* @__PURE__ */ t("circle", { cx: "12", cy: "7", r: "4" })
|
|
399
400
|
] });
|
|
400
401
|
}
|
|
401
|
-
function
|
|
402
|
-
return /* @__PURE__ */
|
|
402
|
+
function Yi({ size: e = 20, ...n }) {
|
|
403
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
403
404
|
/* @__PURE__ */ t("path", { d: "M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" }),
|
|
404
405
|
/* @__PURE__ */ t("path", { d: "M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z" })
|
|
405
406
|
] });
|
|
406
407
|
}
|
|
407
|
-
function
|
|
408
|
-
return /* @__PURE__ */
|
|
408
|
+
function Zi({ size: e = 20, ...n }) {
|
|
409
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
409
410
|
/* @__PURE__ */ t("polyline", { points: "3 6 5 6 21 6" }),
|
|
410
411
|
/* @__PURE__ */ t("path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" })
|
|
411
412
|
] });
|
|
412
413
|
}
|
|
413
|
-
function
|
|
414
|
-
return /* @__PURE__ */
|
|
414
|
+
function _t({ size: e = 20, ...n }) {
|
|
415
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
415
416
|
/* @__PURE__ */ t("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
|
|
416
417
|
/* @__PURE__ */ t("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
|
|
417
418
|
] });
|
|
418
419
|
}
|
|
419
|
-
function
|
|
420
|
-
return /* @__PURE__ */
|
|
420
|
+
function Xi({ size: e = 20, ...n }) {
|
|
421
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
421
422
|
/* @__PURE__ */ t("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }),
|
|
422
423
|
/* @__PURE__ */ t("polyline", { points: "15 3 21 3 21 9" }),
|
|
423
424
|
/* @__PURE__ */ t("line", { x1: "10", y1: "14", x2: "21", y2: "3" })
|
|
424
425
|
] });
|
|
425
426
|
}
|
|
426
|
-
function
|
|
427
|
-
return /* @__PURE__ */
|
|
427
|
+
function Ji({ size: e = 20, ...n }) {
|
|
428
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
428
429
|
/* @__PURE__ */ t("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
|
|
429
430
|
/* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "3" })
|
|
430
431
|
] });
|
|
431
432
|
}
|
|
432
|
-
function
|
|
433
|
-
return /* @__PURE__ */
|
|
433
|
+
function Qi({ size: e = 20, ...n }) {
|
|
434
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
434
435
|
/* @__PURE__ */ t("path", { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94" }),
|
|
435
436
|
/* @__PURE__ */ t("path", { d: "M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19" }),
|
|
436
437
|
/* @__PURE__ */ t("path", { d: "M14.12 14.12a3 3 0 1 1-4.24-4.24" }),
|
|
437
438
|
/* @__PURE__ */ t("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
|
|
438
439
|
] });
|
|
439
440
|
}
|
|
440
|
-
function
|
|
441
|
-
return /* @__PURE__ */
|
|
441
|
+
function es({ size: e = 20, ...n }) {
|
|
442
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
442
443
|
/* @__PURE__ */ t("line", { x1: "12", y1: "2", x2: "12", y2: "6" }),
|
|
443
444
|
/* @__PURE__ */ t("line", { x1: "12", y1: "18", x2: "12", y2: "22" }),
|
|
444
445
|
/* @__PURE__ */ t("line", { x1: "4.93", y1: "4.93", x2: "7.76", y2: "7.76" }),
|
|
@@ -449,105 +450,105 @@ function Si({ size: e = 20, ...n }) {
|
|
|
449
450
|
/* @__PURE__ */ t("line", { x1: "16.24", y1: "7.76", x2: "19.07", y2: "4.93" })
|
|
450
451
|
] });
|
|
451
452
|
}
|
|
452
|
-
function
|
|
453
|
-
return /* @__PURE__ */
|
|
453
|
+
function ns({ size: e = 20, ...n }) {
|
|
454
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
454
455
|
/* @__PURE__ */ t("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
|
|
455
456
|
/* @__PURE__ */ t("polyline", { points: "19 12 12 19 5 12" })
|
|
456
457
|
] });
|
|
457
458
|
}
|
|
458
|
-
function
|
|
459
|
-
return /* @__PURE__ */
|
|
459
|
+
function ts({ size: e = 20, ...n }) {
|
|
460
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
460
461
|
/* @__PURE__ */ t("line", { x1: "7", y1: "17", x2: "17", y2: "7" }),
|
|
461
462
|
/* @__PURE__ */ t("polyline", { points: "7 7 17 7 17 17" })
|
|
462
463
|
] });
|
|
463
464
|
}
|
|
464
|
-
function
|
|
465
|
+
function rs({ size: e = 20, ...n }) {
|
|
465
466
|
return /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", ...n, children: /* @__PURE__ */ t("path", { d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" }) });
|
|
466
467
|
}
|
|
467
|
-
function
|
|
468
|
+
function os({ size: e = 20, ...n }) {
|
|
468
469
|
return /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", ...n, children: /* @__PURE__ */ t("path", { d: "M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" }) });
|
|
469
470
|
}
|
|
470
|
-
function
|
|
471
|
+
function is({ size: e = 20, ...n }) {
|
|
471
472
|
return /* @__PURE__ */ t("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", ...n, children: /* @__PURE__ */ t("path", { d: "M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z" }) });
|
|
472
473
|
}
|
|
473
|
-
function
|
|
474
|
-
return /* @__PURE__ */
|
|
474
|
+
function ss({ size: e = 20, ...n }) {
|
|
475
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
475
476
|
/* @__PURE__ */ t("rect", { x: "2", y: "2", width: "20", height: "20", rx: "5", ry: "5" }),
|
|
476
477
|
/* @__PURE__ */ t("path", { d: "M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z" }),
|
|
477
478
|
/* @__PURE__ */ t("line", { x1: "17.5", y1: "6.5", x2: "17.51", y2: "6.5" })
|
|
478
479
|
] });
|
|
479
480
|
}
|
|
480
|
-
function
|
|
481
|
-
return /* @__PURE__ */
|
|
481
|
+
function ht({ size: e = 20, ...n }) {
|
|
482
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
482
483
|
/* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "10" }),
|
|
483
484
|
/* @__PURE__ */ t("line", { x1: "12", y1: "11", x2: "12", y2: "16" }),
|
|
484
485
|
/* @__PURE__ */ t("line", { x1: "12", y1: "8", x2: "12", y2: "8" })
|
|
485
486
|
] });
|
|
486
487
|
}
|
|
487
|
-
function
|
|
488
|
-
return /* @__PURE__ */
|
|
488
|
+
function ft({ size: e = 20, ...n }) {
|
|
489
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
489
490
|
/* @__PURE__ */ t("path", { d: "M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0Z" }),
|
|
490
491
|
/* @__PURE__ */ t("line", { x1: "12", y1: "9", x2: "12", y2: "13" }),
|
|
491
492
|
/* @__PURE__ */ t("line", { x1: "12", y1: "17", x2: "12", y2: "17" })
|
|
492
493
|
] });
|
|
493
494
|
}
|
|
494
|
-
function
|
|
495
|
-
return /* @__PURE__ */
|
|
495
|
+
function gt({ size: e = 20, ...n }) {
|
|
496
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
496
497
|
/* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "10" }),
|
|
497
498
|
/* @__PURE__ */ t("line", { x1: "12", y1: "8", x2: "12", y2: "12" }),
|
|
498
499
|
/* @__PURE__ */ t("line", { x1: "12", y1: "16", x2: "12", y2: "16" })
|
|
499
500
|
] });
|
|
500
501
|
}
|
|
501
|
-
function
|
|
502
|
-
return /* @__PURE__ */
|
|
502
|
+
function as({ size: e = 20, ...n }) {
|
|
503
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
503
504
|
/* @__PURE__ */ t("circle", { cx: "5", cy: "12", r: "1.5", fill: "currentColor", stroke: "none" }),
|
|
504
505
|
/* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "1.5", fill: "currentColor", stroke: "none" }),
|
|
505
506
|
/* @__PURE__ */ t("circle", { cx: "19", cy: "12", r: "1.5", fill: "currentColor", stroke: "none" })
|
|
506
507
|
] });
|
|
507
508
|
}
|
|
508
|
-
function
|
|
509
|
-
return /* @__PURE__ */
|
|
509
|
+
function cs({ size: e = 20, ...n }) {
|
|
510
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
510
511
|
/* @__PURE__ */ t("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
|
|
511
512
|
/* @__PURE__ */ t("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
|
|
512
513
|
/* @__PURE__ */ t("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
|
|
513
514
|
] });
|
|
514
515
|
}
|
|
515
|
-
function
|
|
516
|
-
return /* @__PURE__ */
|
|
516
|
+
function ls({ size: e = 20, ...n }) {
|
|
517
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
517
518
|
/* @__PURE__ */ t("path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" }),
|
|
518
519
|
/* @__PURE__ */ t("polyline", { points: "16 17 21 12 16 7" }),
|
|
519
520
|
/* @__PURE__ */ t("line", { x1: "21", y1: "12", x2: "9", y2: "12" })
|
|
520
521
|
] });
|
|
521
522
|
}
|
|
522
|
-
function
|
|
523
|
-
return /* @__PURE__ */
|
|
523
|
+
function ds({ size: e = 20, ...n }) {
|
|
524
|
+
return /* @__PURE__ */ h("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", ...n, children: [
|
|
524
525
|
/* @__PURE__ */ t("path", { d: "M6 2h9l5 5v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z" }),
|
|
525
526
|
/* @__PURE__ */ t("rect", { x: "8", y: "11", width: "8", height: "7", rx: "1" }),
|
|
526
527
|
/* @__PURE__ */ t("line", { x1: "12", y1: "11", x2: "12", y2: "18" })
|
|
527
528
|
] });
|
|
528
529
|
}
|
|
529
|
-
const
|
|
530
|
-
dialog:
|
|
531
|
-
panel:
|
|
532
|
-
center:
|
|
533
|
-
inlineStart:
|
|
534
|
-
inlineEnd:
|
|
535
|
-
w400:
|
|
536
|
-
w560:
|
|
537
|
-
w720:
|
|
538
|
-
header:
|
|
539
|
-
title:
|
|
540
|
-
footer:
|
|
541
|
-
},
|
|
530
|
+
const pt = "_dialog_qg38y_2", mt = "_panel_qg38y_20", vt = "_center_qg38y_42", bt = "_inlineStart_qg38y_50", yt = "_inlineEnd_qg38y_51", wt = "_w400_qg38y_100", xt = "_w560_qg38y_101", kt = "_w720_qg38y_102", Nt = "_header_qg38y_124", $t = "_title_qg38y_131", Bt = "_footer_qg38y_137", q = {
|
|
531
|
+
dialog: pt,
|
|
532
|
+
panel: mt,
|
|
533
|
+
center: vt,
|
|
534
|
+
inlineStart: bt,
|
|
535
|
+
inlineEnd: yt,
|
|
536
|
+
w400: wt,
|
|
537
|
+
w560: xt,
|
|
538
|
+
w720: kt,
|
|
539
|
+
header: Nt,
|
|
540
|
+
title: $t,
|
|
541
|
+
footer: Bt
|
|
542
|
+
}, St = {
|
|
542
543
|
400: q.w400,
|
|
543
544
|
560: q.w560,
|
|
544
545
|
720: q.w720
|
|
545
|
-
},
|
|
546
|
+
}, Ct = {
|
|
546
547
|
center: q.center,
|
|
547
548
|
"inline-start": q.inlineStart,
|
|
548
549
|
"inline-end": q.inlineEnd
|
|
549
550
|
};
|
|
550
|
-
function
|
|
551
|
+
function us({
|
|
551
552
|
open: e,
|
|
552
553
|
onClose: n,
|
|
553
554
|
title: i,
|
|
@@ -557,20 +558,20 @@ function Pi({
|
|
|
557
558
|
dismissible: r = !0,
|
|
558
559
|
closeOnEscape: c,
|
|
559
560
|
initialFocus: l,
|
|
560
|
-
closeLabel:
|
|
561
|
-
className:
|
|
562
|
-
children:
|
|
563
|
-
ref:
|
|
564
|
-
...
|
|
561
|
+
closeLabel: d,
|
|
562
|
+
className: _,
|
|
563
|
+
children: u,
|
|
564
|
+
ref: f,
|
|
565
|
+
...g
|
|
565
566
|
}) {
|
|
566
|
-
const m =
|
|
567
|
-
m.current = y, typeof
|
|
567
|
+
const m = B(null), b = R(), x = (y) => {
|
|
568
|
+
m.current = y, typeof f == "function" ? f(y) : f && (f.current = y);
|
|
568
569
|
};
|
|
569
|
-
|
|
570
|
-
var
|
|
570
|
+
z(() => {
|
|
571
|
+
var H;
|
|
571
572
|
const y = m.current;
|
|
572
|
-
y && (e && !y.open ? (y.showModal(), (
|
|
573
|
-
}, [e]),
|
|
573
|
+
y && (e && !y.open ? (y.showModal(), (H = l == null ? void 0 : l.current) == null || H.focus()) : !e && y.open && y.close());
|
|
574
|
+
}, [e]), z(() => {
|
|
574
575
|
if (!e) return;
|
|
575
576
|
const y = document.body.style.overflow;
|
|
576
577
|
return document.body.style.overflow = "hidden", () => {
|
|
@@ -579,59 +580,59 @@ function Pi({
|
|
|
579
580
|
}, [e]);
|
|
580
581
|
const j = (y) => {
|
|
581
582
|
y.preventDefault(), (c ?? r) && n("esc");
|
|
582
|
-
},
|
|
583
|
+
}, S = (y) => {
|
|
583
584
|
r && y.target === m.current && n("backdrop");
|
|
584
|
-
},
|
|
585
|
+
}, T = [q.dialog, St[a], Ct[o], _].filter(Boolean).join(" ");
|
|
585
586
|
return /* @__PURE__ */ t(
|
|
586
587
|
"dialog",
|
|
587
588
|
{
|
|
588
589
|
ref: x,
|
|
589
|
-
className:
|
|
590
|
+
className: T,
|
|
590
591
|
"data-placement": o,
|
|
591
592
|
"aria-labelledby": i != null ? b : void 0,
|
|
592
593
|
onCancel: j,
|
|
593
|
-
onClick:
|
|
594
|
-
...
|
|
595
|
-
children: /* @__PURE__ */
|
|
596
|
-
(i != null || r) && /* @__PURE__ */
|
|
594
|
+
onClick: S,
|
|
595
|
+
...g,
|
|
596
|
+
children: /* @__PURE__ */ h("div", { className: q.panel, children: [
|
|
597
|
+
(i != null || r) && /* @__PURE__ */ h("div", { className: q.header, children: [
|
|
597
598
|
i != null && /* @__PURE__ */ t("h2", { id: b, className: q.title, children: i }),
|
|
598
|
-
r && (
|
|
599
|
-
|
|
599
|
+
r && (d != null ? /* @__PURE__ */ t(ce, { variant: "ghost", size: 32, onClick: () => n("close-button"), children: d }) : /* @__PURE__ */ t(
|
|
600
|
+
le,
|
|
600
601
|
{
|
|
601
602
|
variant: "ghost",
|
|
602
603
|
size: 32,
|
|
603
604
|
"aria-label": "Close dialog",
|
|
604
605
|
onClick: () => n("close-button"),
|
|
605
|
-
children: /* @__PURE__ */ t(
|
|
606
|
+
children: /* @__PURE__ */ t(xe, { "aria-hidden": "true" })
|
|
606
607
|
}
|
|
607
608
|
))
|
|
608
609
|
] }),
|
|
609
|
-
|
|
610
|
+
u,
|
|
610
611
|
s != null && /* @__PURE__ */ t("div", { className: q.footer, children: s })
|
|
611
612
|
] })
|
|
612
613
|
}
|
|
613
614
|
);
|
|
614
615
|
}
|
|
615
|
-
const
|
|
616
|
-
input:
|
|
617
|
-
size24:
|
|
618
|
-
size32:
|
|
619
|
-
size40:
|
|
620
|
-
size48:
|
|
621
|
-
error:
|
|
622
|
-
},
|
|
623
|
-
24:
|
|
624
|
-
32:
|
|
625
|
-
40:
|
|
626
|
-
48:
|
|
616
|
+
const Lt = "_input_pmr7w_3", jt = "_size24_pmr7w_43", Tt = "_size32_pmr7w_49", It = "_size40_pmr7w_55", zt = "_size48_pmr7w_61", qt = "_error_pmr7w_69", Q = {
|
|
617
|
+
input: Lt,
|
|
618
|
+
size24: jt,
|
|
619
|
+
size32: Tt,
|
|
620
|
+
size40: It,
|
|
621
|
+
size48: zt,
|
|
622
|
+
error: qt
|
|
623
|
+
}, Mt = {
|
|
624
|
+
24: Q.size24,
|
|
625
|
+
32: Q.size32,
|
|
626
|
+
40: Q.size40,
|
|
627
|
+
48: Q.size48
|
|
627
628
|
};
|
|
628
|
-
function
|
|
629
|
-
const r =
|
|
629
|
+
function _s({ size: e = 32, error: n = !1, type: i = "text", className: s, ref: a, ...o }) {
|
|
630
|
+
const r = $(G), c = n || ((r == null ? void 0 : r.invalid) ?? !1), l = [r == null ? void 0 : r.describedBy, o["aria-describedby"]].filter(Boolean).join(" ") || void 0, d = [Q.input, Mt[e], c && Q.error, s].filter(Boolean).join(" ");
|
|
630
631
|
return /* @__PURE__ */ t(
|
|
631
632
|
"input",
|
|
632
633
|
{
|
|
633
634
|
ref: a,
|
|
634
|
-
className:
|
|
635
|
+
className: d,
|
|
635
636
|
id: o.id ?? (r == null ? void 0 : r.id),
|
|
636
637
|
required: o.required ?? ((r == null ? void 0 : r.required) || void 0),
|
|
637
638
|
"aria-invalid": (r == null ? void 0 : r.invalid) || void 0,
|
|
@@ -641,20 +642,20 @@ function Ai({ size: e = 32, error: n = !1, type: i = "text", className: s, ref:
|
|
|
641
642
|
}
|
|
642
643
|
);
|
|
643
644
|
}
|
|
644
|
-
const
|
|
645
|
-
select:
|
|
646
|
-
size24:
|
|
647
|
-
size32:
|
|
648
|
-
size40:
|
|
649
|
-
size48:
|
|
650
|
-
error:
|
|
651
|
-
},
|
|
652
|
-
24:
|
|
653
|
-
32:
|
|
654
|
-
40:
|
|
655
|
-
48:
|
|
645
|
+
const Et = "_select_1eqz1_3", Dt = "_size24_1eqz1_57", Wt = "_size32_1eqz1_67", Pt = "_size40_1eqz1_77", At = "_size48_1eqz1_87", Rt = "_error_1eqz1_99", ee = {
|
|
646
|
+
select: Et,
|
|
647
|
+
size24: Dt,
|
|
648
|
+
size32: Wt,
|
|
649
|
+
size40: Pt,
|
|
650
|
+
size48: At,
|
|
651
|
+
error: Rt
|
|
652
|
+
}, Ht = {
|
|
653
|
+
24: ee.size24,
|
|
654
|
+
32: ee.size32,
|
|
655
|
+
40: ee.size40,
|
|
656
|
+
48: ee.size48
|
|
656
657
|
};
|
|
657
|
-
function
|
|
658
|
+
function hs({
|
|
658
659
|
size: e = 32,
|
|
659
660
|
error: n = !1,
|
|
660
661
|
className: i,
|
|
@@ -662,17 +663,17 @@ function Ri({
|
|
|
662
663
|
children: a,
|
|
663
664
|
...o
|
|
664
665
|
}) {
|
|
665
|
-
const r =
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
c &&
|
|
666
|
+
const r = $(G), c = n || ((r == null ? void 0 : r.invalid) ?? !1), l = [r == null ? void 0 : r.describedBy, o["aria-describedby"]].filter(Boolean).join(" ") || void 0, d = [
|
|
667
|
+
ee.select,
|
|
668
|
+
Ht[e],
|
|
669
|
+
c && ee.error,
|
|
669
670
|
i
|
|
670
671
|
].filter(Boolean).join(" ");
|
|
671
672
|
return /* @__PURE__ */ t(
|
|
672
673
|
"select",
|
|
673
674
|
{
|
|
674
675
|
ref: s,
|
|
675
|
-
className:
|
|
676
|
+
className: d,
|
|
676
677
|
id: o.id ?? (r == null ? void 0 : r.id),
|
|
677
678
|
required: o.required ?? ((r == null ? void 0 : r.required) || void 0),
|
|
678
679
|
"aria-invalid": (r == null ? void 0 : r.invalid) || void 0,
|
|
@@ -682,14 +683,14 @@ function Ri({
|
|
|
682
683
|
}
|
|
683
684
|
);
|
|
684
685
|
}
|
|
685
|
-
const
|
|
686
|
-
label:
|
|
687
|
-
disabled:
|
|
688
|
-
indicator:
|
|
689
|
-
input:
|
|
690
|
-
text:
|
|
686
|
+
const Vt = "_label_10kne_3", Ot = "_disabled_10kne_13", Kt = "_indicator_10kne_26", Ft = "_input_10kne_42", Ut = "_text_10kne_97", se = {
|
|
687
|
+
label: Vt,
|
|
688
|
+
disabled: Ot,
|
|
689
|
+
indicator: Kt,
|
|
690
|
+
input: Ft,
|
|
691
|
+
text: Ut
|
|
691
692
|
};
|
|
692
|
-
function
|
|
693
|
+
function qe({
|
|
693
694
|
children: e,
|
|
694
695
|
className: n,
|
|
695
696
|
disabled: i,
|
|
@@ -697,67 +698,130 @@ function Te({
|
|
|
697
698
|
ref: a,
|
|
698
699
|
...o
|
|
699
700
|
}) {
|
|
700
|
-
const r = $(
|
|
701
|
-
|
|
701
|
+
const r = $(G), c = (r == null ? void 0 : r.group) && r.invalid || void 0, l = B(null), d = (u) => {
|
|
702
|
+
l.current = u, typeof a == "function" ? a(u) : a && (a.current = u);
|
|
702
703
|
};
|
|
703
704
|
ze(() => {
|
|
704
|
-
s !== void 0 &&
|
|
705
|
+
s !== void 0 && l.current && (l.current.indeterminate = s);
|
|
705
706
|
});
|
|
706
|
-
const
|
|
707
|
-
return /* @__PURE__ */
|
|
707
|
+
const _ = [se.label, i && se.disabled, n].filter(Boolean).join(" ");
|
|
708
|
+
return /* @__PURE__ */ h("label", { className: _, children: [
|
|
708
709
|
/* @__PURE__ */ t(
|
|
709
710
|
"input",
|
|
710
711
|
{
|
|
711
|
-
ref:
|
|
712
|
+
ref: d,
|
|
712
713
|
type: "checkbox",
|
|
713
|
-
className: `psi-sr-only ${
|
|
714
|
+
className: `psi-sr-only ${se.input}`,
|
|
714
715
|
disabled: i,
|
|
716
|
+
"aria-invalid": c,
|
|
715
717
|
...o
|
|
716
718
|
}
|
|
717
719
|
),
|
|
718
|
-
/* @__PURE__ */ t("span", { className:
|
|
719
|
-
e && /* @__PURE__ */ t("span", { className:
|
|
720
|
+
/* @__PURE__ */ t("span", { className: se.indicator, "aria-hidden": "true" }),
|
|
721
|
+
e && /* @__PURE__ */ t("span", { className: se.text, children: e })
|
|
720
722
|
] });
|
|
721
723
|
}
|
|
722
|
-
const
|
|
723
|
-
label:
|
|
724
|
-
disabled:
|
|
725
|
-
track:
|
|
726
|
-
input:
|
|
727
|
-
thumb:
|
|
728
|
-
text:
|
|
724
|
+
const Gt = "_label_yv464_3", Yt = "_disabled_yv464_13", Zt = "_track_yv464_26", Xt = "_input_yv464_38", Jt = "_thumb_yv464_50", Qt = "_text_yv464_67", J = {
|
|
725
|
+
label: Gt,
|
|
726
|
+
disabled: Yt,
|
|
727
|
+
track: Zt,
|
|
728
|
+
input: Xt,
|
|
729
|
+
thumb: Jt,
|
|
730
|
+
text: Qt
|
|
729
731
|
};
|
|
730
|
-
function
|
|
732
|
+
function fs({
|
|
731
733
|
children: e,
|
|
732
734
|
className: n,
|
|
733
735
|
disabled: i,
|
|
734
736
|
ref: s,
|
|
735
737
|
...a
|
|
736
738
|
}) {
|
|
737
|
-
const o = [
|
|
738
|
-
return /* @__PURE__ */
|
|
739
|
+
const o = [J.label, i && J.disabled, n].filter(Boolean).join(" ");
|
|
740
|
+
return /* @__PURE__ */ h("label", { className: o, children: [
|
|
739
741
|
/* @__PURE__ */ t(
|
|
740
742
|
"input",
|
|
741
743
|
{
|
|
742
744
|
ref: s,
|
|
743
745
|
type: "checkbox",
|
|
744
746
|
role: "switch",
|
|
745
|
-
className: `psi-sr-only ${
|
|
747
|
+
className: `psi-sr-only ${J.input}`,
|
|
746
748
|
disabled: i,
|
|
747
749
|
...a
|
|
748
750
|
}
|
|
749
751
|
),
|
|
750
|
-
/* @__PURE__ */ t("span", { className:
|
|
751
|
-
e && /* @__PURE__ */ t("span", { className:
|
|
752
|
+
/* @__PURE__ */ t("span", { className: J.track, "aria-hidden": "true", children: /* @__PURE__ */ t("span", { className: J.thumb }) }),
|
|
753
|
+
e && /* @__PURE__ */ t("span", { className: J.text, children: e })
|
|
752
754
|
] });
|
|
753
755
|
}
|
|
754
|
-
const
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
756
|
+
const er = "_stack_49uys_4", nr = "_gap4_49uys_9", tr = "_gap8_49uys_10", rr = "_gap12_49uys_11", or = "_gap16_49uys_12", ir = "_gap24_49uys_13", sr = "_gap32_49uys_14", ar = "_alignStart_49uys_16", cr = "_alignCenter_49uys_17", lr = "_alignEnd_49uys_18", D = {
|
|
757
|
+
stack: er,
|
|
758
|
+
gap4: nr,
|
|
759
|
+
gap8: tr,
|
|
760
|
+
gap12: rr,
|
|
761
|
+
gap16: or,
|
|
762
|
+
gap24: ir,
|
|
763
|
+
gap32: sr,
|
|
764
|
+
alignStart: ar,
|
|
765
|
+
alignCenter: cr,
|
|
766
|
+
alignEnd: lr
|
|
767
|
+
}, dr = {
|
|
768
|
+
4: D.gap4,
|
|
769
|
+
8: D.gap8,
|
|
770
|
+
12: D.gap12,
|
|
771
|
+
16: D.gap16,
|
|
772
|
+
24: D.gap24,
|
|
773
|
+
32: D.gap32
|
|
774
|
+
}, ur = {
|
|
775
|
+
stretch: void 0,
|
|
776
|
+
start: D.alignStart,
|
|
777
|
+
center: D.alignCenter,
|
|
778
|
+
end: D.alignEnd
|
|
779
|
+
};
|
|
780
|
+
function gs({ gap: e = 16, align: n = "stretch", className: i, children: s, ref: a, ...o }) {
|
|
781
|
+
const r = [D.stack, dr[e], ur[n], i].filter(Boolean).join(" ");
|
|
782
|
+
return /* @__PURE__ */ t("div", { ref: a, className: r, ...o, children: s });
|
|
783
|
+
}
|
|
784
|
+
const _r = "_text_14u60_4", hr = "_s12Regular_14u60_9", fr = "_s12Medium_14u60_10", gr = "_s14Regular_14u60_11", pr = "_s14Medium_14u60_12", mr = "_s16Regular_14u60_13", vr = "_s16Medium_14u60_14", br = "_s18Regular_14u60_15", yr = "_s18Medium_14u60_16", wr = "_secondary_14u60_18", E = {
|
|
785
|
+
text: _r,
|
|
786
|
+
s12Regular: hr,
|
|
787
|
+
s12Medium: fr,
|
|
788
|
+
s14Regular: gr,
|
|
789
|
+
s14Medium: pr,
|
|
790
|
+
s16Regular: mr,
|
|
791
|
+
s16Medium: vr,
|
|
792
|
+
s18Regular: br,
|
|
793
|
+
s18Medium: yr,
|
|
794
|
+
secondary: wr
|
|
795
|
+
}, xr = {
|
|
796
|
+
"12regular": E.s12Regular,
|
|
797
|
+
"12medium": E.s12Medium,
|
|
798
|
+
"14regular": E.s14Regular,
|
|
799
|
+
"14medium": E.s14Medium,
|
|
800
|
+
"16regular": E.s16Regular,
|
|
801
|
+
"16medium": E.s16Medium,
|
|
802
|
+
"18regular": E.s18Regular,
|
|
803
|
+
"18medium": E.s18Medium
|
|
804
|
+
};
|
|
805
|
+
function ps({
|
|
806
|
+
as: e = "p",
|
|
807
|
+
size: n = 14,
|
|
808
|
+
weight: i = "regular",
|
|
809
|
+
tone: s = "primary",
|
|
810
|
+
className: a,
|
|
811
|
+
children: o,
|
|
812
|
+
ref: r,
|
|
813
|
+
...c
|
|
814
|
+
}) {
|
|
815
|
+
const l = [E.text, xr[`${n}${i}`], s === "secondary" && E.secondary, a].filter(Boolean).join(" ");
|
|
816
|
+
return /* @__PURE__ */ t(e, { ref: r, className: l, ...c, children: o });
|
|
817
|
+
}
|
|
818
|
+
const kr = "_wrap_1twws_6", Nr = "_textarea_1twws_11", $r = "_error_1twws_49", Br = "_counter_1twws_55", _e = {
|
|
819
|
+
wrap: kr,
|
|
820
|
+
textarea: Nr,
|
|
821
|
+
error: $r,
|
|
822
|
+
counter: Br
|
|
759
823
|
};
|
|
760
|
-
function
|
|
824
|
+
function ms({
|
|
761
825
|
rows: e = 3,
|
|
762
826
|
error: n = !1,
|
|
763
827
|
showCounter: i = !0,
|
|
@@ -767,9 +831,9 @@ function Vi({
|
|
|
767
831
|
ref: r,
|
|
768
832
|
...c
|
|
769
833
|
}) {
|
|
770
|
-
const l =
|
|
771
|
-
|
|
772
|
-
},
|
|
834
|
+
const l = $(G), d = `${R()}-counter`, _ = n || ((l == null ? void 0 : l.invalid) ?? !1), u = c.value !== void 0, [f, g] = oe(() => String(c.defaultValue ?? "").length), m = u ? String(c.value ?? "").length : f, b = s !== void 0 && i, x = [l == null ? void 0 : l.describedBy, b ? d : void 0, c["aria-describedby"]].filter(Boolean).join(" ") || void 0, j = [_e.textarea, _ && _e.error, a].filter(Boolean).join(" "), S = (y) => {
|
|
835
|
+
u || g(y.target.value.length), o == null || o(y);
|
|
836
|
+
}, T = /* @__PURE__ */ t(
|
|
773
837
|
"textarea",
|
|
774
838
|
{
|
|
775
839
|
ref: r,
|
|
@@ -780,30 +844,30 @@ function Vi({
|
|
|
780
844
|
required: c.required ?? ((l == null ? void 0 : l.required) || void 0),
|
|
781
845
|
"aria-invalid": (l == null ? void 0 : l.invalid) || void 0,
|
|
782
846
|
...c,
|
|
783
|
-
onChange:
|
|
847
|
+
onChange: S,
|
|
784
848
|
"aria-describedby": x
|
|
785
849
|
}
|
|
786
850
|
);
|
|
787
|
-
return b ? /* @__PURE__ */
|
|
788
|
-
|
|
789
|
-
/* @__PURE__ */
|
|
851
|
+
return b ? /* @__PURE__ */ h("div", { className: _e.wrap, children: [
|
|
852
|
+
T,
|
|
853
|
+
/* @__PURE__ */ h("div", { id: d, className: _e.counter, "data-psi-textarea-counter": !0, children: [
|
|
790
854
|
m,
|
|
791
855
|
" / ",
|
|
792
856
|
s,
|
|
793
857
|
/* @__PURE__ */ t("span", { className: "psi-sr-only", children: " characters" })
|
|
794
858
|
] })
|
|
795
|
-
] }) :
|
|
796
|
-
}
|
|
797
|
-
const
|
|
798
|
-
group:
|
|
799
|
-
horizontal:
|
|
800
|
-
label:
|
|
801
|
-
disabled:
|
|
802
|
-
circle:
|
|
803
|
-
input:
|
|
804
|
-
text:
|
|
805
|
-
},
|
|
806
|
-
function
|
|
859
|
+
] }) : T;
|
|
860
|
+
}
|
|
861
|
+
const Sr = "_group_wwg2k_5", Cr = "_horizontal_wwg2k_12", Lr = "_label_wwg2k_18", jr = "_disabled_wwg2k_28", Tr = "_circle_wwg2k_35", Ir = "_input_wwg2k_51", zr = "_text_wwg2k_79", K = {
|
|
862
|
+
group: Sr,
|
|
863
|
+
horizontal: Cr,
|
|
864
|
+
label: Lr,
|
|
865
|
+
disabled: jr,
|
|
866
|
+
circle: Tr,
|
|
867
|
+
input: Ir,
|
|
868
|
+
text: zr
|
|
869
|
+
}, Me = U(null);
|
|
870
|
+
function vs({
|
|
807
871
|
children: e,
|
|
808
872
|
name: n,
|
|
809
873
|
value: i,
|
|
@@ -813,29 +877,29 @@ function Oi({
|
|
|
813
877
|
orientation: r = "vertical",
|
|
814
878
|
className: c,
|
|
815
879
|
ref: l,
|
|
816
|
-
...
|
|
880
|
+
...d
|
|
817
881
|
}) {
|
|
818
|
-
const
|
|
819
|
-
i === void 0 &&
|
|
820
|
-
}, j = [
|
|
882
|
+
const _ = $(G), u = R(), [f, g] = oe(s), m = i !== void 0 ? i : f, b = (_ == null ? void 0 : _.group) === !0, x = (S) => {
|
|
883
|
+
i === void 0 && g(S), a == null || a(S);
|
|
884
|
+
}, j = [K.group, r === "horizontal" && K.horizontal, c].filter(Boolean).join(" ");
|
|
821
885
|
return /* @__PURE__ */ t(
|
|
822
886
|
"div",
|
|
823
887
|
{
|
|
824
|
-
...
|
|
888
|
+
...d,
|
|
825
889
|
ref: l,
|
|
826
890
|
className: j,
|
|
827
891
|
role: b ? void 0 : "radiogroup",
|
|
828
892
|
"data-psi-radio-group": !0,
|
|
829
893
|
children: /* @__PURE__ */ t(
|
|
830
|
-
|
|
894
|
+
Me.Provider,
|
|
831
895
|
{
|
|
832
896
|
value: {
|
|
833
|
-
name: n ??
|
|
897
|
+
name: n ?? u,
|
|
834
898
|
value: m,
|
|
835
899
|
select: x,
|
|
836
900
|
disabled: o,
|
|
837
|
-
required: (
|
|
838
|
-
invalid: (
|
|
901
|
+
required: (_ == null ? void 0 : _.required) ?? !1,
|
|
902
|
+
invalid: (_ == null ? void 0 : _.invalid) ?? !1
|
|
839
903
|
},
|
|
840
904
|
children: e
|
|
841
905
|
}
|
|
@@ -843,15 +907,15 @@ function Oi({
|
|
|
843
907
|
}
|
|
844
908
|
);
|
|
845
909
|
}
|
|
846
|
-
function
|
|
847
|
-
const o =
|
|
848
|
-
return /* @__PURE__ */
|
|
910
|
+
function bs({ value: e, children: n, disabled: i, className: s, ref: a }) {
|
|
911
|
+
const o = $(Me), r = i || (o == null ? void 0 : o.disabled) || !1, c = [K.label, r && K.disabled, s].filter(Boolean).join(" ");
|
|
912
|
+
return /* @__PURE__ */ h("label", { className: c, children: [
|
|
849
913
|
/* @__PURE__ */ t(
|
|
850
914
|
"input",
|
|
851
915
|
{
|
|
852
916
|
ref: a,
|
|
853
917
|
type: "radio",
|
|
854
|
-
className: `psi-sr-only ${
|
|
918
|
+
className: `psi-sr-only ${K.input}`,
|
|
855
919
|
name: o == null ? void 0 : o.name,
|
|
856
920
|
value: e,
|
|
857
921
|
checked: o ? o.value === e : void 0,
|
|
@@ -861,37 +925,37 @@ function Ki({ value: e, children: n, disabled: i, className: s, ref: a }) {
|
|
|
861
925
|
"aria-invalid": (o == null ? void 0 : o.invalid) || void 0
|
|
862
926
|
}
|
|
863
927
|
),
|
|
864
|
-
/* @__PURE__ */ t("span", { className:
|
|
865
|
-
n && /* @__PURE__ */ t("span", { className:
|
|
928
|
+
/* @__PURE__ */ t("span", { className: K.circle, "aria-hidden": "true" }),
|
|
929
|
+
n && /* @__PURE__ */ t("span", { className: K.text, children: n })
|
|
866
930
|
] });
|
|
867
931
|
}
|
|
868
|
-
const
|
|
869
|
-
tag:
|
|
870
|
-
dismiss:
|
|
871
|
-
neutral:
|
|
872
|
-
accent:
|
|
873
|
-
success:
|
|
874
|
-
warning:
|
|
875
|
-
danger:
|
|
876
|
-
neutralSubtle:
|
|
877
|
-
accentSubtle:
|
|
878
|
-
successSubtle:
|
|
879
|
-
warningSubtle:
|
|
880
|
-
dangerSubtle:
|
|
881
|
-
},
|
|
882
|
-
neutral:
|
|
883
|
-
accent:
|
|
884
|
-
success:
|
|
885
|
-
warning:
|
|
886
|
-
danger:
|
|
887
|
-
},
|
|
888
|
-
neutral:
|
|
889
|
-
accent:
|
|
890
|
-
success:
|
|
891
|
-
warning:
|
|
892
|
-
danger:
|
|
932
|
+
const qr = "_tag_1r2xw_3", Mr = "_dismiss_1r2xw_17", Er = "_neutral_1r2xw_43", Dr = "_accent_1r2xw_48", Wr = "_success_1r2xw_53", Pr = "_warning_1r2xw_58", Ar = "_danger_1r2xw_63", Rr = "_neutralSubtle_1r2xw_70", Hr = "_accentSubtle_1r2xw_75", Vr = "_successSubtle_1r2xw_80", Or = "_warningSubtle_1r2xw_85", Kr = "_dangerSubtle_1r2xw_90", I = {
|
|
933
|
+
tag: qr,
|
|
934
|
+
dismiss: Mr,
|
|
935
|
+
neutral: Er,
|
|
936
|
+
accent: Dr,
|
|
937
|
+
success: Wr,
|
|
938
|
+
warning: Pr,
|
|
939
|
+
danger: Ar,
|
|
940
|
+
neutralSubtle: Rr,
|
|
941
|
+
accentSubtle: Hr,
|
|
942
|
+
successSubtle: Vr,
|
|
943
|
+
warningSubtle: Or,
|
|
944
|
+
dangerSubtle: Kr
|
|
945
|
+
}, Fr = {
|
|
946
|
+
neutral: I.neutral,
|
|
947
|
+
accent: I.accent,
|
|
948
|
+
success: I.success,
|
|
949
|
+
warning: I.warning,
|
|
950
|
+
danger: I.danger
|
|
951
|
+
}, Ur = {
|
|
952
|
+
neutral: I.neutralSubtle,
|
|
953
|
+
accent: I.accentSubtle,
|
|
954
|
+
success: I.successSubtle,
|
|
955
|
+
warning: I.warningSubtle,
|
|
956
|
+
danger: I.dangerSubtle
|
|
893
957
|
};
|
|
894
|
-
function
|
|
958
|
+
function ys({
|
|
895
959
|
variant: e = "neutral",
|
|
896
960
|
subtle: n = !1,
|
|
897
961
|
onDismiss: i,
|
|
@@ -900,17 +964,17 @@ function Fi({
|
|
|
900
964
|
ref: o,
|
|
901
965
|
...r
|
|
902
966
|
}) {
|
|
903
|
-
const c = n ?
|
|
904
|
-
return /* @__PURE__ */
|
|
967
|
+
const c = n ? Ur : Fr, l = [I.tag, c[e], s].filter(Boolean).join(" ");
|
|
968
|
+
return /* @__PURE__ */ h("span", { ref: o, className: l, ...r, children: [
|
|
905
969
|
a,
|
|
906
970
|
i && /* @__PURE__ */ t(
|
|
907
971
|
"button",
|
|
908
972
|
{
|
|
909
973
|
type: "button",
|
|
910
|
-
className:
|
|
974
|
+
className: I.dismiss,
|
|
911
975
|
onClick: i,
|
|
912
976
|
"aria-label": "Dismiss",
|
|
913
|
-
children: /* @__PURE__ */
|
|
977
|
+
children: /* @__PURE__ */ h(
|
|
914
978
|
"svg",
|
|
915
979
|
{
|
|
916
980
|
width: "12",
|
|
@@ -932,84 +996,86 @@ function Fi({
|
|
|
932
996
|
)
|
|
933
997
|
] });
|
|
934
998
|
}
|
|
935
|
-
const
|
|
936
|
-
wrapper:
|
|
937
|
-
tooltip:
|
|
938
|
-
top:
|
|
939
|
-
bottom:
|
|
940
|
-
left:
|
|
941
|
-
right:
|
|
942
|
-
},
|
|
943
|
-
top:
|
|
944
|
-
bottom:
|
|
945
|
-
left:
|
|
946
|
-
right:
|
|
947
|
-
},
|
|
948
|
-
function
|
|
999
|
+
const Gr = "_wrapper_15o1w_3", Yr = "_tooltip_15o1w_10", Zr = "_top_15o1w_32", Xr = "_bottom_15o1w_45", Jr = "_left_15o1w_58", Qr = "_right_15o1w_71", ne = {
|
|
1000
|
+
wrapper: Gr,
|
|
1001
|
+
tooltip: Yr,
|
|
1002
|
+
top: Zr,
|
|
1003
|
+
bottom: Xr,
|
|
1004
|
+
left: Jr,
|
|
1005
|
+
right: Qr
|
|
1006
|
+
}, eo = {
|
|
1007
|
+
top: ne.top,
|
|
1008
|
+
bottom: ne.bottom,
|
|
1009
|
+
left: ne.left,
|
|
1010
|
+
right: ne.right
|
|
1011
|
+
}, no = 150;
|
|
1012
|
+
function ws({
|
|
949
1013
|
content: e,
|
|
950
1014
|
children: n,
|
|
951
1015
|
placement: i = "top"
|
|
952
1016
|
}) {
|
|
953
|
-
const [s, a] =
|
|
1017
|
+
const [s, a] = oe(!1), o = R(), r = B(void 0), c = k(() => {
|
|
954
1018
|
r.current !== void 0 && (window.clearTimeout(r.current), r.current = void 0);
|
|
955
|
-
}, []), l = k(() => a(!0), []),
|
|
956
|
-
|
|
1019
|
+
}, []), l = k(() => a(!0), []), d = k(() => a(!1), []);
|
|
1020
|
+
z(() => c, [c]), z(() => {
|
|
957
1021
|
if (!s) return;
|
|
958
|
-
const
|
|
959
|
-
|
|
1022
|
+
const g = (m) => {
|
|
1023
|
+
m.key === "Escape" && d();
|
|
960
1024
|
};
|
|
961
|
-
return document.addEventListener("keydown",
|
|
962
|
-
}, [s,
|
|
963
|
-
const
|
|
1025
|
+
return document.addEventListener("keydown", g), () => document.removeEventListener("keydown", g);
|
|
1026
|
+
}, [s, d]);
|
|
1027
|
+
const _ = () => {
|
|
1028
|
+
c(), r.current = window.setTimeout(l, no);
|
|
1029
|
+
}, u = () => {
|
|
1030
|
+
c(), d();
|
|
1031
|
+
}, f = pe(n, {
|
|
964
1032
|
"aria-describedby": s ? o : void 0,
|
|
965
|
-
|
|
966
|
-
c(), r.current = window.setTimeout(l, Cr);
|
|
967
|
-
const _ = n.props.onMouseEnter;
|
|
968
|
-
_ == null || _(d);
|
|
969
|
-
},
|
|
970
|
-
onMouseLeave: (d) => {
|
|
971
|
-
c(), u();
|
|
972
|
-
const _ = n.props.onMouseLeave;
|
|
973
|
-
_ == null || _(d);
|
|
974
|
-
},
|
|
975
|
-
onFocus: (d) => {
|
|
1033
|
+
onFocus: (g) => {
|
|
976
1034
|
l();
|
|
977
|
-
const
|
|
978
|
-
|
|
1035
|
+
const m = n.props.onFocus;
|
|
1036
|
+
m == null || m(g);
|
|
979
1037
|
},
|
|
980
|
-
onBlur: (
|
|
981
|
-
c(),
|
|
982
|
-
const
|
|
983
|
-
|
|
1038
|
+
onBlur: (g) => {
|
|
1039
|
+
c(), d();
|
|
1040
|
+
const m = n.props.onBlur;
|
|
1041
|
+
m == null || m(g);
|
|
984
1042
|
}
|
|
985
1043
|
});
|
|
986
|
-
return /* @__PURE__ */
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
1044
|
+
return /* @__PURE__ */ h(
|
|
1045
|
+
"span",
|
|
1046
|
+
{
|
|
1047
|
+
className: ne.wrapper,
|
|
1048
|
+
onMouseEnter: _,
|
|
1049
|
+
onMouseLeave: u,
|
|
1050
|
+
children: [
|
|
1051
|
+
f,
|
|
1052
|
+
s && /* @__PURE__ */ t(
|
|
1053
|
+
"span",
|
|
1054
|
+
{
|
|
1055
|
+
id: o,
|
|
1056
|
+
role: "tooltip",
|
|
1057
|
+
className: [ne.tooltip, eo[i]].filter(Boolean).join(" "),
|
|
1058
|
+
children: e
|
|
1059
|
+
}
|
|
1060
|
+
)
|
|
1061
|
+
]
|
|
1062
|
+
}
|
|
1063
|
+
);
|
|
998
1064
|
}
|
|
999
|
-
const
|
|
1000
|
-
toolbar:
|
|
1001
|
-
gap8:
|
|
1002
|
-
gap12:
|
|
1003
|
-
gap16:
|
|
1004
|
-
alignEnd:
|
|
1005
|
-
alignStart:
|
|
1006
|
-
},
|
|
1065
|
+
const to = "_toolbar_8bwkv_1", ro = "_gap8_8bwkv_7", oo = "_gap12_8bwkv_8", io = "_gap16_8bwkv_9", so = "_alignEnd_8bwkv_13", ao = "_alignStart_8bwkv_19", te = {
|
|
1066
|
+
toolbar: to,
|
|
1067
|
+
gap8: ro,
|
|
1068
|
+
gap12: oo,
|
|
1069
|
+
gap16: io,
|
|
1070
|
+
alignEnd: so,
|
|
1071
|
+
alignStart: ao
|
|
1072
|
+
}, co = { 8: te.gap8, 12: te.gap12, 16: te.gap16 }, lo = {
|
|
1007
1073
|
center: void 0,
|
|
1008
|
-
end:
|
|
1009
|
-
start:
|
|
1074
|
+
end: te.alignEnd,
|
|
1075
|
+
start: te.alignStart
|
|
1010
1076
|
};
|
|
1011
|
-
function
|
|
1012
|
-
const c = [
|
|
1077
|
+
function xs({ gap: e = 8, align: n = "center", as: i = "div", className: s, children: a, ref: o, ...r }) {
|
|
1078
|
+
const c = [te.toolbar, co[e], lo[n], s].filter(Boolean).join(" ");
|
|
1013
1079
|
return i === "form" ? /* @__PURE__ */ t("form", { ref: o, className: c, ...r, children: a }) : /* @__PURE__ */ t(
|
|
1014
1080
|
"div",
|
|
1015
1081
|
{
|
|
@@ -1021,103 +1087,103 @@ function Gi({ gap: e = 8, align: n = "center", as: i = "div", className: s, chil
|
|
|
1021
1087
|
}
|
|
1022
1088
|
);
|
|
1023
1089
|
}
|
|
1024
|
-
const
|
|
1025
|
-
trigger:
|
|
1026
|
-
menu:
|
|
1027
|
-
item:
|
|
1028
|
-
text:
|
|
1029
|
-
separator:
|
|
1030
|
-
},
|
|
1031
|
-
function
|
|
1032
|
-
const r =
|
|
1033
|
-
const
|
|
1034
|
-
return
|
|
1035
|
-
|
|
1090
|
+
const uo = "_trigger_pivae_4", _o = "_menu_pivae_16", ho = "_item_pivae_37", fo = "_text_pivae_85", go = "_separator_pivae_93", de = {
|
|
1091
|
+
trigger: uo,
|
|
1092
|
+
menu: _o,
|
|
1093
|
+
item: ho,
|
|
1094
|
+
text: fo,
|
|
1095
|
+
separator: go
|
|
1096
|
+
}, po = 500;
|
|
1097
|
+
function mo({ popoverRef: e, triggerRef: n, open: i, openAtRef: s, onEsc: a, onTab: o }) {
|
|
1098
|
+
const r = B(""), c = B(0), l = k(() => {
|
|
1099
|
+
const u = e.current;
|
|
1100
|
+
return u ? Array.from(
|
|
1101
|
+
u.querySelectorAll('[data-psi-menu-item]:not([aria-disabled="true"])')
|
|
1036
1102
|
) : [];
|
|
1037
|
-
}, [e]),
|
|
1038
|
-
(
|
|
1039
|
-
if (
|
|
1040
|
-
for (const
|
|
1041
|
-
|
|
1103
|
+
}, [e]), d = k(
|
|
1104
|
+
(u) => {
|
|
1105
|
+
if (u) {
|
|
1106
|
+
for (const f of l()) f.tabIndex = f === u ? 0 : -1;
|
|
1107
|
+
u.focus();
|
|
1042
1108
|
}
|
|
1043
1109
|
},
|
|
1044
1110
|
[l]
|
|
1045
|
-
),
|
|
1046
|
-
var
|
|
1047
|
-
const
|
|
1048
|
-
|
|
1111
|
+
), _ = k(() => {
|
|
1112
|
+
var f;
|
|
1113
|
+
const u = (f = n.current) == null ? void 0 : f.querySelector("button, a, [tabindex]");
|
|
1114
|
+
u == null || u.focus();
|
|
1049
1115
|
}, [n]);
|
|
1050
|
-
return
|
|
1116
|
+
return z(() => {
|
|
1051
1117
|
if (!i) return;
|
|
1052
|
-
const
|
|
1053
|
-
return s && (s.current = "first"),
|
|
1054
|
-
var
|
|
1055
|
-
(
|
|
1118
|
+
const u = l(), f = (s == null ? void 0 : s.current) === "last";
|
|
1119
|
+
return s && (s.current = "first"), d(f ? u[u.length - 1] : u[0]), () => {
|
|
1120
|
+
var g;
|
|
1121
|
+
(g = e.current) != null && g.contains(document.activeElement) && _();
|
|
1056
1122
|
};
|
|
1057
|
-
}, [i, e, s, l,
|
|
1058
|
-
(
|
|
1059
|
-
if (
|
|
1060
|
-
|
|
1123
|
+
}, [i, e, s, l, d, _]), k(
|
|
1124
|
+
(u) => {
|
|
1125
|
+
if (u.key === "Escape") {
|
|
1126
|
+
u.preventDefault(), a();
|
|
1061
1127
|
return;
|
|
1062
1128
|
}
|
|
1063
|
-
if (
|
|
1129
|
+
if (u.key === "Tab") {
|
|
1064
1130
|
o == null || o();
|
|
1065
1131
|
return;
|
|
1066
1132
|
}
|
|
1067
|
-
const
|
|
1068
|
-
if (
|
|
1069
|
-
const
|
|
1070
|
-
switch (
|
|
1133
|
+
const f = l();
|
|
1134
|
+
if (f.length === 0) return;
|
|
1135
|
+
const g = f.indexOf(document.activeElement);
|
|
1136
|
+
switch (u.key) {
|
|
1071
1137
|
case "ArrowDown":
|
|
1072
|
-
|
|
1138
|
+
u.preventDefault(), d(f[(g + 1 + f.length) % f.length]);
|
|
1073
1139
|
return;
|
|
1074
1140
|
case "ArrowUp":
|
|
1075
|
-
|
|
1141
|
+
u.preventDefault(), d(f[g <= 0 ? f.length - 1 : g - 1]);
|
|
1076
1142
|
return;
|
|
1077
1143
|
case "Home":
|
|
1078
|
-
|
|
1144
|
+
u.preventDefault(), d(f[0]);
|
|
1079
1145
|
return;
|
|
1080
1146
|
case "End":
|
|
1081
|
-
|
|
1147
|
+
u.preventDefault(), d(f[f.length - 1]);
|
|
1082
1148
|
return;
|
|
1083
1149
|
}
|
|
1084
|
-
if (
|
|
1150
|
+
if (u.key.length !== 1 || u.metaKey || u.ctrlKey || u.altKey) return;
|
|
1085
1151
|
const m = Date.now();
|
|
1086
|
-
r.current = m - c.current >
|
|
1087
|
-
const b =
|
|
1152
|
+
r.current = m - c.current > po ? u.key.toLowerCase() : r.current + u.key.toLowerCase(), c.current = m;
|
|
1153
|
+
const b = f.find(
|
|
1088
1154
|
(x) => (x.textContent ?? "").trim().toLowerCase().startsWith(r.current)
|
|
1089
1155
|
);
|
|
1090
|
-
b && (
|
|
1156
|
+
b && (u.preventDefault(), d(b));
|
|
1091
1157
|
},
|
|
1092
|
-
[l,
|
|
1158
|
+
[l, d, a, o]
|
|
1093
1159
|
);
|
|
1094
1160
|
}
|
|
1095
|
-
function
|
|
1161
|
+
function vo() {
|
|
1096
1162
|
return typeof CSS < "u" && CSS.supports("anchor-name", "--x");
|
|
1097
1163
|
}
|
|
1098
|
-
function
|
|
1099
|
-
|
|
1164
|
+
function bo({ popoverRef: e, triggerRef: n, open: i, placement: s, anchorName: a }) {
|
|
1165
|
+
z(() => {
|
|
1100
1166
|
const o = n.current, r = e.current;
|
|
1101
1167
|
!o || !r || (o.style.setProperty("anchor-name", a), r.style.setProperty("position-anchor", a));
|
|
1102
|
-
}, [e, n, a]),
|
|
1103
|
-
if (!i ||
|
|
1168
|
+
}, [e, n, a]), z(() => {
|
|
1169
|
+
if (!i || vo()) return;
|
|
1104
1170
|
const o = n.current, r = e.current;
|
|
1105
1171
|
if (!o || !r) return;
|
|
1106
1172
|
const c = () => {
|
|
1107
|
-
const l = o.getBoundingClientRect(),
|
|
1108
|
-
r.style.position = "fixed", r.style.top =
|
|
1173
|
+
const l = o.getBoundingClientRect(), d = s.startsWith("bottom"), _ = s.endsWith("end"), u = getComputedStyle(o).direction === "rtl", f = _ !== u;
|
|
1174
|
+
r.style.position = "fixed", r.style.top = d ? `${l.bottom}px` : "", r.style.bottom = d ? "" : `${window.innerHeight - l.top}px`, r.style.left = f ? "" : `${l.left}px`, r.style.right = f ? `${window.innerWidth - l.right}px` : "";
|
|
1109
1175
|
};
|
|
1110
1176
|
return c(), window.addEventListener("scroll", c, !0), window.addEventListener("resize", c), () => {
|
|
1111
1177
|
window.removeEventListener("scroll", c, !0), window.removeEventListener("resize", c);
|
|
1112
1178
|
};
|
|
1113
1179
|
}, [i, s, e, n]);
|
|
1114
1180
|
}
|
|
1115
|
-
const
|
|
1181
|
+
const Ee = U({ close: () => {
|
|
1116
1182
|
} });
|
|
1117
1183
|
function Le(e) {
|
|
1118
1184
|
return e.hasAttribute("data-open") || e.matches(":popover-open");
|
|
1119
1185
|
}
|
|
1120
|
-
function
|
|
1186
|
+
function ks({
|
|
1121
1187
|
open: e,
|
|
1122
1188
|
onClose: n,
|
|
1123
1189
|
trigger: i,
|
|
@@ -1128,52 +1194,52 @@ function Yi({
|
|
|
1128
1194
|
ref: c,
|
|
1129
1195
|
...l
|
|
1130
1196
|
}) {
|
|
1131
|
-
const
|
|
1132
|
-
|
|
1197
|
+
const d = B(null), _ = B(null), u = B(!1), f = R().replace(/:/g, ""), g = `--psi-menu-${f}`, m = r ?? `psi-menu-${f}`, b = B("first");
|
|
1198
|
+
bo({ popoverRef: d, triggerRef: _, open: e, placement: s, anchorName: g });
|
|
1133
1199
|
const x = (p) => {
|
|
1134
|
-
|
|
1200
|
+
d.current = p, typeof c == "function" ? c(p) : c && (c.current = p);
|
|
1135
1201
|
};
|
|
1136
|
-
|
|
1137
|
-
const p =
|
|
1202
|
+
z(() => {
|
|
1203
|
+
const p = d.current;
|
|
1138
1204
|
if (!p) return;
|
|
1139
1205
|
const w = Le(p);
|
|
1140
|
-
e && !w ? p.showPopover() : !e && w && (
|
|
1206
|
+
e && !w ? p.showPopover() : !e && w && (u.current = !0, p.hidePopover());
|
|
1141
1207
|
}, [e]);
|
|
1142
1208
|
const j = k(() => {
|
|
1143
|
-
const p =
|
|
1209
|
+
const p = d.current;
|
|
1144
1210
|
if (p) {
|
|
1145
|
-
if (
|
|
1146
|
-
|
|
1211
|
+
if (u.current) {
|
|
1212
|
+
u.current = !1;
|
|
1147
1213
|
return;
|
|
1148
1214
|
}
|
|
1149
1215
|
Le(p) || e && n("outside");
|
|
1150
1216
|
}
|
|
1151
|
-
}, [n, e]),
|
|
1152
|
-
popoverRef:
|
|
1153
|
-
triggerRef:
|
|
1217
|
+
}, [n, e]), S = mo({
|
|
1218
|
+
popoverRef: d,
|
|
1219
|
+
triggerRef: _,
|
|
1154
1220
|
open: e,
|
|
1155
1221
|
openAtRef: b,
|
|
1156
1222
|
onEsc: () => n("esc"),
|
|
1157
1223
|
onTab: () => n("tab")
|
|
1158
|
-
}),
|
|
1159
|
-
var
|
|
1224
|
+
}), T = (p) => {
|
|
1225
|
+
var C;
|
|
1160
1226
|
if (e || p.key !== "ArrowDown" && p.key !== "ArrowUp") return;
|
|
1161
|
-
const w = (
|
|
1227
|
+
const w = (C = _.current) == null ? void 0 : C.querySelector("button, a, [tabindex]");
|
|
1162
1228
|
w && (p.preventDefault(), b.current = p.key === "ArrowUp" ? "last" : "first", w.click());
|
|
1163
1229
|
}, y = k(
|
|
1164
1230
|
(p) => {
|
|
1165
1231
|
n(p);
|
|
1166
1232
|
},
|
|
1167
1233
|
[n]
|
|
1168
|
-
),
|
|
1169
|
-
|
|
1170
|
-
|
|
1234
|
+
), H = re(i);
|
|
1235
|
+
z(() => {
|
|
1236
|
+
H || console.warn(
|
|
1171
1237
|
"Psi Menu: `trigger` must be a single React element that forwards props to a focusable node. Menu clones it to attach aria-haspopup and aria-expanded; a string, fragment or array cannot carry them, so the menu renders without its trigger ARIA."
|
|
1172
1238
|
);
|
|
1173
|
-
}, [
|
|
1174
|
-
const
|
|
1175
|
-
return /* @__PURE__ */
|
|
1176
|
-
/* @__PURE__ */ t("div", { ref:
|
|
1239
|
+
}, [H]);
|
|
1240
|
+
const v = H ? pe(i, { "aria-haspopup": "menu", "aria-expanded": e, "aria-controls": m }) : i;
|
|
1241
|
+
return /* @__PURE__ */ h(fe, { children: [
|
|
1242
|
+
/* @__PURE__ */ t("div", { ref: _, className: de.trigger, "data-psi-menu-trigger": !0, onKeyDown: T, children: v }),
|
|
1177
1243
|
/* @__PURE__ */ t(
|
|
1178
1244
|
"div",
|
|
1179
1245
|
{
|
|
@@ -1184,16 +1250,16 @@ function Yi({
|
|
|
1184
1250
|
role: "menu",
|
|
1185
1251
|
"data-psi-menu": !0,
|
|
1186
1252
|
"data-placement": s,
|
|
1187
|
-
className: [
|
|
1253
|
+
className: [de.menu, o].filter(Boolean).join(" "),
|
|
1188
1254
|
onToggle: j,
|
|
1189
|
-
onKeyDown:
|
|
1190
|
-
children: /* @__PURE__ */ t(
|
|
1255
|
+
onKeyDown: S,
|
|
1256
|
+
children: /* @__PURE__ */ t(Ee.Provider, { value: { close: y }, children: a })
|
|
1191
1257
|
}
|
|
1192
1258
|
)
|
|
1193
1259
|
] });
|
|
1194
1260
|
}
|
|
1195
|
-
function
|
|
1196
|
-
const { close: a } =
|
|
1261
|
+
function Ns({ children: e, onSelect: n, variant: i = "neutral", disabled: s = !1 }) {
|
|
1262
|
+
const { close: a } = $(Ee);
|
|
1197
1263
|
return /* @__PURE__ */ t(
|
|
1198
1264
|
"button",
|
|
1199
1265
|
{
|
|
@@ -1203,7 +1269,7 @@ function Zi({ children: e, onSelect: n, variant: i = "neutral", disabled: s = !1
|
|
|
1203
1269
|
"data-variant": i,
|
|
1204
1270
|
"aria-disabled": s || void 0,
|
|
1205
1271
|
tabIndex: -1,
|
|
1206
|
-
className:
|
|
1272
|
+
className: de.item,
|
|
1207
1273
|
onClick: () => {
|
|
1208
1274
|
s || (n(), a("item-select"));
|
|
1209
1275
|
},
|
|
@@ -1211,111 +1277,111 @@ function Zi({ children: e, onSelect: n, variant: i = "neutral", disabled: s = !1
|
|
|
1211
1277
|
}
|
|
1212
1278
|
);
|
|
1213
1279
|
}
|
|
1214
|
-
function
|
|
1215
|
-
return /* @__PURE__ */ t("div", { role: "separator", "data-psi-menu-separator": !0, className:
|
|
1216
|
-
}
|
|
1217
|
-
function
|
|
1218
|
-
return /* @__PURE__ */ t("div", { id: n, "data-psi-menu-text": !0, className:
|
|
1219
|
-
}
|
|
1220
|
-
const
|
|
1221
|
-
table:
|
|
1222
|
-
caption:
|
|
1223
|
-
captionDetail:
|
|
1224
|
-
headerCell:
|
|
1225
|
-
cell:
|
|
1226
|
-
rowHeader:
|
|
1227
|
-
sortButton:
|
|
1228
|
-
sortIndicator:
|
|
1229
|
-
selectCell:
|
|
1230
|
-
body:
|
|
1231
|
-
row:
|
|
1232
|
-
sticky:
|
|
1233
|
-
},
|
|
1280
|
+
function $s() {
|
|
1281
|
+
return /* @__PURE__ */ t("div", { role: "separator", "data-psi-menu-separator": !0, className: de.separator });
|
|
1282
|
+
}
|
|
1283
|
+
function Bs({ children: e, id: n }) {
|
|
1284
|
+
return /* @__PURE__ */ t("div", { id: n, "data-psi-menu-text": !0, className: de.text, children: e });
|
|
1285
|
+
}
|
|
1286
|
+
const yo = "_table_1maek_3", wo = "_caption_1maek_19", xo = "_captionDetail_1maek_27", ko = "_headerCell_1maek_38", No = "_cell_1maek_44", $o = "_rowHeader_1maek_51", Bo = "_sortButton_1maek_62", So = "_sortIndicator_1maek_79", Co = "_selectCell_1maek_123", Lo = "_body_1maek_130", jo = "_row_1maek_51", To = "_sticky_1maek_155", N = {
|
|
1287
|
+
table: yo,
|
|
1288
|
+
caption: wo,
|
|
1289
|
+
captionDetail: xo,
|
|
1290
|
+
headerCell: ko,
|
|
1291
|
+
cell: No,
|
|
1292
|
+
rowHeader: $o,
|
|
1293
|
+
sortButton: Bo,
|
|
1294
|
+
sortIndicator: So,
|
|
1295
|
+
selectCell: Co,
|
|
1296
|
+
body: Lo,
|
|
1297
|
+
row: jo,
|
|
1298
|
+
sticky: To
|
|
1299
|
+
}, De = /* @__PURE__ */ new Set(), ie = U({
|
|
1234
1300
|
size: 40,
|
|
1235
1301
|
sortable: !1,
|
|
1236
1302
|
sort: null,
|
|
1237
1303
|
selectable: !1,
|
|
1238
|
-
selected:
|
|
1239
|
-
}),
|
|
1240
|
-
function
|
|
1304
|
+
selected: De
|
|
1305
|
+
}), We = U([]);
|
|
1306
|
+
function Io({ children: e, className: n, ref: i, ...s }) {
|
|
1241
1307
|
return /* @__PURE__ */ t("tbody", { ...s, ref: i, className: [N.body, n].filter(Boolean).join(" "), children: e });
|
|
1242
1308
|
}
|
|
1243
|
-
function
|
|
1309
|
+
function zo(e) {
|
|
1244
1310
|
const n = [];
|
|
1245
1311
|
let i = !1, s = !1;
|
|
1246
1312
|
const a = (o) => {
|
|
1247
|
-
|
|
1248
|
-
if (!
|
|
1249
|
-
if (c.type ===
|
|
1250
|
-
|
|
1313
|
+
F.forEach(o, function r(c) {
|
|
1314
|
+
if (!re(c)) return;
|
|
1315
|
+
if (c.type === ye) {
|
|
1316
|
+
F.forEach(c.props.children, r);
|
|
1251
1317
|
return;
|
|
1252
1318
|
}
|
|
1253
1319
|
const l = c.props.rowId;
|
|
1254
1320
|
typeof l == "string" ? n.push(l) : s = !0;
|
|
1255
1321
|
});
|
|
1256
1322
|
};
|
|
1257
|
-
return
|
|
1258
|
-
if (
|
|
1259
|
-
if (r.type ===
|
|
1260
|
-
|
|
1323
|
+
return F.forEach(e, function o(r) {
|
|
1324
|
+
if (re(r)) {
|
|
1325
|
+
if (r.type === ye) {
|
|
1326
|
+
F.forEach(r.props.children, o);
|
|
1261
1327
|
return;
|
|
1262
1328
|
}
|
|
1263
|
-
r.type ===
|
|
1329
|
+
r.type === Io && (i = !0, a(r.props.children));
|
|
1264
1330
|
}
|
|
1265
1331
|
}), { ids: n, sawBody: i, hasRowWithoutId: s };
|
|
1266
1332
|
}
|
|
1267
|
-
function
|
|
1333
|
+
function Ss({
|
|
1268
1334
|
size: e = 40,
|
|
1269
1335
|
stickyHeader: n,
|
|
1270
1336
|
sortable: i = !1,
|
|
1271
1337
|
sort: s = null,
|
|
1272
1338
|
onSortChange: a,
|
|
1273
1339
|
selectable: o = !1,
|
|
1274
|
-
selected: r =
|
|
1340
|
+
selected: r = De,
|
|
1275
1341
|
onSelectionChange: c,
|
|
1276
1342
|
children: l,
|
|
1277
|
-
className:
|
|
1278
|
-
ref:
|
|
1279
|
-
...
|
|
1343
|
+
className: d,
|
|
1344
|
+
ref: _,
|
|
1345
|
+
...u
|
|
1280
1346
|
}) {
|
|
1281
|
-
const
|
|
1282
|
-
return process.env.NODE_ENV !== "production" && (i && !a && console.warn("Psi Table: `sortable` is set without `onSortChange`; sorting will not respond."), o && !c && console.warn("Psi Table: `selectable` is set without `onSelectionChange`; selection will not respond."), o && !m && console.warn("Psi Table: `selectable` is set but no `TableBody` is visible to `Table`. Wrapping `TableBody` in a component other than a Fragment hides its rows, and select-all will clear the selection instead of filling it."), o && b && console.warn("Psi Table: `selectable` is set but a row in `TableBody` has no `rowId`. That row will render without a selection checkbox and select-all will not include it.")), /* @__PURE__ */ t(
|
|
1347
|
+
const f = [N.table, n && N.sticky, d].filter(Boolean).join(" "), { ids: g, sawBody: m, hasRowWithoutId: b } = ge(() => zo(l), [l]);
|
|
1348
|
+
return process.env.NODE_ENV !== "production" && (i && !a && console.warn("Psi Table: `sortable` is set without `onSortChange`; sorting will not respond."), o && !c && console.warn("Psi Table: `selectable` is set without `onSelectionChange`; selection will not respond."), o && !m && console.warn("Psi Table: `selectable` is set but no `TableBody` is visible to `Table`. Wrapping `TableBody` in a component other than a Fragment hides its rows, and select-all will clear the selection instead of filling it."), o && b && console.warn("Psi Table: `selectable` is set but a row in `TableBody` has no `rowId`. That row will render without a selection checkbox and select-all will not include it.")), /* @__PURE__ */ t(ie.Provider, { value: { size: e, sortable: i, sort: s, onSortChange: a, selectable: o, selected: r, onSelectionChange: c }, children: /* @__PURE__ */ t(We.Provider, { value: g, children: /* @__PURE__ */ t("table", { ...u, ref: _, className: f, "data-size": e, children: l }) }) });
|
|
1283
1349
|
}
|
|
1284
|
-
function
|
|
1285
|
-
const { selected: i, onSelectionChange: s } =
|
|
1350
|
+
function qo({ rowId: e, label: n }) {
|
|
1351
|
+
const { selected: i, onSelectionChange: s } = $(ie), a = () => {
|
|
1286
1352
|
const o = new Set(i);
|
|
1287
1353
|
o.has(e) ? o.delete(e) : o.add(e), s == null || s(o);
|
|
1288
1354
|
};
|
|
1289
|
-
return /* @__PURE__ */ t("td", { className: `${N.cell} ${N.selectCell}`, children: /* @__PURE__ */ t(
|
|
1355
|
+
return /* @__PURE__ */ t("td", { className: `${N.cell} ${N.selectCell}`, children: /* @__PURE__ */ t(qe, { "aria-label": n, checked: i.has(e), onChange: a }) });
|
|
1290
1356
|
}
|
|
1291
|
-
function
|
|
1292
|
-
const { selected: e, onSelectionChange: n } =
|
|
1357
|
+
function Mo() {
|
|
1358
|
+
const { selected: e, onSelectionChange: n } = $(ie), i = $(We), s = i.length > 0 && i.every((r) => e.has(r)), a = i.some((r) => e.has(r)), o = () => {
|
|
1293
1359
|
const r = new Set(e);
|
|
1294
1360
|
s ? i.forEach((c) => r.delete(c)) : i.forEach((c) => r.add(c)), n == null || n(r);
|
|
1295
1361
|
};
|
|
1296
|
-
return /* @__PURE__ */ t("th", { scope: "col", className: `${N.headerCell} ${N.selectCell}`, children: /* @__PURE__ */ t(
|
|
1362
|
+
return /* @__PURE__ */ t("th", { scope: "col", className: `${N.headerCell} ${N.selectCell}`, children: /* @__PURE__ */ t(qe, { "aria-label": "Select all rows", checked: s, indeterminate: a && !s, onChange: o }) });
|
|
1297
1363
|
}
|
|
1298
|
-
function
|
|
1299
|
-
const { selectable: a } =
|
|
1364
|
+
function Cs({ children: e, className: n, ref: i, ...s }) {
|
|
1365
|
+
const { selectable: a } = $(ie);
|
|
1300
1366
|
let o = !1;
|
|
1301
|
-
const r = a ?
|
|
1302
|
-
if (o || !
|
|
1367
|
+
const r = a ? F.map(e, (c) => {
|
|
1368
|
+
if (o || !re(c)) return c;
|
|
1303
1369
|
o = !0;
|
|
1304
1370
|
const l = c;
|
|
1305
|
-
return
|
|
1371
|
+
return pe(
|
|
1306
1372
|
l,
|
|
1307
1373
|
void 0,
|
|
1308
|
-
/* @__PURE__ */
|
|
1309
|
-
/* @__PURE__ */ t(
|
|
1374
|
+
/* @__PURE__ */ h(fe, { children: [
|
|
1375
|
+
/* @__PURE__ */ t(Mo, {}),
|
|
1310
1376
|
l.props.children
|
|
1311
1377
|
] })
|
|
1312
1378
|
);
|
|
1313
1379
|
}) : e;
|
|
1314
1380
|
return /* @__PURE__ */ t("thead", { ...s, ref: i, className: [N.head, n].filter(Boolean).join(" "), children: r });
|
|
1315
1381
|
}
|
|
1316
|
-
function
|
|
1317
|
-
const { selectable: r, selected: c } =
|
|
1318
|
-
return /* @__PURE__ */
|
|
1382
|
+
function Ls({ rowId: e, selectLabel: n, children: i, className: s, ref: a, ...o }) {
|
|
1383
|
+
const { selectable: r, selected: c } = $(ie), l = e !== void 0 && c.has(e);
|
|
1384
|
+
return /* @__PURE__ */ h(
|
|
1319
1385
|
"tr",
|
|
1320
1386
|
{
|
|
1321
1387
|
...o,
|
|
@@ -1324,17 +1390,17 @@ function ns({ rowId: e, selectLabel: n, children: i, className: s, ref: a, ...o
|
|
|
1324
1390
|
"data-row-id": e,
|
|
1325
1391
|
"data-selected": l || void 0,
|
|
1326
1392
|
children: [
|
|
1327
|
-
r && e !== void 0 && /* @__PURE__ */ t(
|
|
1393
|
+
r && e !== void 0 && /* @__PURE__ */ t(qo, { rowId: e, label: n ?? `Select row ${e}` }),
|
|
1328
1394
|
i
|
|
1329
1395
|
]
|
|
1330
1396
|
}
|
|
1331
1397
|
);
|
|
1332
1398
|
}
|
|
1333
|
-
function
|
|
1334
|
-
const { sortable: r, sort: c, onSortChange: l } =
|
|
1399
|
+
function js({ sortKey: e, numeric: n, children: i, className: s, ref: a, ...o }) {
|
|
1400
|
+
const { sortable: r, sort: c, onSortChange: l } = $(ie), d = r && e !== void 0, _ = d && (c == null ? void 0 : c.key) === e, u = d ? _ ? c.direction === "asc" ? "ascending" : "descending" : "none" : void 0, f = () => {
|
|
1335
1401
|
if (!e) return;
|
|
1336
|
-
const
|
|
1337
|
-
l == null || l({ key: e, direction:
|
|
1402
|
+
const g = _ && c.direction === "asc" ? "desc" : "asc";
|
|
1403
|
+
l == null || l({ key: e, direction: g });
|
|
1338
1404
|
};
|
|
1339
1405
|
return /* @__PURE__ */ t(
|
|
1340
1406
|
"th",
|
|
@@ -1344,47 +1410,47 @@ function ts({ sortKey: e, numeric: n, children: i, className: s, ref: a, ...o })
|
|
|
1344
1410
|
scope: "col",
|
|
1345
1411
|
className: [N.headerCell, s].filter(Boolean).join(" "),
|
|
1346
1412
|
"data-numeric": n || void 0,
|
|
1347
|
-
"aria-sort":
|
|
1348
|
-
children:
|
|
1413
|
+
"aria-sort": u,
|
|
1414
|
+
children: d ? /* @__PURE__ */ h("button", { type: "button", className: N.sortButton, onClick: f, children: [
|
|
1349
1415
|
i,
|
|
1350
|
-
/* @__PURE__ */ t("span", { className: N.sortIndicator, "aria-hidden": "true", children:
|
|
1416
|
+
/* @__PURE__ */ t("span", { className: N.sortIndicator, "aria-hidden": "true", children: _ ? c.direction === "asc" ? "↑" : "↓" : "" })
|
|
1351
1417
|
] }) : i
|
|
1352
1418
|
}
|
|
1353
1419
|
);
|
|
1354
1420
|
}
|
|
1355
|
-
function
|
|
1421
|
+
function Ts({ numeric: e, colSpan: n, rowHeader: i, children: s, className: a, ref: o, ...r }) {
|
|
1356
1422
|
const c = [N.cell, i && N.rowHeader, a].filter(Boolean).join(" ");
|
|
1357
1423
|
return i ? /* @__PURE__ */ t("th", { ...r, ref: o, scope: "row", colSpan: n, className: c, "data-numeric": e || void 0, children: s }) : /* @__PURE__ */ t("td", { ...r, ref: o, colSpan: n, className: c, "data-numeric": e || void 0, children: s });
|
|
1358
1424
|
}
|
|
1359
|
-
function
|
|
1360
|
-
return /* @__PURE__ */
|
|
1425
|
+
function Is({ children: e, detail: n, className: i, ref: s, ...a }) {
|
|
1426
|
+
return /* @__PURE__ */ h("caption", { ...a, ref: s, className: [N.caption, i].filter(Boolean).join(" "), children: [
|
|
1361
1427
|
e,
|
|
1362
1428
|
n != null && /* @__PURE__ */ t("span", { className: N.captionDetail, children: n })
|
|
1363
1429
|
] });
|
|
1364
1430
|
}
|
|
1365
|
-
const
|
|
1366
|
-
nav:
|
|
1367
|
-
ellipsis:
|
|
1431
|
+
const Eo = "_nav_166vs_6", Do = "_ellipsis_166vs_12", je = {
|
|
1432
|
+
nav: Eo,
|
|
1433
|
+
ellipsis: Do
|
|
1368
1434
|
};
|
|
1369
|
-
function
|
|
1435
|
+
function ae(e, n) {
|
|
1370
1436
|
return Array.from({ length: n - e + 1 }, (i, s) => e + s);
|
|
1371
1437
|
}
|
|
1372
|
-
function
|
|
1438
|
+
function Wo(e, n, i) {
|
|
1373
1439
|
const s = Math.max(0, i), a = s * 2 + 1, o = a + 4;
|
|
1374
1440
|
if (n <= o)
|
|
1375
|
-
return
|
|
1376
|
-
const r = Math.max(e - s, 1), c = Math.min(e + s, n), l = r > 3,
|
|
1377
|
-
if (!l &&
|
|
1378
|
-
const
|
|
1379
|
-
return [...
|
|
1441
|
+
return ae(1, n);
|
|
1442
|
+
const r = Math.max(e - s, 1), c = Math.min(e + s, n), l = r > 3, d = c < n - 2;
|
|
1443
|
+
if (!l && d) {
|
|
1444
|
+
const _ = Math.max(c, a);
|
|
1445
|
+
return [...ae(1, _), "ellipsis", n];
|
|
1380
1446
|
}
|
|
1381
|
-
if (l && !
|
|
1382
|
-
const
|
|
1383
|
-
return [1, "ellipsis", ...
|
|
1447
|
+
if (l && !d) {
|
|
1448
|
+
const _ = Math.min(r, n - a + 1);
|
|
1449
|
+
return [1, "ellipsis", ...ae(_, n)];
|
|
1384
1450
|
}
|
|
1385
|
-
return l &&
|
|
1451
|
+
return l && d ? [1, "ellipsis", ...ae(r, c), "ellipsis", n] : ae(1, n);
|
|
1386
1452
|
}
|
|
1387
|
-
function
|
|
1453
|
+
function zs({
|
|
1388
1454
|
page: e,
|
|
1389
1455
|
pageCount: n,
|
|
1390
1456
|
onPageChange: i,
|
|
@@ -1396,10 +1462,10 @@ function is({
|
|
|
1396
1462
|
process.env.NODE_ENV !== "production" && (!r || e !== l) && console.warn(
|
|
1397
1463
|
`Psi Pagination: \`page\` ${e} is out of range for \`pageCount\` ${n}; rendering page ${r ? l : "none"}. Clamp \`page\` when \`pageCount\` shrinks — e.g. after filtering.`
|
|
1398
1464
|
);
|
|
1399
|
-
const
|
|
1400
|
-
return /* @__PURE__ */
|
|
1465
|
+
const d = r ? Wo(l, n, s) : [];
|
|
1466
|
+
return /* @__PURE__ */ h("nav", { "aria-label": a, className: [je.nav, o].filter(Boolean).join(" "), children: [
|
|
1401
1467
|
/* @__PURE__ */ t(
|
|
1402
|
-
|
|
1468
|
+
le,
|
|
1403
1469
|
{
|
|
1404
1470
|
"aria-label": "Previous page",
|
|
1405
1471
|
size: 32,
|
|
@@ -1409,21 +1475,21 @@ function is({
|
|
|
1409
1475
|
children: /* @__PURE__ */ t("svg", { "aria-hidden": "true", viewBox: "0 0 16 16", width: "16", height: "16", children: /* @__PURE__ */ t("path", { d: "M10 3 5 8l5 5", fill: "none", stroke: "currentColor", strokeWidth: "1.5" }) })
|
|
1410
1476
|
}
|
|
1411
1477
|
),
|
|
1412
|
-
|
|
1413
|
-
(
|
|
1414
|
-
|
|
1478
|
+
d.map(
|
|
1479
|
+
(_, u) => _ === "ellipsis" ? /* @__PURE__ */ t("span", { className: je.ellipsis, "aria-hidden": "true", children: "…" }, `e${u}`) : /* @__PURE__ */ t(
|
|
1480
|
+
ce,
|
|
1415
1481
|
{
|
|
1416
1482
|
size: 32,
|
|
1417
|
-
variant:
|
|
1418
|
-
"aria-current":
|
|
1419
|
-
onClick: () => i(
|
|
1420
|
-
children: String(
|
|
1483
|
+
variant: _ === l ? "accent-subtle" : "ghost",
|
|
1484
|
+
"aria-current": _ === l ? "page" : void 0,
|
|
1485
|
+
onClick: () => i(_),
|
|
1486
|
+
children: String(_)
|
|
1421
1487
|
},
|
|
1422
|
-
|
|
1488
|
+
_
|
|
1423
1489
|
)
|
|
1424
1490
|
),
|
|
1425
1491
|
/* @__PURE__ */ t(
|
|
1426
|
-
|
|
1492
|
+
le,
|
|
1427
1493
|
{
|
|
1428
1494
|
"aria-label": "Next page",
|
|
1429
1495
|
size: 32,
|
|
@@ -1435,10 +1501,10 @@ function is({
|
|
|
1435
1501
|
)
|
|
1436
1502
|
] });
|
|
1437
1503
|
}
|
|
1438
|
-
const
|
|
1439
|
-
nav:
|
|
1504
|
+
const Po = "_nav_jbhk1_5", Ao = {
|
|
1505
|
+
nav: Po
|
|
1440
1506
|
};
|
|
1441
|
-
function
|
|
1507
|
+
function qs({
|
|
1442
1508
|
hasPrevious: e,
|
|
1443
1509
|
hasNext: n,
|
|
1444
1510
|
onPrevious: i,
|
|
@@ -1449,49 +1515,49 @@ function ss({
|
|
|
1449
1515
|
"aria-label": c = "Pagination",
|
|
1450
1516
|
className: l
|
|
1451
1517
|
}) {
|
|
1452
|
-
return /* @__PURE__ */
|
|
1453
|
-
/* @__PURE__ */
|
|
1454
|
-
/* @__PURE__ */ t(
|
|
1518
|
+
return /* @__PURE__ */ h("nav", { "aria-label": c, className: [Ao.nav, l].filter(Boolean).join(" "), children: [
|
|
1519
|
+
/* @__PURE__ */ h(ce, { variant: "ghost", size: r, disabled: !e, onClick: i, children: [
|
|
1520
|
+
/* @__PURE__ */ t(ut, { size: 16, "aria-hidden": "true" }),
|
|
1455
1521
|
/* @__PURE__ */ t("span", { children: a })
|
|
1456
1522
|
] }),
|
|
1457
|
-
/* @__PURE__ */
|
|
1523
|
+
/* @__PURE__ */ h(ce, { variant: "ghost", size: r, disabled: !n, onClick: s, children: [
|
|
1458
1524
|
/* @__PURE__ */ t("span", { children: o }),
|
|
1459
|
-
/* @__PURE__ */ t(
|
|
1525
|
+
/* @__PURE__ */ t(dt, { size: 16, "aria-hidden": "true" })
|
|
1460
1526
|
] })
|
|
1461
1527
|
] });
|
|
1462
1528
|
}
|
|
1463
|
-
const
|
|
1464
|
-
neutral:
|
|
1465
|
-
success:
|
|
1466
|
-
warning:
|
|
1467
|
-
danger:
|
|
1468
|
-
},
|
|
1529
|
+
const ke = {
|
|
1530
|
+
neutral: ht,
|
|
1531
|
+
success: lt,
|
|
1532
|
+
warning: ft,
|
|
1533
|
+
danger: gt
|
|
1534
|
+
}, Ro = {
|
|
1469
1535
|
neutral: null,
|
|
1470
1536
|
success: "Success:",
|
|
1471
1537
|
warning: "Warning:",
|
|
1472
1538
|
danger: "Error:"
|
|
1473
1539
|
};
|
|
1474
|
-
function
|
|
1475
|
-
return n === void 0 ?
|
|
1476
|
-
}
|
|
1477
|
-
const
|
|
1478
|
-
toast:
|
|
1479
|
-
icon:
|
|
1480
|
-
iconNeutral:
|
|
1481
|
-
iconSuccess:
|
|
1482
|
-
iconWarning:
|
|
1483
|
-
iconDanger:
|
|
1484
|
-
body:
|
|
1485
|
-
action:
|
|
1486
|
-
region:
|
|
1487
|
-
live:
|
|
1488
|
-
},
|
|
1489
|
-
neutral:
|
|
1490
|
-
success:
|
|
1491
|
-
warning:
|
|
1492
|
-
danger:
|
|
1540
|
+
function Ne(e, n) {
|
|
1541
|
+
return n === void 0 ? Ro[e] : n;
|
|
1542
|
+
}
|
|
1543
|
+
const Ho = "_toast_1gxg8_10", Vo = "_icon_1gxg8_39", Oo = "_iconNeutral_1gxg8_44", Ko = "_iconSuccess_1gxg8_45", Fo = "_iconWarning_1gxg8_46", Uo = "_iconDanger_1gxg8_47", Go = "_body_1gxg8_51", Yo = "_action_1gxg8_55", Zo = "_region_1gxg8_61", Xo = "_live_1gxg8_91", M = {
|
|
1544
|
+
toast: Ho,
|
|
1545
|
+
icon: Vo,
|
|
1546
|
+
iconNeutral: Oo,
|
|
1547
|
+
iconSuccess: Ko,
|
|
1548
|
+
iconWarning: Fo,
|
|
1549
|
+
iconDanger: Uo,
|
|
1550
|
+
body: Go,
|
|
1551
|
+
action: Yo,
|
|
1552
|
+
region: Zo,
|
|
1553
|
+
live: Xo
|
|
1554
|
+
}, Jo = {
|
|
1555
|
+
neutral: M.iconNeutral,
|
|
1556
|
+
success: M.iconSuccess,
|
|
1557
|
+
warning: M.iconWarning,
|
|
1558
|
+
danger: M.iconDanger
|
|
1493
1559
|
};
|
|
1494
|
-
function
|
|
1560
|
+
function we({
|
|
1495
1561
|
variant: e = "neutral",
|
|
1496
1562
|
children: n,
|
|
1497
1563
|
action: i,
|
|
@@ -1500,36 +1566,36 @@ function me({
|
|
|
1500
1566
|
className: o,
|
|
1501
1567
|
ref: r
|
|
1502
1568
|
}) {
|
|
1503
|
-
const c =
|
|
1504
|
-
return /* @__PURE__ */
|
|
1505
|
-
/* @__PURE__ */ t("span", { className: [
|
|
1506
|
-
/* @__PURE__ */
|
|
1569
|
+
const c = ke[e], l = Ne(e, a), d = [M.toast, o].filter(Boolean).join(" ");
|
|
1570
|
+
return /* @__PURE__ */ h("div", { ref: r, className: d, "data-variant": e, "data-psi-toast": !0, children: [
|
|
1571
|
+
/* @__PURE__ */ t("span", { className: [M.icon, Jo[e]].join(" "), children: /* @__PURE__ */ t(c, { size: 20, "aria-hidden": "true" }) }),
|
|
1572
|
+
/* @__PURE__ */ h("div", { className: M.body, children: [
|
|
1507
1573
|
l && /* @__PURE__ */ t("span", { className: "psi-sr-only", children: l }),
|
|
1508
1574
|
n
|
|
1509
1575
|
] }),
|
|
1510
|
-
i != null && /* @__PURE__ */ t("div", { className:
|
|
1576
|
+
i != null && /* @__PURE__ */ t("div", { className: M.action, children: i }),
|
|
1511
1577
|
s && /* @__PURE__ */ t(
|
|
1512
|
-
|
|
1578
|
+
le,
|
|
1513
1579
|
{
|
|
1514
1580
|
variant: "ghost",
|
|
1515
1581
|
size: 32,
|
|
1516
1582
|
"aria-label": "Dismiss notification",
|
|
1517
1583
|
onClick: s,
|
|
1518
|
-
children: /* @__PURE__ */ t(
|
|
1584
|
+
children: /* @__PURE__ */ t(xe, { "aria-hidden": "true" })
|
|
1519
1585
|
}
|
|
1520
1586
|
)
|
|
1521
1587
|
] });
|
|
1522
1588
|
}
|
|
1523
|
-
function
|
|
1589
|
+
function Pe({ children: e }) {
|
|
1524
1590
|
return /* @__PURE__ */ t("div", { className: "psi-sr-only", "data-psi-announcement": !0, children: e });
|
|
1525
1591
|
}
|
|
1526
|
-
const
|
|
1527
|
-
function
|
|
1528
|
-
if (!
|
|
1592
|
+
const Qo = /* @__PURE__ */ new Set(["warning", "danger"]);
|
|
1593
|
+
function Te(e) {
|
|
1594
|
+
if (!re(e) || e.type !== we && e.type !== Pe) return !1;
|
|
1529
1595
|
const { politeness: n, variant: i } = e.props;
|
|
1530
|
-
return n !== void 0 ? n === "assertive" : e.type ===
|
|
1596
|
+
return n !== void 0 ? n === "assertive" : e.type === we && Qo.has(i ?? "neutral");
|
|
1531
1597
|
}
|
|
1532
|
-
function
|
|
1598
|
+
function ei({
|
|
1533
1599
|
placement: e = "bottom-end",
|
|
1534
1600
|
"aria-label": n = "Notifications",
|
|
1535
1601
|
children: i,
|
|
@@ -1537,20 +1603,20 @@ function So({
|
|
|
1537
1603
|
ref: a,
|
|
1538
1604
|
...o
|
|
1539
1605
|
}) {
|
|
1540
|
-
const r =
|
|
1541
|
-
r.current =
|
|
1606
|
+
const r = B(null), c = (u) => {
|
|
1607
|
+
r.current = u, typeof a == "function" ? a(u) : a && (a.current = u);
|
|
1542
1608
|
};
|
|
1543
|
-
|
|
1544
|
-
var
|
|
1545
|
-
const
|
|
1546
|
-
if (
|
|
1547
|
-
return (
|
|
1548
|
-
var
|
|
1549
|
-
(
|
|
1609
|
+
z(() => {
|
|
1610
|
+
var f;
|
|
1611
|
+
const u = r.current;
|
|
1612
|
+
if (u)
|
|
1613
|
+
return (f = u.showPopover) == null || f.call(u), () => {
|
|
1614
|
+
var g;
|
|
1615
|
+
(g = u.hidePopover) == null || g.call(u);
|
|
1550
1616
|
};
|
|
1551
1617
|
}, []);
|
|
1552
|
-
const l =
|
|
1553
|
-
return /* @__PURE__ */
|
|
1618
|
+
const l = F.toArray(i), d = l.filter(Te), _ = l.filter((u) => !Te(u));
|
|
1619
|
+
return /* @__PURE__ */ h(
|
|
1554
1620
|
"div",
|
|
1555
1621
|
{
|
|
1556
1622
|
...o,
|
|
@@ -1560,25 +1626,25 @@ function So({
|
|
|
1560
1626
|
"aria-label": n,
|
|
1561
1627
|
"data-placement": e,
|
|
1562
1628
|
"data-psi-toast-region": !0,
|
|
1563
|
-
className: [
|
|
1629
|
+
className: [M.region, s].filter(Boolean).join(" "),
|
|
1564
1630
|
children: [
|
|
1565
|
-
/* @__PURE__ */ t("div", { role: "status", "aria-live": "polite", "aria-atomic": "false", className:
|
|
1566
|
-
/* @__PURE__ */ t("div", { role: "alert", "aria-live": "assertive", "aria-atomic": "false", className:
|
|
1631
|
+
/* @__PURE__ */ t("div", { role: "status", "aria-live": "polite", "aria-atomic": "false", className: M.live, children: _ }),
|
|
1632
|
+
/* @__PURE__ */ t("div", { role: "alert", "aria-live": "assertive", "aria-atomic": "false", className: M.live, children: d })
|
|
1567
1633
|
]
|
|
1568
1634
|
}
|
|
1569
1635
|
);
|
|
1570
1636
|
}
|
|
1571
|
-
const
|
|
1572
|
-
function
|
|
1573
|
-
const e =
|
|
1637
|
+
const Ae = U(null);
|
|
1638
|
+
function Ms() {
|
|
1639
|
+
const e = $(Ae);
|
|
1574
1640
|
if (!e)
|
|
1575
1641
|
throw new Error(
|
|
1576
1642
|
"Psi useToast: no ToastProvider found. Wrap your app (or the subtree that raises toasts) in <ToastProvider> — it owns the queue, the auto-dismiss timers and the single ToastRegion."
|
|
1577
1643
|
);
|
|
1578
1644
|
return e;
|
|
1579
1645
|
}
|
|
1580
|
-
const
|
|
1581
|
-
function
|
|
1646
|
+
const ni = 1e3;
|
|
1647
|
+
function Es({
|
|
1582
1648
|
limit: e = 3,
|
|
1583
1649
|
duration: n = 5e3,
|
|
1584
1650
|
actionDuration: i = 1e4,
|
|
@@ -1586,49 +1652,49 @@ function cs({
|
|
|
1586
1652
|
children: a,
|
|
1587
1653
|
...o
|
|
1588
1654
|
}) {
|
|
1589
|
-
const [r, c] =
|
|
1590
|
-
const p =
|
|
1591
|
-
(p == null ? void 0 : p.handle) !== void 0 && clearTimeout(p.handle),
|
|
1655
|
+
const [r, c] = oe([]), [l, d] = oe([]), _ = B(/* @__PURE__ */ new Map()), u = B(!1), f = B(0), g = R(), m = k((v) => {
|
|
1656
|
+
const p = _.current.get(v);
|
|
1657
|
+
(p == null ? void 0 : p.handle) !== void 0 && clearTimeout(p.handle), _.current.delete(v), c((w) => w.some((C) => C.id === v) ? w.filter((C) => C.id !== v) : w), d((w) => w.some((C) => C.id === v) ? w.filter((C) => C.id !== v) : w);
|
|
1592
1658
|
}, []), b = k(
|
|
1593
|
-
(
|
|
1594
|
-
const w =
|
|
1595
|
-
|
|
1659
|
+
(v, p) => {
|
|
1660
|
+
const w = u.current ? { handle: void 0, remaining: p, startedAt: void 0 } : { handle: setTimeout(() => m(v), p), remaining: p, startedAt: Date.now() };
|
|
1661
|
+
_.current.set(v, w);
|
|
1596
1662
|
},
|
|
1597
1663
|
[m]
|
|
1598
1664
|
), x = k(
|
|
1599
|
-
({ variant:
|
|
1600
|
-
const
|
|
1601
|
-
return c((
|
|
1602
|
-
const
|
|
1603
|
-
...
|
|
1604
|
-
{ id:
|
|
1665
|
+
({ variant: v = "neutral", message: p, action: w, politeness: C, statusLabel: Oe }) => {
|
|
1666
|
+
const ve = `${g}-${f.current++}`, Be = w != null ? i : n;
|
|
1667
|
+
return c((Ke) => {
|
|
1668
|
+
const be = [
|
|
1669
|
+
...Ke,
|
|
1670
|
+
{ id: ve, variant: v, message: p, action: w, politeness: C, statusLabel: Oe, duration: Be }
|
|
1605
1671
|
];
|
|
1606
|
-
for (;
|
|
1607
|
-
const
|
|
1608
|
-
(
|
|
1672
|
+
for (; be.length > e; ) {
|
|
1673
|
+
const Se = be.shift(), ue = _.current.get(Se.id);
|
|
1674
|
+
(ue == null ? void 0 : ue.handle) !== void 0 && clearTimeout(ue.handle), _.current.delete(Se.id);
|
|
1609
1675
|
}
|
|
1610
|
-
return
|
|
1611
|
-
}), b(
|
|
1676
|
+
return be;
|
|
1677
|
+
}), b(ve, Be), ve;
|
|
1612
1678
|
},
|
|
1613
|
-
[i, b, n,
|
|
1679
|
+
[i, b, n, g, e]
|
|
1614
1680
|
), j = k(
|
|
1615
|
-
(
|
|
1616
|
-
const w = `${
|
|
1617
|
-
return
|
|
1681
|
+
(v, { politeness: p = "polite" } = {}) => {
|
|
1682
|
+
const w = `${g}-${f.current++}`;
|
|
1683
|
+
return d((C) => [...C, { id: w, message: v, politeness: p }]), b(w, ni), w;
|
|
1618
1684
|
},
|
|
1619
|
-
[b,
|
|
1620
|
-
),
|
|
1621
|
-
for (const
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
}, []),
|
|
1625
|
-
if (!
|
|
1626
|
-
|
|
1627
|
-
for (const [
|
|
1685
|
+
[b, g]
|
|
1686
|
+
), S = k(() => {
|
|
1687
|
+
for (const v of _.current.values())
|
|
1688
|
+
v.handle !== void 0 && clearTimeout(v.handle);
|
|
1689
|
+
_.current.clear(), c([]), d([]);
|
|
1690
|
+
}, []), T = k(() => {
|
|
1691
|
+
if (!u.current) {
|
|
1692
|
+
u.current = !0;
|
|
1693
|
+
for (const [v, p] of _.current) {
|
|
1628
1694
|
if (p.handle === void 0) continue;
|
|
1629
1695
|
clearTimeout(p.handle);
|
|
1630
1696
|
const w = p.startedAt === void 0 ? 0 : Date.now() - p.startedAt;
|
|
1631
|
-
|
|
1697
|
+
_.current.set(v, {
|
|
1632
1698
|
handle: void 0,
|
|
1633
1699
|
remaining: Math.max(0, p.remaining - w),
|
|
1634
1700
|
startedAt: void 0
|
|
@@ -1636,73 +1702,73 @@ function cs({
|
|
|
1636
1702
|
}
|
|
1637
1703
|
}
|
|
1638
1704
|
}, []), y = k(() => {
|
|
1639
|
-
if (
|
|
1640
|
-
|
|
1641
|
-
for (const [
|
|
1642
|
-
p.handle === void 0 &&
|
|
1643
|
-
handle: setTimeout(() => m(
|
|
1705
|
+
if (u.current) {
|
|
1706
|
+
u.current = !1;
|
|
1707
|
+
for (const [v, p] of _.current)
|
|
1708
|
+
p.handle === void 0 && _.current.set(v, {
|
|
1709
|
+
handle: setTimeout(() => m(v), p.remaining),
|
|
1644
1710
|
remaining: p.remaining,
|
|
1645
1711
|
startedAt: Date.now()
|
|
1646
1712
|
});
|
|
1647
1713
|
}
|
|
1648
1714
|
}, [m]);
|
|
1649
|
-
|
|
1650
|
-
const
|
|
1715
|
+
z(() => {
|
|
1716
|
+
const v = _.current;
|
|
1651
1717
|
return () => {
|
|
1652
|
-
for (const p of
|
|
1718
|
+
for (const p of v.values())
|
|
1653
1719
|
p.handle !== void 0 && clearTimeout(p.handle);
|
|
1654
|
-
|
|
1720
|
+
v.clear();
|
|
1655
1721
|
};
|
|
1656
1722
|
}, []);
|
|
1657
|
-
const
|
|
1658
|
-
() => ({ show: x, announce: j, dismiss: m, clear:
|
|
1659
|
-
[x, j, m,
|
|
1723
|
+
const H = ge(
|
|
1724
|
+
() => ({ show: x, announce: j, dismiss: m, clear: S }),
|
|
1725
|
+
[x, j, m, S]
|
|
1660
1726
|
);
|
|
1661
|
-
return /* @__PURE__ */
|
|
1727
|
+
return /* @__PURE__ */ h(Ae.Provider, { value: H, children: [
|
|
1662
1728
|
a,
|
|
1663
1729
|
/* @__PURE__ */ t(
|
|
1664
1730
|
"div",
|
|
1665
1731
|
{
|
|
1666
|
-
onPointerEnter:
|
|
1732
|
+
onPointerEnter: T,
|
|
1667
1733
|
onPointerLeave: y,
|
|
1668
|
-
onFocusCapture:
|
|
1734
|
+
onFocusCapture: T,
|
|
1669
1735
|
onBlurCapture: y,
|
|
1670
|
-
children: /* @__PURE__ */
|
|
1671
|
-
r.map((
|
|
1672
|
-
|
|
1736
|
+
children: /* @__PURE__ */ h(ei, { ...o, placement: s, children: [
|
|
1737
|
+
r.map((v) => /* @__PURE__ */ t(
|
|
1738
|
+
we,
|
|
1673
1739
|
{
|
|
1674
|
-
variant:
|
|
1675
|
-
action:
|
|
1676
|
-
politeness:
|
|
1677
|
-
statusLabel:
|
|
1678
|
-
onDismiss: () => m(
|
|
1679
|
-
children:
|
|
1740
|
+
variant: v.variant,
|
|
1741
|
+
action: v.action,
|
|
1742
|
+
politeness: v.politeness,
|
|
1743
|
+
statusLabel: v.statusLabel,
|
|
1744
|
+
onDismiss: () => m(v.id),
|
|
1745
|
+
children: v.message
|
|
1680
1746
|
},
|
|
1681
|
-
|
|
1747
|
+
v.id
|
|
1682
1748
|
)),
|
|
1683
|
-
l.map((
|
|
1749
|
+
l.map((v) => /* @__PURE__ */ t(Pe, { politeness: v.politeness, children: v.message }, v.id))
|
|
1684
1750
|
] })
|
|
1685
1751
|
}
|
|
1686
1752
|
)
|
|
1687
1753
|
] });
|
|
1688
1754
|
}
|
|
1689
|
-
const
|
|
1690
|
-
banner:
|
|
1691
|
-
icon:
|
|
1692
|
-
iconNeutral:
|
|
1693
|
-
iconSuccess:
|
|
1694
|
-
iconWarning:
|
|
1695
|
-
iconDanger:
|
|
1696
|
-
body:
|
|
1697
|
-
title:
|
|
1698
|
-
action:
|
|
1699
|
-
},
|
|
1700
|
-
neutral:
|
|
1701
|
-
success:
|
|
1702
|
-
warning:
|
|
1703
|
-
danger:
|
|
1755
|
+
const ti = "_banner_15y1f_7", ri = "_icon_15y1f_26", oi = "_iconNeutral_15y1f_31", ii = "_iconSuccess_15y1f_32", si = "_iconWarning_15y1f_33", ai = "_iconDanger_15y1f_34", ci = "_body_15y1f_36", li = "_title_15y1f_50", di = "_action_15y1f_55", P = {
|
|
1756
|
+
banner: ti,
|
|
1757
|
+
icon: ri,
|
|
1758
|
+
iconNeutral: oi,
|
|
1759
|
+
iconSuccess: ii,
|
|
1760
|
+
iconWarning: si,
|
|
1761
|
+
iconDanger: ai,
|
|
1762
|
+
body: ci,
|
|
1763
|
+
title: li,
|
|
1764
|
+
action: di
|
|
1765
|
+
}, ui = {
|
|
1766
|
+
neutral: P.iconNeutral,
|
|
1767
|
+
success: P.iconSuccess,
|
|
1768
|
+
warning: P.iconWarning,
|
|
1769
|
+
danger: P.iconDanger
|
|
1704
1770
|
};
|
|
1705
|
-
function
|
|
1771
|
+
function Ds({
|
|
1706
1772
|
variant: e = "neutral",
|
|
1707
1773
|
title: n,
|
|
1708
1774
|
children: i,
|
|
@@ -1713,35 +1779,35 @@ function ls({
|
|
|
1713
1779
|
ref: c,
|
|
1714
1780
|
...l
|
|
1715
1781
|
}) {
|
|
1716
|
-
const
|
|
1717
|
-
return /* @__PURE__ */
|
|
1718
|
-
/* @__PURE__ */ t("span", { className: [
|
|
1719
|
-
/* @__PURE__ */
|
|
1720
|
-
|
|
1721
|
-
n != null && /* @__PURE__ */ t("strong", { className:
|
|
1782
|
+
const d = ke[e], _ = Ne(e, o), u = [P.banner, r].filter(Boolean).join(" ");
|
|
1783
|
+
return /* @__PURE__ */ h("div", { ...l, ref: c, className: u, "data-variant": e, "data-psi-banner": !0, children: [
|
|
1784
|
+
/* @__PURE__ */ t("span", { className: [P.icon, ui[e]].join(" "), children: /* @__PURE__ */ t(d, { size: 20, "aria-hidden": "true" }) }),
|
|
1785
|
+
/* @__PURE__ */ h("div", { className: P.body, children: [
|
|
1786
|
+
_ && /* @__PURE__ */ t("span", { className: "psi-sr-only", children: _ }),
|
|
1787
|
+
n != null && /* @__PURE__ */ t("strong", { className: P.title, children: n }),
|
|
1722
1788
|
i
|
|
1723
1789
|
] }),
|
|
1724
|
-
s != null && /* @__PURE__ */ t("div", { className:
|
|
1725
|
-
a && /* @__PURE__ */ t(
|
|
1790
|
+
s != null && /* @__PURE__ */ t("div", { className: P.action, children: s }),
|
|
1791
|
+
a && /* @__PURE__ */ t(le, { variant: "ghost", size: 32, "aria-label": "Dismiss", onClick: a, children: /* @__PURE__ */ t(xe, { "aria-hidden": "true" }) })
|
|
1726
1792
|
] });
|
|
1727
1793
|
}
|
|
1728
|
-
const
|
|
1729
|
-
inlineAlert:
|
|
1730
|
-
icon:
|
|
1731
|
-
iconNeutral:
|
|
1732
|
-
iconSuccess:
|
|
1733
|
-
iconWarning:
|
|
1734
|
-
iconDanger:
|
|
1735
|
-
body:
|
|
1736
|
-
title:
|
|
1737
|
-
action:
|
|
1738
|
-
},
|
|
1739
|
-
neutral:
|
|
1740
|
-
success:
|
|
1741
|
-
warning:
|
|
1742
|
-
danger:
|
|
1794
|
+
const _i = "_inlineAlert_16390_7", hi = "_icon_16390_38", fi = "_iconNeutral_16390_43", gi = "_iconSuccess_16390_44", pi = "_iconWarning_16390_45", mi = "_iconDanger_16390_46", vi = "_body_16390_48", bi = "_title_16390_62", yi = "_action_16390_67", A = {
|
|
1795
|
+
inlineAlert: _i,
|
|
1796
|
+
icon: hi,
|
|
1797
|
+
iconNeutral: fi,
|
|
1798
|
+
iconSuccess: gi,
|
|
1799
|
+
iconWarning: pi,
|
|
1800
|
+
iconDanger: mi,
|
|
1801
|
+
body: vi,
|
|
1802
|
+
title: bi,
|
|
1803
|
+
action: yi
|
|
1804
|
+
}, wi = {
|
|
1805
|
+
neutral: A.iconNeutral,
|
|
1806
|
+
success: A.iconSuccess,
|
|
1807
|
+
warning: A.iconWarning,
|
|
1808
|
+
danger: A.iconDanger
|
|
1743
1809
|
};
|
|
1744
|
-
function
|
|
1810
|
+
function Ws({
|
|
1745
1811
|
variant: e = "neutral",
|
|
1746
1812
|
title: n,
|
|
1747
1813
|
children: i,
|
|
@@ -1751,22 +1817,22 @@ function ds({
|
|
|
1751
1817
|
ref: r,
|
|
1752
1818
|
...c
|
|
1753
1819
|
}) {
|
|
1754
|
-
const l =
|
|
1755
|
-
return /* @__PURE__ */
|
|
1756
|
-
/* @__PURE__ */ t("span", { className: [
|
|
1757
|
-
/* @__PURE__ */
|
|
1758
|
-
|
|
1759
|
-
n != null && /* @__PURE__ */ t("strong", { className:
|
|
1820
|
+
const l = ke[e], d = Ne(e, a), _ = [A.inlineAlert, o].filter(Boolean).join(" ");
|
|
1821
|
+
return /* @__PURE__ */ h("div", { ...c, ref: r, className: _, "data-variant": e, "data-psi-inline-alert": !0, children: [
|
|
1822
|
+
/* @__PURE__ */ t("span", { className: [A.icon, wi[e]].join(" "), children: /* @__PURE__ */ t(l, { size: 20, "aria-hidden": "true" }) }),
|
|
1823
|
+
/* @__PURE__ */ h("div", { className: A.body, children: [
|
|
1824
|
+
d && /* @__PURE__ */ t("span", { className: "psi-sr-only", children: d }),
|
|
1825
|
+
n != null && /* @__PURE__ */ t("strong", { className: A.title, children: n }),
|
|
1760
1826
|
i
|
|
1761
1827
|
] }),
|
|
1762
|
-
s != null && /* @__PURE__ */ t("div", { className:
|
|
1828
|
+
s != null && /* @__PURE__ */ t("div", { className: A.action, children: s })
|
|
1763
1829
|
] });
|
|
1764
1830
|
}
|
|
1765
|
-
const
|
|
1766
|
-
skeleton:
|
|
1767
|
-
line:
|
|
1831
|
+
const xi = "_skeleton_1yo7t_12", ki = "_line_1yo7t_28", Ie = {
|
|
1832
|
+
skeleton: xi,
|
|
1833
|
+
line: ki
|
|
1768
1834
|
};
|
|
1769
|
-
function
|
|
1835
|
+
function Ps({
|
|
1770
1836
|
variant: e = "text",
|
|
1771
1837
|
lines: n = 1,
|
|
1772
1838
|
size: i = 40,
|
|
@@ -1774,7 +1840,7 @@ function us({
|
|
|
1774
1840
|
ref: a,
|
|
1775
1841
|
...o
|
|
1776
1842
|
}) {
|
|
1777
|
-
const r = [
|
|
1843
|
+
const r = [Ie.skeleton, s].filter(Boolean).join(" "), c = Math.max(1, Math.floor(n));
|
|
1778
1844
|
return /* @__PURE__ */ t(
|
|
1779
1845
|
"div",
|
|
1780
1846
|
{
|
|
@@ -1785,11 +1851,11 @@ function us({
|
|
|
1785
1851
|
"data-psi-skeleton": !0,
|
|
1786
1852
|
"data-variant": e,
|
|
1787
1853
|
"data-size": e === "block" ? i : void 0,
|
|
1788
|
-
children: e === "text" && Array.from({ length: c }, (l,
|
|
1854
|
+
children: e === "text" && Array.from({ length: c }, (l, d) => /* @__PURE__ */ t("span", { className: Ie.line }, d))
|
|
1789
1855
|
}
|
|
1790
1856
|
);
|
|
1791
1857
|
}
|
|
1792
|
-
function
|
|
1858
|
+
function As({
|
|
1793
1859
|
value: e,
|
|
1794
1860
|
label: n = "Copy",
|
|
1795
1861
|
size: i = 32,
|
|
@@ -1797,8 +1863,8 @@ function hs({
|
|
|
1797
1863
|
onCopy: a,
|
|
1798
1864
|
className: o
|
|
1799
1865
|
}) {
|
|
1800
|
-
return /* @__PURE__ */
|
|
1801
|
-
|
|
1866
|
+
return /* @__PURE__ */ h(
|
|
1867
|
+
ce,
|
|
1802
1868
|
{
|
|
1803
1869
|
type: "button",
|
|
1804
1870
|
variant: s,
|
|
@@ -1816,27 +1882,27 @@ function hs({
|
|
|
1816
1882
|
);
|
|
1817
1883
|
},
|
|
1818
1884
|
children: [
|
|
1819
|
-
/* @__PURE__ */ t(
|
|
1885
|
+
/* @__PURE__ */ t(_t, { size: 16, "aria-hidden": "true" }),
|
|
1820
1886
|
/* @__PURE__ */ t("span", { children: n })
|
|
1821
1887
|
]
|
|
1822
1888
|
}
|
|
1823
1889
|
);
|
|
1824
1890
|
}
|
|
1825
|
-
const
|
|
1826
|
-
tabs:
|
|
1827
|
-
list:
|
|
1828
|
-
tab:
|
|
1829
|
-
panel:
|
|
1830
|
-
},
|
|
1831
|
-
function
|
|
1832
|
-
const n =
|
|
1891
|
+
const Ni = "_tabs_1x9om_8", $i = "_list_1x9om_21", Bi = "_tab_1x9om_8", Si = "_panel_1x9om_99", me = {
|
|
1892
|
+
tabs: Ni,
|
|
1893
|
+
list: $i,
|
|
1894
|
+
tab: Bi,
|
|
1895
|
+
panel: Si
|
|
1896
|
+
}, Re = U(null);
|
|
1897
|
+
function $e(e) {
|
|
1898
|
+
const n = $(Re);
|
|
1833
1899
|
if (!n)
|
|
1834
1900
|
throw new Error(
|
|
1835
1901
|
`Psi ${e}: must be rendered inside <Tabs>. Tabs owns the selected value, the orientation and the ids that wire aria-controls and aria-labelledby together.`
|
|
1836
1902
|
);
|
|
1837
1903
|
return n;
|
|
1838
1904
|
}
|
|
1839
|
-
function
|
|
1905
|
+
function Rs({
|
|
1840
1906
|
value: e,
|
|
1841
1907
|
onValueChange: n,
|
|
1842
1908
|
orientation: i = "horizontal",
|
|
@@ -1844,40 +1910,40 @@ function _s({
|
|
|
1844
1910
|
className: a,
|
|
1845
1911
|
ref: o
|
|
1846
1912
|
}) {
|
|
1847
|
-
const r =
|
|
1913
|
+
const r = R(), [c, l] = oe([]), d = k((g) => (l((m) => [...m, g]), () => l((m) => m.filter((b) => b !== g))), []), { tabStop: _, unmatched: u } = ge(() => {
|
|
1848
1914
|
if (c.length === 0) return { tabStop: e, unmatched: !1 };
|
|
1849
1915
|
if (c.some((b) => b.value === e)) return { tabStop: e, unmatched: !1 };
|
|
1850
|
-
const
|
|
1916
|
+
const g = [...c].sort(
|
|
1851
1917
|
(b, x) => b.el && x.el && b.el !== x.el ? b.el.compareDocumentPosition(x.el) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1 : 0
|
|
1852
1918
|
);
|
|
1853
|
-
return { tabStop: (
|
|
1919
|
+
return { tabStop: (g.find((b) => !b.disabled) ?? g[0]).value, unmatched: !0 };
|
|
1854
1920
|
}, [c, e]);
|
|
1855
|
-
|
|
1856
|
-
!
|
|
1921
|
+
z(() => {
|
|
1922
|
+
!u || process.env.NODE_ENV === "production" || console.warn(
|
|
1857
1923
|
`Tabs: value "${e}" matches no tab; the first enabled tab takes the tab stop.`
|
|
1858
1924
|
);
|
|
1859
|
-
}, [
|
|
1860
|
-
const
|
|
1861
|
-
() => ({ value: e, onValueChange: n, orientation: i, idPrefix: r, tabStop:
|
|
1862
|
-
[e, n, i, r,
|
|
1925
|
+
}, [u, e]);
|
|
1926
|
+
const f = ge(
|
|
1927
|
+
() => ({ value: e, onValueChange: n, orientation: i, idPrefix: r, tabStop: _, registerTab: d }),
|
|
1928
|
+
[e, n, i, r, _, d]
|
|
1863
1929
|
);
|
|
1864
|
-
return /* @__PURE__ */ t(
|
|
1930
|
+
return /* @__PURE__ */ t(Re.Provider, { value: f, children: /* @__PURE__ */ t(
|
|
1865
1931
|
"div",
|
|
1866
1932
|
{
|
|
1867
1933
|
ref: o,
|
|
1868
|
-
className: [
|
|
1934
|
+
className: [me.tabs, a].filter(Boolean).join(" "),
|
|
1869
1935
|
"data-orientation": i,
|
|
1870
1936
|
children: s
|
|
1871
1937
|
}
|
|
1872
1938
|
) });
|
|
1873
1939
|
}
|
|
1874
|
-
function
|
|
1940
|
+
function He(e, n) {
|
|
1875
1941
|
return `${e}tab-${n}`;
|
|
1876
1942
|
}
|
|
1877
|
-
function
|
|
1943
|
+
function Ve(e, n) {
|
|
1878
1944
|
return `${e}panel-${n}`;
|
|
1879
1945
|
}
|
|
1880
|
-
function
|
|
1946
|
+
function Ci({ listRef: e, orientation: n, onValueChange: i }) {
|
|
1881
1947
|
const s = k(() => {
|
|
1882
1948
|
const o = e.current;
|
|
1883
1949
|
return o ? Array.from(
|
|
@@ -1897,13 +1963,13 @@ function ti({ listRef: e, orientation: n, onValueChange: i }) {
|
|
|
1897
1963
|
(o) => {
|
|
1898
1964
|
const r = s();
|
|
1899
1965
|
if (r.length === 0) return;
|
|
1900
|
-
const [c, l] = n === "vertical" ? ["ArrowUp", "ArrowDown"] : ["ArrowLeft", "ArrowRight"],
|
|
1966
|
+
const [c, l] = n === "vertical" ? ["ArrowUp", "ArrowDown"] : ["ArrowLeft", "ArrowRight"], d = r.indexOf(document.activeElement);
|
|
1901
1967
|
switch (o.key) {
|
|
1902
1968
|
case l:
|
|
1903
|
-
o.preventDefault(), a(r[(
|
|
1969
|
+
o.preventDefault(), a(r[(d + 1 + r.length) % r.length]);
|
|
1904
1970
|
break;
|
|
1905
1971
|
case c:
|
|
1906
|
-
o.preventDefault(), a(r[(
|
|
1972
|
+
o.preventDefault(), a(r[(d - 1 + r.length) % r.length]);
|
|
1907
1973
|
break;
|
|
1908
1974
|
case "Home":
|
|
1909
1975
|
o.preventDefault(), a(r[0]);
|
|
@@ -1916,10 +1982,10 @@ function ti({ listRef: e, orientation: n, onValueChange: i }) {
|
|
|
1916
1982
|
[a, s, n]
|
|
1917
1983
|
);
|
|
1918
1984
|
}
|
|
1919
|
-
function
|
|
1920
|
-
const { orientation: a, onValueChange: o } =
|
|
1921
|
-
r.current =
|
|
1922
|
-
}, l =
|
|
1985
|
+
function Hs({ "aria-label": e, children: n, className: i, ref: s }) {
|
|
1986
|
+
const { orientation: a, onValueChange: o } = $e("TabList"), r = B(null), c = (d) => {
|
|
1987
|
+
r.current = d, typeof s == "function" ? s(d) : s && (s.current = d);
|
|
1988
|
+
}, l = Ci({ listRef: r, orientation: a, onValueChange: o });
|
|
1923
1989
|
return /* @__PURE__ */ t(
|
|
1924
1990
|
"div",
|
|
1925
1991
|
{
|
|
@@ -1927,15 +1993,15 @@ function fs({ "aria-label": e, children: n, className: i, ref: s }) {
|
|
|
1927
1993
|
role: "tablist",
|
|
1928
1994
|
"aria-label": e,
|
|
1929
1995
|
"aria-orientation": a,
|
|
1930
|
-
className: [
|
|
1996
|
+
className: [me.list, i].filter(Boolean).join(" "),
|
|
1931
1997
|
onKeyDown: l,
|
|
1932
1998
|
children: n
|
|
1933
1999
|
}
|
|
1934
2000
|
);
|
|
1935
2001
|
}
|
|
1936
|
-
function
|
|
1937
|
-
const o =
|
|
1938
|
-
c.current =
|
|
2002
|
+
function Vs({ value: e, children: n, disabled: i = !1, className: s, ref: a }) {
|
|
2003
|
+
const o = $e("Tab"), r = o.value === e, c = B(null), { registerTab: l } = o, d = (_) => {
|
|
2004
|
+
c.current = _, typeof a == "function" ? a(_) : a && (a.current = _);
|
|
1939
2005
|
};
|
|
1940
2006
|
return ze(
|
|
1941
2007
|
() => l == null ? void 0 : l({ value: e, disabled: i, el: c.current }),
|
|
@@ -1943,17 +2009,17 @@ function ps({ value: e, children: n, disabled: i = !1, className: s, ref: a }) {
|
|
|
1943
2009
|
), /* @__PURE__ */ t(
|
|
1944
2010
|
"button",
|
|
1945
2011
|
{
|
|
1946
|
-
ref:
|
|
2012
|
+
ref: d,
|
|
1947
2013
|
type: "button",
|
|
1948
2014
|
role: "tab",
|
|
1949
|
-
id:
|
|
2015
|
+
id: He(o.idPrefix, e),
|
|
1950
2016
|
"data-psi-tab": !0,
|
|
1951
2017
|
"data-value": e,
|
|
1952
2018
|
"aria-selected": r,
|
|
1953
|
-
"aria-controls":
|
|
2019
|
+
"aria-controls": Ve(o.idPrefix, e),
|
|
1954
2020
|
"aria-disabled": i || void 0,
|
|
1955
2021
|
tabIndex: (o.tabStop ?? o.value) === e ? 0 : -1,
|
|
1956
|
-
className: [
|
|
2022
|
+
className: [me.tab, s].filter(Boolean).join(" "),
|
|
1957
2023
|
onClick: () => {
|
|
1958
2024
|
i || o.onValueChange(e);
|
|
1959
2025
|
},
|
|
@@ -1961,108 +2027,110 @@ function ps({ value: e, children: n, disabled: i = !1, className: s, ref: a }) {
|
|
|
1961
2027
|
}
|
|
1962
2028
|
);
|
|
1963
2029
|
}
|
|
1964
|
-
function
|
|
1965
|
-
const a =
|
|
2030
|
+
function Os({ value: e, children: n, className: i, ref: s }) {
|
|
2031
|
+
const a = $e("TabPanel"), o = a.value === e;
|
|
1966
2032
|
return /* @__PURE__ */ t(
|
|
1967
2033
|
"div",
|
|
1968
2034
|
{
|
|
1969
2035
|
ref: s,
|
|
1970
2036
|
role: "tabpanel",
|
|
1971
|
-
id:
|
|
1972
|
-
"aria-labelledby":
|
|
2037
|
+
id: Ve(a.idPrefix, e),
|
|
2038
|
+
"aria-labelledby": He(a.idPrefix, e),
|
|
1973
2039
|
hidden: !o,
|
|
1974
2040
|
tabIndex: 0,
|
|
1975
|
-
className: [
|
|
2041
|
+
className: [me.panel, i].filter(Boolean).join(" "),
|
|
1976
2042
|
children: n
|
|
1977
2043
|
}
|
|
1978
2044
|
);
|
|
1979
2045
|
}
|
|
1980
2046
|
export {
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2047
|
+
Pe as Announcement,
|
|
2048
|
+
Ai as AppShell,
|
|
2049
|
+
Ri as AspectRatio,
|
|
2050
|
+
Ds as Banner,
|
|
2051
|
+
ce as Button,
|
|
2052
|
+
Ti as Card,
|
|
2053
|
+
qe as Checkbox,
|
|
2054
|
+
As as CopyButton,
|
|
2055
|
+
qs as CursorPagination,
|
|
2056
|
+
qi as DescriptionItem,
|
|
2057
|
+
zi as DescriptionList,
|
|
2058
|
+
us as Dialog,
|
|
2059
|
+
Hi as Field,
|
|
2060
|
+
G as FieldContext,
|
|
2061
|
+
gt as IconAlertCircle,
|
|
2062
|
+
ft as IconAlertTriangle,
|
|
2063
|
+
ns as IconArrowDown,
|
|
2064
|
+
ts as IconArrowUpRight,
|
|
2065
|
+
le as IconButton,
|
|
2066
|
+
lt as IconCheck,
|
|
2067
|
+
Gn as IconChevronDown,
|
|
2068
|
+
ut as IconChevronLeft,
|
|
2069
|
+
dt as IconChevronRight,
|
|
2070
|
+
xe as IconClose,
|
|
2071
|
+
_t as IconCopy,
|
|
2072
|
+
Yi as IconEdit,
|
|
2073
|
+
Xi as IconExternalLink,
|
|
2074
|
+
Ji as IconEye,
|
|
2075
|
+
Qi as IconEyeOff,
|
|
2076
|
+
os as IconGitHub,
|
|
2077
|
+
ht as IconInfo,
|
|
2078
|
+
ss as IconInstagram,
|
|
2079
|
+
rs as IconLinkedIn,
|
|
2080
|
+
es as IconLoader,
|
|
2081
|
+
ls as IconLogOut,
|
|
2082
|
+
cs as IconMenu,
|
|
2083
|
+
Ki as IconMinus,
|
|
2084
|
+
as as IconMoreHorizontal,
|
|
2085
|
+
Oi as IconPlus,
|
|
2086
|
+
Fi as IconSearch,
|
|
2087
|
+
Ui as IconSettings,
|
|
2088
|
+
ds as IconSimCard,
|
|
2089
|
+
Zi as IconTrash,
|
|
2090
|
+
Gi as IconUser,
|
|
2091
|
+
is as IconX,
|
|
2092
|
+
Ws as InlineAlert,
|
|
2093
|
+
_s as Input,
|
|
2094
|
+
ks as Menu,
|
|
2095
|
+
Ee as MenuContext,
|
|
2096
|
+
Ns as MenuItem,
|
|
2097
|
+
$s as MenuSeparator,
|
|
2098
|
+
Bs as MenuText,
|
|
2099
|
+
Mi as NavBar,
|
|
2100
|
+
Wi as NavGroup,
|
|
2101
|
+
Pi as NavItem,
|
|
2102
|
+
Di as NavTree,
|
|
2103
|
+
zs as Pagination,
|
|
2104
|
+
Ii as Panel,
|
|
2105
|
+
bs as Radio,
|
|
2106
|
+
vs as RadioGroup,
|
|
2107
|
+
Me as RadioGroupContext,
|
|
2108
|
+
hs as Select,
|
|
2109
|
+
Ps as Skeleton,
|
|
2110
|
+
Ei as SkipLink,
|
|
2111
|
+
gs as Stack,
|
|
2112
|
+
fs as Switch,
|
|
2113
|
+
Vs as Tab,
|
|
2114
|
+
Hs as TabList,
|
|
2115
|
+
Os as TabPanel,
|
|
2116
|
+
Ss as Table,
|
|
2117
|
+
Io as TableBody,
|
|
2118
|
+
Is as TableCaption,
|
|
2119
|
+
Ts as TableCell,
|
|
2120
|
+
Cs as TableHead,
|
|
2121
|
+
js as TableHeaderCell,
|
|
2122
|
+
Ls as TableRow,
|
|
2123
|
+
Rs as Tabs,
|
|
2124
|
+
Re as TabsContext,
|
|
2125
|
+
ys as Tag,
|
|
2126
|
+
ps as Text,
|
|
2127
|
+
ms as Textarea,
|
|
2128
|
+
we as Toast,
|
|
2129
|
+
Ae as ToastContext,
|
|
2130
|
+
Es as ToastProvider,
|
|
2131
|
+
ei as ToastRegion,
|
|
2132
|
+
xs as Toolbar,
|
|
2133
|
+
ws as Tooltip,
|
|
2134
|
+
Vi as useFieldControl,
|
|
2135
|
+
Ms as useToast
|
|
2068
2136
|
};
|