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