@aciole/acyon 0.0.2
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/dist/acyon.cjs.js +208 -0
- package/dist/acyon.cjs.js.map +1 -0
- package/dist/acyon.css +1 -0
- package/dist/acyon.es.js +3667 -0
- package/dist/acyon.es.js.map +1 -0
- package/dist/components/Accordion/Accordion.d.ts +5 -0
- package/dist/components/Accordion/types.d.ts +16 -0
- package/dist/components/Avatar/Avatar.d.ts +4 -0
- package/dist/components/Avatar/types.d.ts +9 -0
- package/dist/components/Badge/Badge.d.ts +4 -0
- package/dist/components/Badge/types.d.ts +10 -0
- package/dist/components/Box/Box.d.ts +6 -0
- package/dist/components/Box/types.d.ts +14 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +4 -0
- package/dist/components/Breadcrumb/types.d.ts +11 -0
- package/dist/components/Button/Button.d.ts +4 -0
- package/dist/components/Button/types.d.ts +14 -0
- package/dist/components/Card/Card.d.ts +7 -0
- package/dist/components/Card/types.d.ts +17 -0
- package/dist/components/Checkbox/Checkbox.d.ts +4 -0
- package/dist/components/Checkbox/types.d.ts +8 -0
- package/dist/components/Code/Code.d.ts +4 -0
- package/dist/components/Code/types.d.ts +9 -0
- package/dist/components/Container/Container.d.ts +4 -0
- package/dist/components/Container/types.d.ts +8 -0
- package/dist/components/DatePicker/DatePicker.d.ts +4 -0
- package/dist/components/DatePicker/types.d.ts +7 -0
- package/dist/components/Divider/Divider.d.ts +3 -0
- package/dist/components/Divider/types.d.ts +6 -0
- package/dist/components/Drawer/Drawer.d.ts +4 -0
- package/dist/components/Drawer/types.d.ts +14 -0
- package/dist/components/EmptyState/EmptyState.d.ts +4 -0
- package/dist/components/EmptyState/types.d.ts +7 -0
- package/dist/components/FileUpload/FileUpload.d.ts +4 -0
- package/dist/components/FileUpload/types.d.ts +10 -0
- package/dist/components/Flex/Flex.d.ts +4 -0
- package/dist/components/Flex/types.d.ts +16 -0
- package/dist/components/FormField/FormField.d.ts +4 -0
- package/dist/components/FormField/types.d.ts +10 -0
- package/dist/components/Grid/Grid.d.ts +4 -0
- package/dist/components/Grid/types.d.ts +10 -0
- package/dist/components/Heading/Heading.d.ts +9 -0
- package/dist/components/Heading/types.d.ts +7 -0
- package/dist/components/IconButton/IconButton.d.ts +4 -0
- package/dist/components/IconButton/types.d.ts +11 -0
- package/dist/components/Image/Image.d.ts +4 -0
- package/dist/components/Image/types.d.ts +8 -0
- package/dist/components/Input/Input.d.ts +4 -0
- package/dist/components/Input/types.d.ts +12 -0
- package/dist/components/Link/Link.d.ts +7 -0
- package/dist/components/Link/types.d.ts +10 -0
- package/dist/components/List/List.d.ts +7 -0
- package/dist/components/List/types.d.ts +12 -0
- package/dist/components/Loader/Loader.d.ts +3 -0
- package/dist/components/Loader/types.d.ts +8 -0
- package/dist/components/Modal/Modal.d.ts +4 -0
- package/dist/components/Modal/types.d.ts +13 -0
- package/dist/components/MultiSelect/MultiSelect.d.ts +4 -0
- package/dist/components/MultiSelect/types.d.ts +18 -0
- package/dist/components/PageHeader/PageHeader.d.ts +4 -0
- package/dist/components/PageHeader/types.d.ts +9 -0
- package/dist/components/Pagination/Pagination.d.ts +4 -0
- package/dist/components/Pagination/types.d.ts +7 -0
- package/dist/components/Progress/Progress.d.ts +4 -0
- package/dist/components/Progress/types.d.ts +12 -0
- package/dist/components/Radio/Radio.d.ts +4 -0
- package/dist/components/Radio/types.d.ts +8 -0
- package/dist/components/Search/Search.d.ts +4 -0
- package/dist/components/Search/types.d.ts +5 -0
- package/dist/components/Select/Select.d.ts +4 -0
- package/dist/components/Select/types.d.ts +23 -0
- package/dist/components/Sidebar/Sidebar.d.ts +14 -0
- package/dist/components/Sidebar/types.d.ts +34 -0
- package/dist/components/Skeleton/Skeleton.d.ts +4 -0
- package/dist/components/Skeleton/types.d.ts +8 -0
- package/dist/components/Slider/Slider.d.ts +4 -0
- package/dist/components/Slider/types.d.ts +5 -0
- package/dist/components/Spacer/Spacer.d.ts +4 -0
- package/dist/components/Spacer/types.d.ts +7 -0
- package/dist/components/Switch/Switch.d.ts +4 -0
- package/dist/components/Switch/types.d.ts +6 -0
- package/dist/components/Table/Table.d.ts +9 -0
- package/dist/components/Table/types.d.ts +8 -0
- package/dist/components/Tabs/Tabs.d.ts +4 -0
- package/dist/components/Tabs/types.d.ts +19 -0
- package/dist/components/Tag/Tag.d.ts +3 -0
- package/dist/components/Tag/types.d.ts +13 -0
- package/dist/components/Text/Text.d.ts +4 -0
- package/dist/components/Text/types.d.ts +13 -0
- package/dist/components/TextArea/TextArea.d.ts +4 -0
- package/dist/components/TextArea/types.d.ts +9 -0
- package/dist/components/ThemeProvider/ThemeProvider.d.ts +5 -0
- package/dist/components/ThemeProvider/types.d.ts +15 -0
- package/dist/components/Timeline/Timeline.d.ts +5 -0
- package/dist/components/Timeline/types.d.ts +12 -0
- package/dist/components/Toast/Toast.d.ts +5 -0
- package/dist/components/Toast/types.d.ts +20 -0
- package/dist/components/Tooltip/Tooltip.d.ts +3 -0
- package/dist/components/Tooltip/types.d.ts +8 -0
- package/dist/components/TopBar/TopBar.d.ts +4 -0
- package/dist/components/TopBar/types.d.ts +17 -0
- package/dist/components/index.d.ts +49 -0
- package/dist/components/types.d.ts +7 -0
- package/dist/hooks/useOverlay.d.ts +9 -0
- package/dist/icons/IconBase.d.ts +5 -0
- package/dist/icons/generated.d.ts +1269 -0
- package/dist/icons/index.d.ts +5 -0
- package/dist/icons/types.d.ts +6 -0
- package/dist/index.d.ts +4 -0
- package/dist/utils/classNames.d.ts +7 -0
- package/dist/utils/formater.d.ts +1 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/styleTokens.d.ts +14 -0
- package/dist/utils/variants.d.ts +25 -0
- package/package.json +58 -0
package/dist/acyon.es.js
ADDED
|
@@ -0,0 +1,3667 @@
|
|
|
1
|
+
import { jsxs as m, jsx as n, Fragment as Q } from "react/jsx-runtime";
|
|
2
|
+
import L, { useId as ie, useRef as Y, useState as W, useEffect as A, useMemo as G, useContext as J, createContext as ee, useCallback as P } from "react";
|
|
3
|
+
import { createPortal as ne } from "react-dom";
|
|
4
|
+
function p(...e) {
|
|
5
|
+
const t = [];
|
|
6
|
+
for (const o of e)
|
|
7
|
+
if (o) {
|
|
8
|
+
if (typeof o == "string")
|
|
9
|
+
t.push(o);
|
|
10
|
+
else if (Array.isArray(o)) {
|
|
11
|
+
const r = p(...o);
|
|
12
|
+
r && t.push(r);
|
|
13
|
+
} else if (typeof o == "object")
|
|
14
|
+
for (const r in o)
|
|
15
|
+
o[r] && t.push(r);
|
|
16
|
+
}
|
|
17
|
+
return t.join(" ");
|
|
18
|
+
}
|
|
19
|
+
function Bn(e) {
|
|
20
|
+
return function(o = {}) {
|
|
21
|
+
const r = o.variant ?? e.defaultVariants?.variant, a = o.size ?? e.defaultVariants?.size, i = [];
|
|
22
|
+
if (e.base && i.push(e.base), r && e.variants?.[r] && i.push(e.variants[r]), a && e.sizes?.[a] && i.push(e.sizes[a]), e.compound)
|
|
23
|
+
for (const c of e.compound) {
|
|
24
|
+
const s = c.variant === void 0 || c.variant === r, h = c.size === void 0 || c.size === a;
|
|
25
|
+
s && h && i.push(c.className);
|
|
26
|
+
}
|
|
27
|
+
return o.className && i.push(o.className), i.filter(Boolean).join(" ");
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
const Ie = ["primary", "success", "danger", "warning", "info", "neutral"];
|
|
31
|
+
function Z(e) {
|
|
32
|
+
return e ? Ie.includes(e) : !1;
|
|
33
|
+
}
|
|
34
|
+
function Be(e) {
|
|
35
|
+
if (e)
|
|
36
|
+
return Z(e) ? e : void 0;
|
|
37
|
+
}
|
|
38
|
+
function D(e) {
|
|
39
|
+
if (e)
|
|
40
|
+
return Z(e) ? e === "neutral" ? "var(--border-main)" : `var(--color-${e})` : e;
|
|
41
|
+
}
|
|
42
|
+
function je(e) {
|
|
43
|
+
if (!e || e === "default") return "var(--text-main)";
|
|
44
|
+
if (e === "disabled") return "var(--text-muted)";
|
|
45
|
+
if (e === "subtle") return "var(--text-subtle)";
|
|
46
|
+
if (e === "muted") return "var(--text-muted)";
|
|
47
|
+
if (e === "inverse") return "var(--text-inverse)";
|
|
48
|
+
const t = Be(e);
|
|
49
|
+
return t ? `var(--color-${t})` : e;
|
|
50
|
+
}
|
|
51
|
+
function ae({ size: e = "md", color: t, className: o, label: r = "Loading..." }) {
|
|
52
|
+
const a = t ? { "--loader-color": D(t) } : {};
|
|
53
|
+
return /* @__PURE__ */ m("span", { role: "status", "aria-label": r, className: p("loader", `loader--${e}`, o), style: a, children: [
|
|
54
|
+
/* @__PURE__ */ n("span", { className: "loader__ring" }),
|
|
55
|
+
/* @__PURE__ */ n("span", { className: "sr-only", children: r })
|
|
56
|
+
] });
|
|
57
|
+
}
|
|
58
|
+
const X = L.forwardRef(
|
|
59
|
+
({
|
|
60
|
+
variant: e = "solid",
|
|
61
|
+
size: t = "md",
|
|
62
|
+
loading: o = !1,
|
|
63
|
+
disabled: r,
|
|
64
|
+
icon: a,
|
|
65
|
+
iconRight: i = !1,
|
|
66
|
+
full: c = !1,
|
|
67
|
+
color: s = "primary",
|
|
68
|
+
children: h,
|
|
69
|
+
className: d,
|
|
70
|
+
style: u,
|
|
71
|
+
...f
|
|
72
|
+
}, v) => {
|
|
73
|
+
const y = r || o, g = Z(s) || s === "default" ? s : void 0, k = !s || g || s === "default" ? void 0 : D(s), x = k ? {
|
|
74
|
+
...u,
|
|
75
|
+
"--btn-base": k,
|
|
76
|
+
"--btn-bg": k,
|
|
77
|
+
"--btn-text": "var(--text-inverse)"
|
|
78
|
+
} : u;
|
|
79
|
+
return /* @__PURE__ */ m(
|
|
80
|
+
"button",
|
|
81
|
+
{
|
|
82
|
+
ref: v,
|
|
83
|
+
disabled: y,
|
|
84
|
+
"aria-busy": o,
|
|
85
|
+
className: p(
|
|
86
|
+
"btn",
|
|
87
|
+
`btn--${e}`,
|
|
88
|
+
`btn--${t}`,
|
|
89
|
+
g && `btn--color-${g}`,
|
|
90
|
+
c && "btn--full",
|
|
91
|
+
o && "btn--loading",
|
|
92
|
+
d
|
|
93
|
+
),
|
|
94
|
+
style: x,
|
|
95
|
+
...f,
|
|
96
|
+
children: [
|
|
97
|
+
o && /* @__PURE__ */ n(
|
|
98
|
+
ae,
|
|
99
|
+
{
|
|
100
|
+
size: t === "xs" || t === "sm" ? "xs" : t === "md" ? "sm" : "md",
|
|
101
|
+
className: "btn__spinner"
|
|
102
|
+
}
|
|
103
|
+
),
|
|
104
|
+
!o && a && !i && /* @__PURE__ */ n("span", { className: "btn__icon btn__icon--left", children: a }),
|
|
105
|
+
h && /* @__PURE__ */ n("span", { className: "btn__label", children: h }),
|
|
106
|
+
!o && a && i && /* @__PURE__ */ n("span", { className: "btn__icon btn__icon--right", children: a })
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
);
|
|
112
|
+
X.displayName = "Button";
|
|
113
|
+
const F = L.forwardRef(
|
|
114
|
+
({ icon: e, variant: t = "solid", size: o = "md", loading: r = !1, disabled: a, className: i, style: c, label: s, ...h }, d) => /* @__PURE__ */ n(
|
|
115
|
+
X,
|
|
116
|
+
{
|
|
117
|
+
ref: d,
|
|
118
|
+
className: p("icon-btn", `icon-btn--size-${o}`, i),
|
|
119
|
+
"aria-label": s || (typeof e == "string" ? e : "icon-button"),
|
|
120
|
+
"aria-busy": r,
|
|
121
|
+
variant: t,
|
|
122
|
+
size: o,
|
|
123
|
+
disabled: a || r,
|
|
124
|
+
style: c,
|
|
125
|
+
...h,
|
|
126
|
+
children: r ? /* @__PURE__ */ n(ae, {}) : /* @__PURE__ */ n("span", { className: "icon-btn__content", children: e })
|
|
127
|
+
}
|
|
128
|
+
)
|
|
129
|
+
);
|
|
130
|
+
F.displayName = "IconButton";
|
|
131
|
+
function te(e) {
|
|
132
|
+
return e ? e.toLowerCase().replace(new RegExp("^\\p{L}", "u"), (t) => t.toUpperCase()) : "";
|
|
133
|
+
}
|
|
134
|
+
const $ = ({
|
|
135
|
+
size: e = "md",
|
|
136
|
+
color: t = "default",
|
|
137
|
+
weight: o = "normal",
|
|
138
|
+
as: r,
|
|
139
|
+
className: a,
|
|
140
|
+
children: i,
|
|
141
|
+
style: c,
|
|
142
|
+
...s
|
|
143
|
+
}) => {
|
|
144
|
+
const h = r || "p", d = Z(t) || ["default", "subtle", "muted", "inverse"].includes(t) ? `text--color-${t}` : void 0;
|
|
145
|
+
return /* @__PURE__ */ n(
|
|
146
|
+
h,
|
|
147
|
+
{
|
|
148
|
+
className: p(
|
|
149
|
+
"text",
|
|
150
|
+
`text--size-${e}`,
|
|
151
|
+
d,
|
|
152
|
+
`text--weight-${o}`,
|
|
153
|
+
a
|
|
154
|
+
),
|
|
155
|
+
style: d ? c : { ...c, color: je(t) },
|
|
156
|
+
...s,
|
|
157
|
+
children: i
|
|
158
|
+
}
|
|
159
|
+
);
|
|
160
|
+
}, O = ({
|
|
161
|
+
children: e,
|
|
162
|
+
direction: t = "row",
|
|
163
|
+
align: o = "stretch",
|
|
164
|
+
justify: r = "flex-start",
|
|
165
|
+
wrap: a = "nowrap",
|
|
166
|
+
gap: i = "0",
|
|
167
|
+
className: c,
|
|
168
|
+
style: s,
|
|
169
|
+
as: h,
|
|
170
|
+
...d
|
|
171
|
+
}) => /* @__PURE__ */ n(
|
|
172
|
+
h || "div",
|
|
173
|
+
{
|
|
174
|
+
className: p(
|
|
175
|
+
"flex",
|
|
176
|
+
`flex-direction--${t}`,
|
|
177
|
+
`flex-align--${o}`,
|
|
178
|
+
`flex-justify--${r}`,
|
|
179
|
+
`flex-wrap--${a}`,
|
|
180
|
+
`flex-gap--${i}`,
|
|
181
|
+
c
|
|
182
|
+
),
|
|
183
|
+
style: s,
|
|
184
|
+
...d,
|
|
185
|
+
children: e
|
|
186
|
+
}
|
|
187
|
+
), H = ({
|
|
188
|
+
label: e,
|
|
189
|
+
error: t,
|
|
190
|
+
hint: o,
|
|
191
|
+
children: r,
|
|
192
|
+
full: a = !1,
|
|
193
|
+
className: i,
|
|
194
|
+
htmlFor: c
|
|
195
|
+
}) => /* @__PURE__ */ m(O, { direction: "column", gap: "1", className: p("form-field-root", a && "form-field--full", i), children: [
|
|
196
|
+
e && /* @__PURE__ */ n($, { size: "sm", weight: "medium", as: "label", htmlFor: c, className: "form-field-label", children: te(e) }),
|
|
197
|
+
r,
|
|
198
|
+
t && /* @__PURE__ */ n($, { as: "span", color: "danger", size: "sm", className: "form-field-message", role: "alert", children: t }),
|
|
199
|
+
!t && o && /* @__PURE__ */ n($, { as: "span", color: "subtle", size: "sm", className: "form-field-message", children: o })
|
|
200
|
+
] });
|
|
201
|
+
function We({
|
|
202
|
+
size: e = 20,
|
|
203
|
+
width: t,
|
|
204
|
+
height: o,
|
|
205
|
+
viewBox: r = "0 0 24 24",
|
|
206
|
+
fill: a = "none",
|
|
207
|
+
stroke: i = "currentColor",
|
|
208
|
+
strokeWidth: c = 2,
|
|
209
|
+
strokeLinecap: s = "round",
|
|
210
|
+
strokeLinejoin: h = "round",
|
|
211
|
+
children: d,
|
|
212
|
+
...u
|
|
213
|
+
}) {
|
|
214
|
+
return /* @__PURE__ */ n(
|
|
215
|
+
"svg",
|
|
216
|
+
{
|
|
217
|
+
width: t ?? e,
|
|
218
|
+
height: o ?? e,
|
|
219
|
+
viewBox: r,
|
|
220
|
+
fill: a,
|
|
221
|
+
stroke: i,
|
|
222
|
+
strokeWidth: c,
|
|
223
|
+
strokeLinecap: s,
|
|
224
|
+
strokeLinejoin: h,
|
|
225
|
+
"aria-hidden": "true",
|
|
226
|
+
...u,
|
|
227
|
+
children: d
|
|
228
|
+
}
|
|
229
|
+
);
|
|
230
|
+
}
|
|
231
|
+
const ze = {
|
|
232
|
+
activity: {
|
|
233
|
+
viewBox: "0 0 24 24",
|
|
234
|
+
fill: "none",
|
|
235
|
+
stroke: "currentColor",
|
|
236
|
+
strokeWidth: "2",
|
|
237
|
+
strokeLinecap: "round",
|
|
238
|
+
strokeLinejoin: "round",
|
|
239
|
+
body: '<path d="M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2" />'
|
|
240
|
+
},
|
|
241
|
+
"alert-circle": {
|
|
242
|
+
viewBox: "0 0 24 24",
|
|
243
|
+
fill: "none",
|
|
244
|
+
stroke: "currentColor",
|
|
245
|
+
strokeWidth: "2",
|
|
246
|
+
strokeLinecap: "round",
|
|
247
|
+
strokeLinejoin: "round",
|
|
248
|
+
body: `<circle cx="12" cy="12" r="10" />
|
|
249
|
+
<line x1="12" x2="12" y1="8" y2="12" />
|
|
250
|
+
<line x1="12" x2="12.01" y1="16" y2="16" />`
|
|
251
|
+
},
|
|
252
|
+
"alert-triangle": {
|
|
253
|
+
viewBox: "0 0 24 24",
|
|
254
|
+
fill: "none",
|
|
255
|
+
stroke: "currentColor",
|
|
256
|
+
strokeWidth: "2",
|
|
257
|
+
strokeLinecap: "round",
|
|
258
|
+
strokeLinejoin: "round",
|
|
259
|
+
body: `<path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" />
|
|
260
|
+
<path d="M12 9v4" />
|
|
261
|
+
<path d="M12 17h.01" />`
|
|
262
|
+
},
|
|
263
|
+
"align-horizontal": {
|
|
264
|
+
viewBox: "0 0 24 24",
|
|
265
|
+
fill: "none",
|
|
266
|
+
stroke: "currentColor",
|
|
267
|
+
strokeWidth: "2",
|
|
268
|
+
strokeLinecap: "round",
|
|
269
|
+
strokeLinejoin: "round",
|
|
270
|
+
body: `<rect width="6" height="14" x="2" y="5" rx="2" />
|
|
271
|
+
<rect width="6" height="10" x="16" y="7" rx="2" />
|
|
272
|
+
<path d="M12 2v20" />`
|
|
273
|
+
},
|
|
274
|
+
"align-justify": {
|
|
275
|
+
viewBox: "0 0 24 24",
|
|
276
|
+
fill: "none",
|
|
277
|
+
stroke: "currentColor",
|
|
278
|
+
strokeWidth: "2",
|
|
279
|
+
strokeLinecap: "round",
|
|
280
|
+
strokeLinejoin: "round",
|
|
281
|
+
body: `<path d="M3 5h18" />
|
|
282
|
+
<path d="M3 12h18" />
|
|
283
|
+
<path d="M3 19h18" />`
|
|
284
|
+
},
|
|
285
|
+
"app-window": {
|
|
286
|
+
viewBox: "0 0 24 24",
|
|
287
|
+
fill: "none",
|
|
288
|
+
stroke: "currentColor",
|
|
289
|
+
strokeWidth: "2",
|
|
290
|
+
strokeLinecap: "round",
|
|
291
|
+
strokeLinejoin: "round",
|
|
292
|
+
body: `<rect x="2" y="4" width="20" height="16" rx="2" />
|
|
293
|
+
<path d="M10 4v4" />
|
|
294
|
+
<path d="M2 8h20" />
|
|
295
|
+
<path d="M6 4v4" />`
|
|
296
|
+
},
|
|
297
|
+
"arrow-down": {
|
|
298
|
+
viewBox: "0 0 24 24",
|
|
299
|
+
fill: "none",
|
|
300
|
+
stroke: "currentColor",
|
|
301
|
+
strokeWidth: "2",
|
|
302
|
+
strokeLinecap: "round",
|
|
303
|
+
strokeLinejoin: "round",
|
|
304
|
+
body: `<path d="M12 5v14" />
|
|
305
|
+
<path d="m19 12-7 7-7-7" />`
|
|
306
|
+
},
|
|
307
|
+
"arrow-left": {
|
|
308
|
+
viewBox: "0 0 24 24",
|
|
309
|
+
fill: "none",
|
|
310
|
+
stroke: "currentColor",
|
|
311
|
+
strokeWidth: "2",
|
|
312
|
+
strokeLinecap: "round",
|
|
313
|
+
strokeLinejoin: "round",
|
|
314
|
+
body: `<path d="m12 19-7-7 7-7" />
|
|
315
|
+
<path d="M19 12H5" />`
|
|
316
|
+
},
|
|
317
|
+
"arrow-right": {
|
|
318
|
+
viewBox: "0 0 24 24",
|
|
319
|
+
fill: "none",
|
|
320
|
+
stroke: "currentColor",
|
|
321
|
+
strokeWidth: "2",
|
|
322
|
+
strokeLinecap: "round",
|
|
323
|
+
strokeLinejoin: "round",
|
|
324
|
+
body: `<path d="M5 12h14" />
|
|
325
|
+
<path d="m12 5 7 7-7 7" />`
|
|
326
|
+
},
|
|
327
|
+
"arrow-up": {
|
|
328
|
+
viewBox: "0 0 24 24",
|
|
329
|
+
fill: "none",
|
|
330
|
+
stroke: "currentColor",
|
|
331
|
+
strokeWidth: "2",
|
|
332
|
+
strokeLinecap: "round",
|
|
333
|
+
strokeLinejoin: "round",
|
|
334
|
+
body: `<path d="m5 12 7-7 7 7" />
|
|
335
|
+
<path d="M12 19V5" />`
|
|
336
|
+
},
|
|
337
|
+
badge: {
|
|
338
|
+
viewBox: "0 0 24 24",
|
|
339
|
+
fill: "none",
|
|
340
|
+
stroke: "currentColor",
|
|
341
|
+
strokeWidth: "2",
|
|
342
|
+
strokeLinecap: "round",
|
|
343
|
+
strokeLinejoin: "round",
|
|
344
|
+
body: '<path d="M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z" />'
|
|
345
|
+
},
|
|
346
|
+
battery: {
|
|
347
|
+
viewBox: "0 0 24 24",
|
|
348
|
+
fill: "none",
|
|
349
|
+
stroke: "currentColor",
|
|
350
|
+
strokeWidth: "2",
|
|
351
|
+
strokeLinecap: "round",
|
|
352
|
+
strokeLinejoin: "round",
|
|
353
|
+
body: `<path d="M 22 14 L 22 10" />
|
|
354
|
+
<rect x="2" y="6" width="16" height="12" rx="2" />`
|
|
355
|
+
},
|
|
356
|
+
bell: {
|
|
357
|
+
viewBox: "0 0 24 24",
|
|
358
|
+
fill: "none",
|
|
359
|
+
stroke: "currentColor",
|
|
360
|
+
strokeWidth: "2",
|
|
361
|
+
strokeLinecap: "round",
|
|
362
|
+
strokeLinejoin: "round",
|
|
363
|
+
body: `<path d="M10.268 21a2 2 0 0 0 3.464 0" />
|
|
364
|
+
<path d="M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326" />`
|
|
365
|
+
},
|
|
366
|
+
bluetooth: {
|
|
367
|
+
viewBox: "0 0 24 24",
|
|
368
|
+
fill: "none",
|
|
369
|
+
stroke: "currentColor",
|
|
370
|
+
strokeWidth: "2",
|
|
371
|
+
strokeLinecap: "round",
|
|
372
|
+
strokeLinejoin: "round",
|
|
373
|
+
body: '<path d="m7 7 10 10-5 5V2l5 5L7 17" />'
|
|
374
|
+
},
|
|
375
|
+
book: {
|
|
376
|
+
viewBox: "0 0 24 24",
|
|
377
|
+
fill: "none",
|
|
378
|
+
stroke: "currentColor",
|
|
379
|
+
strokeWidth: "2",
|
|
380
|
+
strokeLinecap: "round",
|
|
381
|
+
strokeLinejoin: "round",
|
|
382
|
+
body: `<path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20" />
|
|
383
|
+
<path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z" />`
|
|
384
|
+
},
|
|
385
|
+
box: {
|
|
386
|
+
viewBox: "0 0 24 24",
|
|
387
|
+
fill: "none",
|
|
388
|
+
stroke: "currentColor",
|
|
389
|
+
strokeWidth: "2",
|
|
390
|
+
strokeLinecap: "round",
|
|
391
|
+
strokeLinejoin: "round",
|
|
392
|
+
body: `<path d="M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z" />
|
|
393
|
+
<path d="m3.3 7 8.7 5 8.7-5" />
|
|
394
|
+
<path d="M12 22V12" />`
|
|
395
|
+
},
|
|
396
|
+
calendar: {
|
|
397
|
+
viewBox: "0 0 24 24",
|
|
398
|
+
fill: "none",
|
|
399
|
+
stroke: "currentColor",
|
|
400
|
+
strokeWidth: "2",
|
|
401
|
+
strokeLinecap: "round",
|
|
402
|
+
strokeLinejoin: "round",
|
|
403
|
+
body: `<path d="M8 2v4" />
|
|
404
|
+
<path d="M16 2v4" />
|
|
405
|
+
<rect width="18" height="18" x="3" y="4" rx="2" />
|
|
406
|
+
<path d="M3 10h18" />`
|
|
407
|
+
},
|
|
408
|
+
camera: {
|
|
409
|
+
viewBox: "0 0 24 24",
|
|
410
|
+
fill: "none",
|
|
411
|
+
stroke: "currentColor",
|
|
412
|
+
strokeWidth: "2",
|
|
413
|
+
strokeLinecap: "round",
|
|
414
|
+
strokeLinejoin: "round",
|
|
415
|
+
body: `<path d="M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z" />
|
|
416
|
+
<circle cx="12" cy="13" r="3" />`
|
|
417
|
+
},
|
|
418
|
+
"check-square": {
|
|
419
|
+
viewBox: "0 0 24 24",
|
|
420
|
+
fill: "none",
|
|
421
|
+
stroke: "currentColor",
|
|
422
|
+
strokeWidth: "2",
|
|
423
|
+
strokeLinecap: "round",
|
|
424
|
+
strokeLinejoin: "round",
|
|
425
|
+
body: `<path d="M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344" />
|
|
426
|
+
<path d="m9 11 3 3L22 4" />`
|
|
427
|
+
},
|
|
428
|
+
check: {
|
|
429
|
+
viewBox: "0 0 24 24",
|
|
430
|
+
fill: "none",
|
|
431
|
+
stroke: "currentColor",
|
|
432
|
+
strokeWidth: "2",
|
|
433
|
+
strokeLinecap: "round",
|
|
434
|
+
strokeLinejoin: "round",
|
|
435
|
+
body: '<path d="M20 6 9 17l-5-5" />'
|
|
436
|
+
},
|
|
437
|
+
"chevron-down": {
|
|
438
|
+
viewBox: "0 0 24 24",
|
|
439
|
+
fill: "none",
|
|
440
|
+
stroke: "currentColor",
|
|
441
|
+
strokeWidth: "2",
|
|
442
|
+
strokeLinecap: "round",
|
|
443
|
+
strokeLinejoin: "round",
|
|
444
|
+
body: '<path d="m6 9 6 6 6-6" />'
|
|
445
|
+
},
|
|
446
|
+
"chevron-left": {
|
|
447
|
+
viewBox: "0 0 24 24",
|
|
448
|
+
fill: "none",
|
|
449
|
+
stroke: "currentColor",
|
|
450
|
+
strokeWidth: "2",
|
|
451
|
+
strokeLinecap: "round",
|
|
452
|
+
strokeLinejoin: "round",
|
|
453
|
+
body: '<path d="m15 18-6-6 6-6" />'
|
|
454
|
+
},
|
|
455
|
+
"chevron-right": {
|
|
456
|
+
viewBox: "0 0 24 24",
|
|
457
|
+
fill: "none",
|
|
458
|
+
stroke: "currentColor",
|
|
459
|
+
strokeWidth: "2",
|
|
460
|
+
strokeLinecap: "round",
|
|
461
|
+
strokeLinejoin: "round",
|
|
462
|
+
body: '<path d="m9 18 6-6-6-6" />'
|
|
463
|
+
},
|
|
464
|
+
"chevron-up": {
|
|
465
|
+
viewBox: "0 0 24 24",
|
|
466
|
+
fill: "none",
|
|
467
|
+
stroke: "currentColor",
|
|
468
|
+
strokeWidth: "2",
|
|
469
|
+
strokeLinecap: "round",
|
|
470
|
+
strokeLinejoin: "round",
|
|
471
|
+
body: '<path d="m18 15-6-6-6 6" />'
|
|
472
|
+
},
|
|
473
|
+
chevron: {
|
|
474
|
+
viewBox: "0 0 24 24",
|
|
475
|
+
fill: "none",
|
|
476
|
+
stroke: "currentColor",
|
|
477
|
+
strokeWidth: "2",
|
|
478
|
+
strokeLinecap: "round",
|
|
479
|
+
strokeLinejoin: "round",
|
|
480
|
+
body: '<path d="m9 18 6-6-6-6" />'
|
|
481
|
+
},
|
|
482
|
+
"circle-dot": {
|
|
483
|
+
viewBox: "0 0 24 24",
|
|
484
|
+
fill: "none",
|
|
485
|
+
stroke: "currentColor",
|
|
486
|
+
strokeWidth: "2",
|
|
487
|
+
strokeLinecap: "round",
|
|
488
|
+
strokeLinejoin: "round",
|
|
489
|
+
body: `<circle cx="12" cy="12" r="10" />
|
|
490
|
+
<circle cx="12" cy="12" r="1" />`
|
|
491
|
+
},
|
|
492
|
+
clock: {
|
|
493
|
+
viewBox: "0 0 24 24",
|
|
494
|
+
fill: "none",
|
|
495
|
+
stroke: "currentColor",
|
|
496
|
+
strokeWidth: "2",
|
|
497
|
+
strokeLinecap: "round",
|
|
498
|
+
strokeLinejoin: "round",
|
|
499
|
+
body: `<circle cx="12" cy="12" r="10" />
|
|
500
|
+
<path d="M12 6v6l4 2" />`
|
|
501
|
+
},
|
|
502
|
+
close: {
|
|
503
|
+
viewBox: "0 0 24 24",
|
|
504
|
+
fill: "none",
|
|
505
|
+
stroke: "currentColor",
|
|
506
|
+
strokeWidth: "2",
|
|
507
|
+
strokeLinecap: "round",
|
|
508
|
+
strokeLinejoin: "round",
|
|
509
|
+
body: `<path d="M18 6 6 18" />
|
|
510
|
+
<path d="m6 6 12 12" />`
|
|
511
|
+
},
|
|
512
|
+
cloud: {
|
|
513
|
+
viewBox: "0 0 24 24",
|
|
514
|
+
fill: "none",
|
|
515
|
+
stroke: "currentColor",
|
|
516
|
+
strokeWidth: "2",
|
|
517
|
+
strokeLinecap: "round",
|
|
518
|
+
strokeLinejoin: "round",
|
|
519
|
+
body: '<path d="M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z" />'
|
|
520
|
+
},
|
|
521
|
+
code: {
|
|
522
|
+
viewBox: "0 0 24 24",
|
|
523
|
+
fill: "none",
|
|
524
|
+
stroke: "currentColor",
|
|
525
|
+
strokeWidth: "2",
|
|
526
|
+
strokeLinecap: "round",
|
|
527
|
+
strokeLinejoin: "round",
|
|
528
|
+
body: '<path d="m10 9-3 3 3 3"/><path d="m14 15 3-3-3-3"/><rect x="3" y="3" width="18" height="18" rx="2"/>'
|
|
529
|
+
},
|
|
530
|
+
component: {
|
|
531
|
+
viewBox: "0 0 24 24",
|
|
532
|
+
fill: "none",
|
|
533
|
+
stroke: "currentColor",
|
|
534
|
+
strokeWidth: "2",
|
|
535
|
+
strokeLinecap: "round",
|
|
536
|
+
strokeLinejoin: "round",
|
|
537
|
+
body: `<path d="M15.536 11.293a1 1 0 0 0 0 1.414l2.376 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z" />
|
|
538
|
+
<path d="M2.297 11.293a1 1 0 0 0 0 1.414l2.377 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414L6.088 8.916a1 1 0 0 0-1.414 0z" />
|
|
539
|
+
<path d="M8.916 17.912a1 1 0 0 0 0 1.415l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.415l-2.377-2.376a1 1 0 0 0-1.414 0z" />
|
|
540
|
+
<path d="M8.916 4.674a1 1 0 0 0 0 1.414l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z" />`
|
|
541
|
+
},
|
|
542
|
+
copy: {
|
|
543
|
+
viewBox: "0 0 24 24",
|
|
544
|
+
fill: "none",
|
|
545
|
+
stroke: "currentColor",
|
|
546
|
+
strokeWidth: "2",
|
|
547
|
+
strokeLinecap: "round",
|
|
548
|
+
strokeLinejoin: "round",
|
|
549
|
+
body: `<rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
|
|
550
|
+
<path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" />`
|
|
551
|
+
},
|
|
552
|
+
"credit-card": {
|
|
553
|
+
viewBox: "0 0 24 24",
|
|
554
|
+
fill: "none",
|
|
555
|
+
stroke: "currentColor",
|
|
556
|
+
strokeWidth: "2",
|
|
557
|
+
strokeLinecap: "round",
|
|
558
|
+
strokeLinejoin: "round",
|
|
559
|
+
body: `<rect width="20" height="14" x="2" y="5" rx="2" />
|
|
560
|
+
<line x1="2" x2="22" y1="10" y2="10" />`
|
|
561
|
+
},
|
|
562
|
+
database: {
|
|
563
|
+
viewBox: "0 0 24 24",
|
|
564
|
+
fill: "none",
|
|
565
|
+
stroke: "currentColor",
|
|
566
|
+
strokeWidth: "2",
|
|
567
|
+
strokeLinecap: "round",
|
|
568
|
+
strokeLinejoin: "round",
|
|
569
|
+
body: `<ellipse cx="12" cy="5" rx="9" ry="3" />
|
|
570
|
+
<path d="M3 5V19A9 3 0 0 0 21 19V5" />
|
|
571
|
+
<path d="M3 12A9 3 0 0 0 21 12" />`
|
|
572
|
+
},
|
|
573
|
+
download: {
|
|
574
|
+
viewBox: "0 0 24 24",
|
|
575
|
+
fill: "none",
|
|
576
|
+
stroke: "currentColor",
|
|
577
|
+
strokeWidth: "2",
|
|
578
|
+
strokeLinecap: "round",
|
|
579
|
+
strokeLinejoin: "round",
|
|
580
|
+
body: `<path d="M12 15V3" />
|
|
581
|
+
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" />
|
|
582
|
+
<path d="m7 10 5 5 5-5" />`
|
|
583
|
+
},
|
|
584
|
+
edit: {
|
|
585
|
+
viewBox: "0 0 24 24",
|
|
586
|
+
fill: "none",
|
|
587
|
+
stroke: "currentColor",
|
|
588
|
+
strokeWidth: "2",
|
|
589
|
+
strokeLinecap: "round",
|
|
590
|
+
strokeLinejoin: "round",
|
|
591
|
+
body: `<path d="M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" />
|
|
592
|
+
<path d="M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z" />`
|
|
593
|
+
},
|
|
594
|
+
"external-link": {
|
|
595
|
+
viewBox: "0 0 24 24",
|
|
596
|
+
fill: "none",
|
|
597
|
+
stroke: "currentColor",
|
|
598
|
+
strokeWidth: "2",
|
|
599
|
+
strokeLinecap: "round",
|
|
600
|
+
strokeLinejoin: "round",
|
|
601
|
+
body: `<path d="M15 3h6v6" />
|
|
602
|
+
<path d="M10 14 21 3" />
|
|
603
|
+
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" />`
|
|
604
|
+
},
|
|
605
|
+
"eye-off": {
|
|
606
|
+
viewBox: "0 0 24 24",
|
|
607
|
+
fill: "none",
|
|
608
|
+
stroke: "currentColor",
|
|
609
|
+
strokeWidth: "2",
|
|
610
|
+
strokeLinecap: "round",
|
|
611
|
+
strokeLinejoin: "round",
|
|
612
|
+
body: `<path d="M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49" />
|
|
613
|
+
<path d="M14.084 14.158a3 3 0 0 1-4.242-4.242" />
|
|
614
|
+
<path d="M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143" />
|
|
615
|
+
<path d="m2 2 20 20" />`
|
|
616
|
+
},
|
|
617
|
+
eye: {
|
|
618
|
+
viewBox: "0 0 24 24",
|
|
619
|
+
fill: "none",
|
|
620
|
+
stroke: "currentColor",
|
|
621
|
+
strokeWidth: "2",
|
|
622
|
+
strokeLinecap: "round",
|
|
623
|
+
strokeLinejoin: "round",
|
|
624
|
+
body: `<path d="M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" />
|
|
625
|
+
<circle cx="12" cy="12" r="3" />`
|
|
626
|
+
},
|
|
627
|
+
"file-text": {
|
|
628
|
+
viewBox: "0 0 24 24",
|
|
629
|
+
fill: "none",
|
|
630
|
+
stroke: "currentColor",
|
|
631
|
+
strokeWidth: "2",
|
|
632
|
+
strokeLinecap: "round",
|
|
633
|
+
strokeLinejoin: "round",
|
|
634
|
+
body: `<path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" />
|
|
635
|
+
<path d="M14 2v5a1 1 0 0 0 1 1h5" />
|
|
636
|
+
<path d="M10 9H8" />
|
|
637
|
+
<path d="M16 13H8" />
|
|
638
|
+
<path d="M16 17H8" />`
|
|
639
|
+
},
|
|
640
|
+
file: {
|
|
641
|
+
viewBox: "0 0 24 24",
|
|
642
|
+
fill: "none",
|
|
643
|
+
stroke: "currentColor",
|
|
644
|
+
strokeWidth: "2",
|
|
645
|
+
strokeLinecap: "round",
|
|
646
|
+
strokeLinejoin: "round",
|
|
647
|
+
body: `<path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" />
|
|
648
|
+
<path d="M14 2v5a1 1 0 0 0 1 1h5" />`
|
|
649
|
+
},
|
|
650
|
+
filter: {
|
|
651
|
+
viewBox: "0 0 24 24",
|
|
652
|
+
fill: "none",
|
|
653
|
+
stroke: "currentColor",
|
|
654
|
+
strokeWidth: "2",
|
|
655
|
+
strokeLinecap: "round",
|
|
656
|
+
strokeLinejoin: "round",
|
|
657
|
+
body: '<path d="M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z" />'
|
|
658
|
+
},
|
|
659
|
+
folder: {
|
|
660
|
+
viewBox: "0 0 24 24",
|
|
661
|
+
fill: "none",
|
|
662
|
+
stroke: "currentColor",
|
|
663
|
+
strokeWidth: "2",
|
|
664
|
+
strokeLinecap: "round",
|
|
665
|
+
strokeLinejoin: "round",
|
|
666
|
+
body: '<path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" />'
|
|
667
|
+
},
|
|
668
|
+
"form-input": {
|
|
669
|
+
viewBox: "0 0 24 24",
|
|
670
|
+
fill: "none",
|
|
671
|
+
stroke: "currentColor",
|
|
672
|
+
strokeWidth: "2",
|
|
673
|
+
strokeLinecap: "round",
|
|
674
|
+
strokeLinejoin: "round",
|
|
675
|
+
body: `<rect width="20" height="12" x="2" y="6" rx="2" />
|
|
676
|
+
<path d="M12 12h.01" />
|
|
677
|
+
<path d="M17 12h.01" />
|
|
678
|
+
<path d="M7 12h.01" />`
|
|
679
|
+
},
|
|
680
|
+
ghost: {
|
|
681
|
+
viewBox: "0 0 24 24",
|
|
682
|
+
fill: "none",
|
|
683
|
+
stroke: "currentColor",
|
|
684
|
+
strokeWidth: "2",
|
|
685
|
+
strokeLinecap: "round",
|
|
686
|
+
strokeLinejoin: "round",
|
|
687
|
+
body: `<path d="M9 10h.01" />
|
|
688
|
+
<path d="M15 10h.01" />
|
|
689
|
+
<path d="M12 2a8 8 0 0 0-8 8v12l3-3 2.5 2.5L12 19l2.5 2.5L17 19l3 3V10a8 8 0 0 0-8-8z" />`
|
|
690
|
+
},
|
|
691
|
+
gift: {
|
|
692
|
+
viewBox: "0 0 24 24",
|
|
693
|
+
fill: "none",
|
|
694
|
+
stroke: "currentColor",
|
|
695
|
+
strokeWidth: "2",
|
|
696
|
+
strokeLinecap: "round",
|
|
697
|
+
strokeLinejoin: "round",
|
|
698
|
+
body: `<path d="M12 7v14" />
|
|
699
|
+
<path d="M20 11v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8" />
|
|
700
|
+
<path d="M7.5 7a1 1 0 0 1 0-5A4.8 8 0 0 1 12 7a4.8 8 0 0 1 4.5-5 1 1 0 0 1 0 5" />
|
|
701
|
+
<rect x="3" y="7" width="18" height="4" rx="1" />`
|
|
702
|
+
},
|
|
703
|
+
"git-commit": {
|
|
704
|
+
viewBox: "0 0 24 24",
|
|
705
|
+
fill: "none",
|
|
706
|
+
stroke: "currentColor",
|
|
707
|
+
strokeWidth: "2",
|
|
708
|
+
strokeLinecap: "round",
|
|
709
|
+
strokeLinejoin: "round",
|
|
710
|
+
body: `<circle cx="12" cy="12" r="3" />
|
|
711
|
+
<line x1="3" x2="9" y1="12" y2="12" />
|
|
712
|
+
<line x1="15" x2="21" y1="12" y2="12" />`
|
|
713
|
+
},
|
|
714
|
+
github: {
|
|
715
|
+
viewBox: "0 0 24 24",
|
|
716
|
+
fill: "none",
|
|
717
|
+
stroke: "currentColor",
|
|
718
|
+
strokeWidth: "2",
|
|
719
|
+
strokeLinecap: "round",
|
|
720
|
+
strokeLinejoin: "round",
|
|
721
|
+
body: `<path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4" />
|
|
722
|
+
<path d="M9 18c-4.51 2-5-2-7-2" />`
|
|
723
|
+
},
|
|
724
|
+
grid: {
|
|
725
|
+
viewBox: "0 0 24 24",
|
|
726
|
+
fill: "none",
|
|
727
|
+
stroke: "currentColor",
|
|
728
|
+
strokeWidth: "2",
|
|
729
|
+
strokeLinecap: "round",
|
|
730
|
+
strokeLinejoin: "round",
|
|
731
|
+
body: `<rect width="18" height="18" x="3" y="3" rx="2" />
|
|
732
|
+
<path d="M3 9h18" />
|
|
733
|
+
<path d="M3 15h18" />
|
|
734
|
+
<path d="M9 3v18" />
|
|
735
|
+
<path d="M15 3v18" />`
|
|
736
|
+
},
|
|
737
|
+
grip: {
|
|
738
|
+
viewBox: "0 0 24 24",
|
|
739
|
+
fill: "none",
|
|
740
|
+
stroke: "currentColor",
|
|
741
|
+
strokeWidth: "2",
|
|
742
|
+
strokeLinecap: "round",
|
|
743
|
+
strokeLinejoin: "round",
|
|
744
|
+
body: '<circle cx="12" cy="5" r="1"/><circle cx="19" cy="5" r="1"/><circle cx="5" cy="5" r="1"/><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/><circle cx="5" cy="12" r="1"/><circle cx="12" cy="19" r="1"/><circle cx="19" cy="19" r="1"/><circle cx="5" cy="19" r="1"/>'
|
|
745
|
+
},
|
|
746
|
+
heading1: {
|
|
747
|
+
viewBox: "0 0 24 24",
|
|
748
|
+
fill: "none",
|
|
749
|
+
stroke: "currentColor",
|
|
750
|
+
strokeWidth: "2",
|
|
751
|
+
strokeLinecap: "round",
|
|
752
|
+
strokeLinejoin: "round",
|
|
753
|
+
body: `<path d="M4 12h8" />
|
|
754
|
+
<path d="M4 18V6" />
|
|
755
|
+
<path d="M12 18V6" />
|
|
756
|
+
<path d="m17 12 3-2v8" />`
|
|
757
|
+
},
|
|
758
|
+
heart: {
|
|
759
|
+
viewBox: "0 0 24 24",
|
|
760
|
+
fill: "none",
|
|
761
|
+
stroke: "currentColor",
|
|
762
|
+
strokeWidth: "2",
|
|
763
|
+
strokeLinecap: "round",
|
|
764
|
+
strokeLinejoin: "round",
|
|
765
|
+
body: '<path d="M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5" />'
|
|
766
|
+
},
|
|
767
|
+
"help-circle": {
|
|
768
|
+
viewBox: "0 0 24 24",
|
|
769
|
+
fill: "none",
|
|
770
|
+
stroke: "currentColor",
|
|
771
|
+
strokeWidth: "2",
|
|
772
|
+
strokeLinecap: "round",
|
|
773
|
+
strokeLinejoin: "round",
|
|
774
|
+
body: `<circle cx="12" cy="12" r="10" />
|
|
775
|
+
<path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" />
|
|
776
|
+
<path d="M12 17h.01" />`
|
|
777
|
+
},
|
|
778
|
+
history: {
|
|
779
|
+
viewBox: "0 0 24 24",
|
|
780
|
+
fill: "none",
|
|
781
|
+
stroke: "currentColor",
|
|
782
|
+
strokeWidth: "2",
|
|
783
|
+
strokeLinecap: "round",
|
|
784
|
+
strokeLinejoin: "round",
|
|
785
|
+
body: `<path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" />
|
|
786
|
+
<path d="M3 3v5h5" />
|
|
787
|
+
<path d="M12 7v5l4 2" />`
|
|
788
|
+
},
|
|
789
|
+
home: {
|
|
790
|
+
viewBox: "0 0 24 24",
|
|
791
|
+
fill: "none",
|
|
792
|
+
stroke: "currentColor",
|
|
793
|
+
strokeWidth: "2",
|
|
794
|
+
strokeLinecap: "round",
|
|
795
|
+
strokeLinejoin: "round",
|
|
796
|
+
body: `<path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8" />
|
|
797
|
+
<path d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" />`
|
|
798
|
+
},
|
|
799
|
+
image: {
|
|
800
|
+
viewBox: "0 0 24 24",
|
|
801
|
+
fill: "none",
|
|
802
|
+
stroke: "currentColor",
|
|
803
|
+
strokeWidth: "2",
|
|
804
|
+
strokeLinecap: "round",
|
|
805
|
+
strokeLinejoin: "round",
|
|
806
|
+
body: `<rect width="18" height="18" x="3" y="3" rx="2" ry="2" />
|
|
807
|
+
<circle cx="9" cy="9" r="2" />
|
|
808
|
+
<path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" />`
|
|
809
|
+
},
|
|
810
|
+
info: {
|
|
811
|
+
viewBox: "0 0 24 24",
|
|
812
|
+
fill: "none",
|
|
813
|
+
stroke: "currentColor",
|
|
814
|
+
strokeWidth: "2",
|
|
815
|
+
strokeLinecap: "round",
|
|
816
|
+
strokeLinejoin: "round",
|
|
817
|
+
body: `<circle cx="12" cy="12" r="10" />
|
|
818
|
+
<path d="M12 16v-4" />
|
|
819
|
+
<path d="M12 8h.01" />`
|
|
820
|
+
},
|
|
821
|
+
lab: {
|
|
822
|
+
viewBox: "0 0 24 24",
|
|
823
|
+
fill: "none",
|
|
824
|
+
stroke: "currentColor",
|
|
825
|
+
strokeWidth: "2",
|
|
826
|
+
strokeLinecap: "round",
|
|
827
|
+
strokeLinejoin: "round",
|
|
828
|
+
body: `<path d="M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2" />
|
|
829
|
+
<path d="M6.453 15h11.094" />
|
|
830
|
+
<path d="M8.5 2h7" />`
|
|
831
|
+
},
|
|
832
|
+
laptop: {
|
|
833
|
+
viewBox: "0 0 24 24",
|
|
834
|
+
fill: "none",
|
|
835
|
+
stroke: "currentColor",
|
|
836
|
+
strokeWidth: "2",
|
|
837
|
+
strokeLinecap: "round",
|
|
838
|
+
strokeLinejoin: "round",
|
|
839
|
+
body: `<path d="M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z" />
|
|
840
|
+
<path d="M20.054 15.987H3.946" />`
|
|
841
|
+
},
|
|
842
|
+
"layout-template": {
|
|
843
|
+
viewBox: "0 0 24 24",
|
|
844
|
+
fill: "none",
|
|
845
|
+
stroke: "currentColor",
|
|
846
|
+
strokeWidth: "2",
|
|
847
|
+
strokeLinecap: "round",
|
|
848
|
+
strokeLinejoin: "round",
|
|
849
|
+
body: `<rect width="18" height="7" x="3" y="3" rx="1" />
|
|
850
|
+
<rect width="9" height="7" x="3" y="14" rx="1" />
|
|
851
|
+
<rect width="5" height="7" x="16" y="14" rx="1" />`
|
|
852
|
+
},
|
|
853
|
+
layout: {
|
|
854
|
+
viewBox: "0 0 24 24",
|
|
855
|
+
fill: "none",
|
|
856
|
+
stroke: "currentColor",
|
|
857
|
+
strokeWidth: "2",
|
|
858
|
+
strokeLinecap: "round",
|
|
859
|
+
strokeLinejoin: "round",
|
|
860
|
+
body: `<rect x="3" y="3" width="18" height="18" rx="2" />
|
|
861
|
+
<line x1="9" y1="3" x2="9" y2="21" />
|
|
862
|
+
<line x1="9" y1="9" x2="21" y2="9" />`
|
|
863
|
+
},
|
|
864
|
+
link: {
|
|
865
|
+
viewBox: "0 0 24 24",
|
|
866
|
+
fill: "none",
|
|
867
|
+
stroke: "currentColor",
|
|
868
|
+
strokeWidth: "2",
|
|
869
|
+
strokeLinecap: "round",
|
|
870
|
+
strokeLinejoin: "round",
|
|
871
|
+
body: `<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" />
|
|
872
|
+
<path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" />`
|
|
873
|
+
},
|
|
874
|
+
linkedin: {
|
|
875
|
+
viewBox: "0 0 24 24",
|
|
876
|
+
fill: "none",
|
|
877
|
+
stroke: "currentColor",
|
|
878
|
+
strokeWidth: "2",
|
|
879
|
+
strokeLinecap: "round",
|
|
880
|
+
strokeLinejoin: "round",
|
|
881
|
+
body: `<path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z" />
|
|
882
|
+
<rect width="4" height="12" x="2" y="9" />
|
|
883
|
+
<circle cx="4" cy="4" r="2" />`
|
|
884
|
+
},
|
|
885
|
+
"list-checks": {
|
|
886
|
+
viewBox: "0 0 24 24",
|
|
887
|
+
fill: "none",
|
|
888
|
+
stroke: "currentColor",
|
|
889
|
+
strokeWidth: "2",
|
|
890
|
+
strokeLinecap: "round",
|
|
891
|
+
strokeLinejoin: "round",
|
|
892
|
+
body: `<path d="M13 5h8" />
|
|
893
|
+
<path d="M13 12h8" />
|
|
894
|
+
<path d="M13 19h8" />
|
|
895
|
+
<path d="m3 17 2 2 4-4" />
|
|
896
|
+
<path d="m3 7 2 2 4-4" />`
|
|
897
|
+
},
|
|
898
|
+
"list-collapse": {
|
|
899
|
+
viewBox: "0 0 24 24",
|
|
900
|
+
fill: "none",
|
|
901
|
+
stroke: "currentColor",
|
|
902
|
+
strokeWidth: "2",
|
|
903
|
+
strokeLinecap: "round",
|
|
904
|
+
strokeLinejoin: "round",
|
|
905
|
+
body: `<path d="M10 5h11" />
|
|
906
|
+
<path d="M10 12h11" />
|
|
907
|
+
<path d="M10 19h11" />
|
|
908
|
+
<path d="m3 10 3-3-3-3" />
|
|
909
|
+
<path d="m3 20 3-3-3-3" />`
|
|
910
|
+
},
|
|
911
|
+
"list-filter": {
|
|
912
|
+
viewBox: "0 0 24 24",
|
|
913
|
+
fill: "none",
|
|
914
|
+
stroke: "currentColor",
|
|
915
|
+
strokeWidth: "2",
|
|
916
|
+
strokeLinecap: "round",
|
|
917
|
+
strokeLinejoin: "round",
|
|
918
|
+
body: `<path d="M2 5h20" />
|
|
919
|
+
<path d="M6 12h12" />
|
|
920
|
+
<path d="M9 19h6" />`
|
|
921
|
+
},
|
|
922
|
+
list: {
|
|
923
|
+
viewBox: "0 0 24 24",
|
|
924
|
+
fill: "none",
|
|
925
|
+
stroke: "currentColor",
|
|
926
|
+
strokeWidth: "2",
|
|
927
|
+
strokeLinecap: "round",
|
|
928
|
+
strokeLinejoin: "round",
|
|
929
|
+
body: `<path d="M3 5h.01" />
|
|
930
|
+
<path d="M3 12h.01" />
|
|
931
|
+
<path d="M3 19h.01" />
|
|
932
|
+
<path d="M8 5h13" />
|
|
933
|
+
<path d="M8 12h13" />
|
|
934
|
+
<path d="M8 19h13" />`
|
|
935
|
+
},
|
|
936
|
+
loader2: {
|
|
937
|
+
viewBox: "0 0 24 24",
|
|
938
|
+
fill: "none",
|
|
939
|
+
stroke: "currentColor",
|
|
940
|
+
strokeWidth: "2",
|
|
941
|
+
strokeLinecap: "round",
|
|
942
|
+
strokeLinejoin: "round",
|
|
943
|
+
body: '<path d="M21 12a9 9 0 1 1-6.219-8.56" />'
|
|
944
|
+
},
|
|
945
|
+
lock: {
|
|
946
|
+
viewBox: "0 0 24 24",
|
|
947
|
+
fill: "none",
|
|
948
|
+
stroke: "currentColor",
|
|
949
|
+
strokeWidth: "2",
|
|
950
|
+
strokeLinecap: "round",
|
|
951
|
+
strokeLinejoin: "round",
|
|
952
|
+
body: `<rect width="18" height="11" x="3" y="11" rx="2" ry="2" />
|
|
953
|
+
<path d="M7 11V7a5 5 0 0 1 10 0v4" />`
|
|
954
|
+
},
|
|
955
|
+
"log-in": {
|
|
956
|
+
viewBox: "0 0 24 24",
|
|
957
|
+
fill: "none",
|
|
958
|
+
stroke: "currentColor",
|
|
959
|
+
strokeWidth: "2",
|
|
960
|
+
strokeLinecap: "round",
|
|
961
|
+
strokeLinejoin: "round",
|
|
962
|
+
body: `<path d="m10 17 5-5-5-5" />
|
|
963
|
+
<path d="M15 12H3" />
|
|
964
|
+
<path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4" />`
|
|
965
|
+
},
|
|
966
|
+
"log-out": {
|
|
967
|
+
viewBox: "0 0 24 24",
|
|
968
|
+
fill: "none",
|
|
969
|
+
stroke: "currentColor",
|
|
970
|
+
strokeWidth: "2",
|
|
971
|
+
strokeLinecap: "round",
|
|
972
|
+
strokeLinejoin: "round",
|
|
973
|
+
body: `<path d="m16 17 5-5-5-5" />
|
|
974
|
+
<path d="M21 12H9" />
|
|
975
|
+
<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" />`
|
|
976
|
+
},
|
|
977
|
+
mail: {
|
|
978
|
+
viewBox: "0 0 24 24",
|
|
979
|
+
fill: "none",
|
|
980
|
+
stroke: "currentColor",
|
|
981
|
+
strokeWidth: "2",
|
|
982
|
+
strokeLinecap: "round",
|
|
983
|
+
strokeLinejoin: "round",
|
|
984
|
+
body: `<path d="m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7" />
|
|
985
|
+
<rect x="2" y="4" width="20" height="16" rx="2" />`
|
|
986
|
+
},
|
|
987
|
+
"map-pin": {
|
|
988
|
+
viewBox: "0 0 24 24",
|
|
989
|
+
fill: "none",
|
|
990
|
+
stroke: "currentColor",
|
|
991
|
+
strokeWidth: "2",
|
|
992
|
+
strokeLinecap: "round",
|
|
993
|
+
strokeLinejoin: "round",
|
|
994
|
+
body: `<path d="M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0" />
|
|
995
|
+
<circle cx="12" cy="10" r="3" />`
|
|
996
|
+
},
|
|
997
|
+
menu: {
|
|
998
|
+
viewBox: "0 0 24 24",
|
|
999
|
+
fill: "none",
|
|
1000
|
+
stroke: "currentColor",
|
|
1001
|
+
strokeWidth: "2",
|
|
1002
|
+
strokeLinecap: "round",
|
|
1003
|
+
strokeLinejoin: "round",
|
|
1004
|
+
body: `<path d="M4 5h16" />
|
|
1005
|
+
<path d="M4 12h16" />
|
|
1006
|
+
<path d="M4 19h16" />`
|
|
1007
|
+
},
|
|
1008
|
+
"message-circle": {
|
|
1009
|
+
viewBox: "0 0 24 24",
|
|
1010
|
+
fill: "none",
|
|
1011
|
+
stroke: "currentColor",
|
|
1012
|
+
strokeWidth: "2",
|
|
1013
|
+
strokeLinecap: "round",
|
|
1014
|
+
strokeLinejoin: "round",
|
|
1015
|
+
body: '<path d="M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719" />'
|
|
1016
|
+
},
|
|
1017
|
+
"message-square": {
|
|
1018
|
+
viewBox: "0 0 24 24",
|
|
1019
|
+
fill: "none",
|
|
1020
|
+
stroke: "currentColor",
|
|
1021
|
+
strokeWidth: "2",
|
|
1022
|
+
strokeLinecap: "round",
|
|
1023
|
+
strokeLinejoin: "round",
|
|
1024
|
+
body: '<path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z" />'
|
|
1025
|
+
},
|
|
1026
|
+
mic: {
|
|
1027
|
+
viewBox: "0 0 24 24",
|
|
1028
|
+
fill: "none",
|
|
1029
|
+
stroke: "currentColor",
|
|
1030
|
+
strokeWidth: "2",
|
|
1031
|
+
strokeLinecap: "round",
|
|
1032
|
+
strokeLinejoin: "round",
|
|
1033
|
+
body: `<path d="M12 19v3" />
|
|
1034
|
+
<path d="M19 10v2a7 7 0 0 1-14 0v-2" />
|
|
1035
|
+
<rect x="9" y="2" width="6" height="13" rx="3" />`
|
|
1036
|
+
},
|
|
1037
|
+
milestone: {
|
|
1038
|
+
viewBox: "0 0 24 24",
|
|
1039
|
+
fill: "none",
|
|
1040
|
+
stroke: "currentColor",
|
|
1041
|
+
strokeWidth: "2",
|
|
1042
|
+
strokeLinecap: "round",
|
|
1043
|
+
strokeLinejoin: "round",
|
|
1044
|
+
body: `<path d="M12 13v8" />
|
|
1045
|
+
<path d="M12 3v3" />
|
|
1046
|
+
<path d="M4 6a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h13a2 2 0 0 0 1.152-.365l3.424-2.317a1 1 0 0 0 0-1.635l-3.424-2.318A2 2 0 0 0 17 6z" />`
|
|
1047
|
+
},
|
|
1048
|
+
minus: {
|
|
1049
|
+
viewBox: "0 0 24 24",
|
|
1050
|
+
fill: "none",
|
|
1051
|
+
stroke: "currentColor",
|
|
1052
|
+
strokeWidth: "2",
|
|
1053
|
+
strokeLinecap: "round",
|
|
1054
|
+
strokeLinejoin: "round",
|
|
1055
|
+
body: '<path d="M5 12h14" />'
|
|
1056
|
+
},
|
|
1057
|
+
monitor: {
|
|
1058
|
+
viewBox: "0 0 24 24",
|
|
1059
|
+
fill: "none",
|
|
1060
|
+
stroke: "currentColor",
|
|
1061
|
+
strokeWidth: "2",
|
|
1062
|
+
strokeLinecap: "round",
|
|
1063
|
+
strokeLinejoin: "round",
|
|
1064
|
+
body: `<rect width="20" height="14" x="2" y="3" rx="2" />
|
|
1065
|
+
<line x1="8" x2="16" y1="21" y2="21" />
|
|
1066
|
+
<line x1="12" x2="12" y1="17" y2="21" />`
|
|
1067
|
+
},
|
|
1068
|
+
moon: {
|
|
1069
|
+
viewBox: "0 0 24 24",
|
|
1070
|
+
fill: "none",
|
|
1071
|
+
stroke: "currentColor",
|
|
1072
|
+
strokeWidth: "2",
|
|
1073
|
+
strokeLinecap: "round",
|
|
1074
|
+
strokeLinejoin: "round",
|
|
1075
|
+
body: '<path d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401" />'
|
|
1076
|
+
},
|
|
1077
|
+
"more-horizontal": {
|
|
1078
|
+
viewBox: "0 0 24 24",
|
|
1079
|
+
fill: "none",
|
|
1080
|
+
stroke: "currentColor",
|
|
1081
|
+
strokeWidth: "2",
|
|
1082
|
+
strokeLinecap: "round",
|
|
1083
|
+
strokeLinejoin: "round",
|
|
1084
|
+
body: `<circle cx="12" cy="12" r="1" />
|
|
1085
|
+
<circle cx="19" cy="12" r="1" />
|
|
1086
|
+
<circle cx="5" cy="12" r="1" />`
|
|
1087
|
+
},
|
|
1088
|
+
"mouse-pointer": {
|
|
1089
|
+
viewBox: "0 0 24 24",
|
|
1090
|
+
fill: "none",
|
|
1091
|
+
stroke: "currentColor",
|
|
1092
|
+
strokeWidth: "2",
|
|
1093
|
+
strokeLinecap: "round",
|
|
1094
|
+
strokeLinejoin: "round",
|
|
1095
|
+
body: `<path d="M14 4.1 12 6" />
|
|
1096
|
+
<path d="m5.1 8-2.9-.8" />
|
|
1097
|
+
<path d="m6 12-1.9 2" />
|
|
1098
|
+
<path d="M7.2 2.2 8 5.1" />
|
|
1099
|
+
<path d="M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z" />`
|
|
1100
|
+
},
|
|
1101
|
+
music: {
|
|
1102
|
+
viewBox: "0 0 24 24",
|
|
1103
|
+
fill: "none",
|
|
1104
|
+
stroke: "currentColor",
|
|
1105
|
+
strokeWidth: "2",
|
|
1106
|
+
strokeLinecap: "round",
|
|
1107
|
+
strokeLinejoin: "round",
|
|
1108
|
+
body: `<path d="M9 18V5l12-2v13" />
|
|
1109
|
+
<circle cx="6" cy="18" r="3" />
|
|
1110
|
+
<circle cx="18" cy="16" r="3" />`
|
|
1111
|
+
},
|
|
1112
|
+
"panel-left": {
|
|
1113
|
+
viewBox: "0 0 24 24",
|
|
1114
|
+
fill: "none",
|
|
1115
|
+
stroke: "currentColor",
|
|
1116
|
+
strokeWidth: "2",
|
|
1117
|
+
strokeLinecap: "round",
|
|
1118
|
+
strokeLinejoin: "round",
|
|
1119
|
+
body: `<rect width="18" height="18" x="3" y="3" rx="2" />
|
|
1120
|
+
<path d="M9 3v18" />`
|
|
1121
|
+
},
|
|
1122
|
+
"panel-top": {
|
|
1123
|
+
viewBox: "0 0 24 24",
|
|
1124
|
+
fill: "none",
|
|
1125
|
+
stroke: "currentColor",
|
|
1126
|
+
strokeWidth: "2",
|
|
1127
|
+
strokeLinecap: "round",
|
|
1128
|
+
strokeLinejoin: "round",
|
|
1129
|
+
body: `<rect width="18" height="18" x="3" y="3" rx="2" />
|
|
1130
|
+
<path d="M3 9h18" />`
|
|
1131
|
+
},
|
|
1132
|
+
panel: {
|
|
1133
|
+
viewBox: "0 0 24 24",
|
|
1134
|
+
fill: "none",
|
|
1135
|
+
stroke: "currentColor",
|
|
1136
|
+
strokeWidth: "2",
|
|
1137
|
+
strokeLinecap: "round",
|
|
1138
|
+
strokeLinejoin: "round",
|
|
1139
|
+
body: '<rect width="18" height="18" x="3" y="3" rx="2"/><path d="M12 3v18"/>'
|
|
1140
|
+
},
|
|
1141
|
+
phone: {
|
|
1142
|
+
viewBox: "0 0 24 24",
|
|
1143
|
+
fill: "none",
|
|
1144
|
+
stroke: "currentColor",
|
|
1145
|
+
strokeWidth: "2",
|
|
1146
|
+
strokeLinecap: "round",
|
|
1147
|
+
strokeLinejoin: "round",
|
|
1148
|
+
body: '<path d="M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384" />'
|
|
1149
|
+
},
|
|
1150
|
+
plus: {
|
|
1151
|
+
viewBox: "0 0 24 24",
|
|
1152
|
+
fill: "none",
|
|
1153
|
+
stroke: "currentColor",
|
|
1154
|
+
strokeWidth: "2",
|
|
1155
|
+
strokeLinecap: "round",
|
|
1156
|
+
strokeLinejoin: "round",
|
|
1157
|
+
body: `<path d="M5 12h14" />
|
|
1158
|
+
<path d="M12 5v14" />`
|
|
1159
|
+
},
|
|
1160
|
+
"rectangle-horizontal": {
|
|
1161
|
+
viewBox: "0 0 24 24",
|
|
1162
|
+
fill: "none",
|
|
1163
|
+
stroke: "currentColor",
|
|
1164
|
+
strokeWidth: "2",
|
|
1165
|
+
strokeLinecap: "round",
|
|
1166
|
+
strokeLinejoin: "round",
|
|
1167
|
+
body: '<rect width="20" height="12" x="2" y="6" rx="2" />'
|
|
1168
|
+
},
|
|
1169
|
+
refresh: {
|
|
1170
|
+
viewBox: "0 0 24 24",
|
|
1171
|
+
fill: "none",
|
|
1172
|
+
stroke: "currentColor",
|
|
1173
|
+
strokeWidth: "2",
|
|
1174
|
+
strokeLinecap: "round",
|
|
1175
|
+
strokeLinejoin: "round",
|
|
1176
|
+
body: `<path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8" />
|
|
1177
|
+
<path d="M21 3v5h-5" />
|
|
1178
|
+
<path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16" />
|
|
1179
|
+
<path d="M8 16H3v5" />`
|
|
1180
|
+
},
|
|
1181
|
+
rocket: {
|
|
1182
|
+
viewBox: "0 0 24 24",
|
|
1183
|
+
fill: "none",
|
|
1184
|
+
stroke: "currentColor",
|
|
1185
|
+
strokeWidth: "2",
|
|
1186
|
+
strokeLinecap: "round",
|
|
1187
|
+
strokeLinejoin: "round",
|
|
1188
|
+
body: `<path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5" />
|
|
1189
|
+
<path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09" />
|
|
1190
|
+
<path d="M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z" />
|
|
1191
|
+
<path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05" />`
|
|
1192
|
+
},
|
|
1193
|
+
ruler: {
|
|
1194
|
+
viewBox: "0 0 24 24",
|
|
1195
|
+
fill: "none",
|
|
1196
|
+
stroke: "currentColor",
|
|
1197
|
+
strokeWidth: "2",
|
|
1198
|
+
strokeLinecap: "round",
|
|
1199
|
+
strokeLinejoin: "round",
|
|
1200
|
+
body: `<path d="M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z" />
|
|
1201
|
+
<path d="m14.5 12.5 2-2" />
|
|
1202
|
+
<path d="m11.5 9.5 2-2" />
|
|
1203
|
+
<path d="m8.5 6.5 2-2" />
|
|
1204
|
+
<path d="m17.5 15.5 2-2" />`
|
|
1205
|
+
},
|
|
1206
|
+
search: {
|
|
1207
|
+
viewBox: "0 0 24 24",
|
|
1208
|
+
fill: "none",
|
|
1209
|
+
stroke: "currentColor",
|
|
1210
|
+
strokeWidth: "2",
|
|
1211
|
+
strokeLinecap: "round",
|
|
1212
|
+
strokeLinejoin: "round",
|
|
1213
|
+
body: `<path d="m21 21-4.34-4.34" />
|
|
1214
|
+
<circle cx="11" cy="11" r="8" />`
|
|
1215
|
+
},
|
|
1216
|
+
server: {
|
|
1217
|
+
viewBox: "0 0 24 24",
|
|
1218
|
+
fill: "none",
|
|
1219
|
+
stroke: "currentColor",
|
|
1220
|
+
strokeWidth: "2",
|
|
1221
|
+
strokeLinecap: "round",
|
|
1222
|
+
strokeLinejoin: "round",
|
|
1223
|
+
body: `<rect width="20" height="8" x="2" y="2" rx="2" ry="2" />
|
|
1224
|
+
<rect width="20" height="8" x="2" y="14" rx="2" ry="2" />
|
|
1225
|
+
<line x1="6" x2="6.01" y1="6" y2="6" />
|
|
1226
|
+
<line x1="6" x2="6.01" y1="18" y2="18" />`
|
|
1227
|
+
},
|
|
1228
|
+
settings: {
|
|
1229
|
+
viewBox: "0 0 24 24",
|
|
1230
|
+
fill: "none",
|
|
1231
|
+
stroke: "currentColor",
|
|
1232
|
+
strokeWidth: "2",
|
|
1233
|
+
strokeLinecap: "round",
|
|
1234
|
+
strokeLinejoin: "round",
|
|
1235
|
+
body: `<path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915" />
|
|
1236
|
+
<circle cx="12" cy="12" r="3" />`
|
|
1237
|
+
},
|
|
1238
|
+
share: {
|
|
1239
|
+
viewBox: "0 0 24 24",
|
|
1240
|
+
fill: "none",
|
|
1241
|
+
stroke: "currentColor",
|
|
1242
|
+
strokeWidth: "2",
|
|
1243
|
+
strokeLinecap: "round",
|
|
1244
|
+
strokeLinejoin: "round",
|
|
1245
|
+
body: `<path d="M12 2v13" />
|
|
1246
|
+
<path d="m16 6-4-4-4 4" />
|
|
1247
|
+
<path d="M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8" />`
|
|
1248
|
+
},
|
|
1249
|
+
shield: {
|
|
1250
|
+
viewBox: "0 0 24 24",
|
|
1251
|
+
fill: "none",
|
|
1252
|
+
stroke: "currentColor",
|
|
1253
|
+
strokeWidth: "2",
|
|
1254
|
+
strokeLinecap: "round",
|
|
1255
|
+
strokeLinejoin: "round",
|
|
1256
|
+
body: '<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" />'
|
|
1257
|
+
},
|
|
1258
|
+
"shopping-cart": {
|
|
1259
|
+
viewBox: "0 0 24 24",
|
|
1260
|
+
fill: "none",
|
|
1261
|
+
stroke: "currentColor",
|
|
1262
|
+
strokeWidth: "2",
|
|
1263
|
+
strokeLinecap: "round",
|
|
1264
|
+
strokeLinejoin: "round",
|
|
1265
|
+
body: `<circle cx="8" cy="21" r="1" />
|
|
1266
|
+
<circle cx="19" cy="21" r="1" />
|
|
1267
|
+
<path d="M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12" />`
|
|
1268
|
+
},
|
|
1269
|
+
"sliders-horizontal": {
|
|
1270
|
+
viewBox: "0 0 24 24",
|
|
1271
|
+
fill: "none",
|
|
1272
|
+
stroke: "currentColor",
|
|
1273
|
+
strokeWidth: "2",
|
|
1274
|
+
strokeLinecap: "round",
|
|
1275
|
+
strokeLinejoin: "round",
|
|
1276
|
+
body: `<path d="M10 5H3" />
|
|
1277
|
+
<path d="M12 19H3" />
|
|
1278
|
+
<path d="M14 3v4" />
|
|
1279
|
+
<path d="M16 17v4" />
|
|
1280
|
+
<path d="M21 12h-9" />
|
|
1281
|
+
<path d="M21 19h-5" />
|
|
1282
|
+
<path d="M21 5h-7" />
|
|
1283
|
+
<path d="M8 10v4" />
|
|
1284
|
+
<path d="M8 12H3" />`
|
|
1285
|
+
},
|
|
1286
|
+
smartphone: {
|
|
1287
|
+
viewBox: "0 0 24 24",
|
|
1288
|
+
fill: "none",
|
|
1289
|
+
stroke: "currentColor",
|
|
1290
|
+
strokeWidth: "2",
|
|
1291
|
+
strokeLinecap: "round",
|
|
1292
|
+
strokeLinejoin: "round",
|
|
1293
|
+
body: `<rect width="14" height="20" x="5" y="2" rx="2" ry="2" />
|
|
1294
|
+
<path d="M12 18h.01" />`
|
|
1295
|
+
},
|
|
1296
|
+
spark: {
|
|
1297
|
+
viewBox: "0 0 24 24",
|
|
1298
|
+
fill: "none",
|
|
1299
|
+
stroke: "currentColor",
|
|
1300
|
+
strokeWidth: "2",
|
|
1301
|
+
strokeLinecap: "round",
|
|
1302
|
+
strokeLinejoin: "round",
|
|
1303
|
+
body: `<path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z" />
|
|
1304
|
+
<path d="M20 2v4" />
|
|
1305
|
+
<path d="M22 4h-4" />
|
|
1306
|
+
<circle cx="4" cy="20" r="2" />`
|
|
1307
|
+
},
|
|
1308
|
+
sparkles: {
|
|
1309
|
+
viewBox: "0 0 24 24",
|
|
1310
|
+
fill: "none",
|
|
1311
|
+
stroke: "currentColor",
|
|
1312
|
+
strokeWidth: "2",
|
|
1313
|
+
strokeLinecap: "round",
|
|
1314
|
+
strokeLinejoin: "round",
|
|
1315
|
+
body: `<path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z" />
|
|
1316
|
+
<path d="M20 2v4" />
|
|
1317
|
+
<path d="M22 4h-4" />
|
|
1318
|
+
<circle cx="4" cy="20" r="2" />`
|
|
1319
|
+
},
|
|
1320
|
+
spinner: {
|
|
1321
|
+
viewBox: "0 0 24 24",
|
|
1322
|
+
fill: "none",
|
|
1323
|
+
stroke: "currentColor",
|
|
1324
|
+
strokeWidth: "2",
|
|
1325
|
+
strokeLinecap: "round",
|
|
1326
|
+
strokeLinejoin: "round",
|
|
1327
|
+
body: '<path d="M21 12a9 9 0 1 1-6.219-8.56" />'
|
|
1328
|
+
},
|
|
1329
|
+
square: {
|
|
1330
|
+
viewBox: "0 0 24 24",
|
|
1331
|
+
fill: "none",
|
|
1332
|
+
stroke: "currentColor",
|
|
1333
|
+
strokeWidth: "2",
|
|
1334
|
+
strokeLinecap: "round",
|
|
1335
|
+
strokeLinejoin: "round",
|
|
1336
|
+
body: '<rect width="18" height="18" x="3" y="3" rx="2" />'
|
|
1337
|
+
},
|
|
1338
|
+
star: {
|
|
1339
|
+
viewBox: "0 0 24 24",
|
|
1340
|
+
fill: "none",
|
|
1341
|
+
stroke: "currentColor",
|
|
1342
|
+
strokeWidth: "2",
|
|
1343
|
+
strokeLinecap: "round",
|
|
1344
|
+
strokeLinejoin: "round",
|
|
1345
|
+
body: '<path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z" />'
|
|
1346
|
+
},
|
|
1347
|
+
sun: {
|
|
1348
|
+
viewBox: "0 0 24 24",
|
|
1349
|
+
fill: "none",
|
|
1350
|
+
stroke: "currentColor",
|
|
1351
|
+
strokeWidth: "2",
|
|
1352
|
+
strokeLinecap: "round",
|
|
1353
|
+
strokeLinejoin: "round",
|
|
1354
|
+
body: `<circle cx="12" cy="12" r="4" />
|
|
1355
|
+
<path d="M12 2v2" />
|
|
1356
|
+
<path d="M12 20v2" />
|
|
1357
|
+
<path d="m4.93 4.93 1.41 1.41" />
|
|
1358
|
+
<path d="m17.66 17.66 1.41 1.41" />
|
|
1359
|
+
<path d="M2 12h2" />
|
|
1360
|
+
<path d="M20 12h2" />
|
|
1361
|
+
<path d="m6.34 17.66-1.41 1.41" />
|
|
1362
|
+
<path d="m19.07 4.93-1.41 1.41" />`
|
|
1363
|
+
},
|
|
1364
|
+
table: {
|
|
1365
|
+
viewBox: "0 0 24 24",
|
|
1366
|
+
fill: "none",
|
|
1367
|
+
stroke: "currentColor",
|
|
1368
|
+
strokeWidth: "2",
|
|
1369
|
+
strokeLinecap: "round",
|
|
1370
|
+
strokeLinejoin: "round",
|
|
1371
|
+
body: `<path d="M12 3v18" />
|
|
1372
|
+
<rect width="18" height="18" x="3" y="3" rx="2" />
|
|
1373
|
+
<path d="M3 9h18" />
|
|
1374
|
+
<path d="M3 15h18" />`
|
|
1375
|
+
},
|
|
1376
|
+
tablet: {
|
|
1377
|
+
viewBox: "0 0 24 24",
|
|
1378
|
+
fill: "none",
|
|
1379
|
+
stroke: "currentColor",
|
|
1380
|
+
strokeWidth: "2",
|
|
1381
|
+
strokeLinecap: "round",
|
|
1382
|
+
strokeLinejoin: "round",
|
|
1383
|
+
body: `<rect width="16" height="20" x="4" y="2" rx="2" ry="2" />
|
|
1384
|
+
<line x1="12" x2="12.01" y1="18" y2="18" />`
|
|
1385
|
+
},
|
|
1386
|
+
tag: {
|
|
1387
|
+
viewBox: "0 0 24 24",
|
|
1388
|
+
fill: "none",
|
|
1389
|
+
stroke: "currentColor",
|
|
1390
|
+
strokeWidth: "2",
|
|
1391
|
+
strokeLinecap: "round",
|
|
1392
|
+
strokeLinejoin: "round",
|
|
1393
|
+
body: `<path d="M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z" />
|
|
1394
|
+
<circle cx="7.5" cy="7.5" r=".5" fill="currentColor" />`
|
|
1395
|
+
},
|
|
1396
|
+
"text-cursor": {
|
|
1397
|
+
viewBox: "0 0 24 24",
|
|
1398
|
+
fill: "none",
|
|
1399
|
+
stroke: "currentColor",
|
|
1400
|
+
strokeWidth: "2",
|
|
1401
|
+
strokeLinecap: "round",
|
|
1402
|
+
strokeLinejoin: "round",
|
|
1403
|
+
body: `<path d="M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6" />
|
|
1404
|
+
<path d="M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7" />
|
|
1405
|
+
<path d="M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1" />
|
|
1406
|
+
<path d="M6 4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1" />
|
|
1407
|
+
<path d="M9 6v12" />`
|
|
1408
|
+
},
|
|
1409
|
+
"theme-dark": {
|
|
1410
|
+
viewBox: "0 0 24 24",
|
|
1411
|
+
fill: "none",
|
|
1412
|
+
stroke: "currentColor",
|
|
1413
|
+
strokeWidth: "2",
|
|
1414
|
+
strokeLinecap: "round",
|
|
1415
|
+
strokeLinejoin: "round",
|
|
1416
|
+
body: '<path d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401" />'
|
|
1417
|
+
},
|
|
1418
|
+
"theme-light": {
|
|
1419
|
+
viewBox: "0 0 24 24",
|
|
1420
|
+
fill: "none",
|
|
1421
|
+
stroke: "currentColor",
|
|
1422
|
+
strokeWidth: "2",
|
|
1423
|
+
strokeLinecap: "round",
|
|
1424
|
+
strokeLinejoin: "round",
|
|
1425
|
+
body: `<circle cx="12" cy="12" r="4" />
|
|
1426
|
+
<path d="M12 2v2" />
|
|
1427
|
+
<path d="M12 20v2" />
|
|
1428
|
+
<path d="m4.93 4.93 1.41 1.41" />
|
|
1429
|
+
<path d="m17.66 17.66 1.41 1.41" />
|
|
1430
|
+
<path d="M2 12h2" />
|
|
1431
|
+
<path d="M20 12h2" />
|
|
1432
|
+
<path d="m6.34 17.66-1.41 1.41" />
|
|
1433
|
+
<path d="m19.07 4.93-1.41 1.41" />`
|
|
1434
|
+
},
|
|
1435
|
+
"toggle-right": {
|
|
1436
|
+
viewBox: "0 0 24 24",
|
|
1437
|
+
fill: "none",
|
|
1438
|
+
stroke: "currentColor",
|
|
1439
|
+
strokeWidth: "2",
|
|
1440
|
+
strokeLinecap: "round",
|
|
1441
|
+
strokeLinejoin: "round",
|
|
1442
|
+
body: `<circle cx="15" cy="12" r="3" />
|
|
1443
|
+
<rect width="20" height="14" x="2" y="5" rx="7" />`
|
|
1444
|
+
},
|
|
1445
|
+
trash: {
|
|
1446
|
+
viewBox: "0 0 24 24",
|
|
1447
|
+
fill: "none",
|
|
1448
|
+
stroke: "currentColor",
|
|
1449
|
+
strokeWidth: "2",
|
|
1450
|
+
strokeLinecap: "round",
|
|
1451
|
+
strokeLinejoin: "round",
|
|
1452
|
+
body: `<path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" />
|
|
1453
|
+
<path d="M3 6h18" />
|
|
1454
|
+
<path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" />`
|
|
1455
|
+
},
|
|
1456
|
+
type: {
|
|
1457
|
+
viewBox: "0 0 24 24",
|
|
1458
|
+
fill: "none",
|
|
1459
|
+
stroke: "currentColor",
|
|
1460
|
+
strokeWidth: "2",
|
|
1461
|
+
strokeLinecap: "round",
|
|
1462
|
+
strokeLinejoin: "round",
|
|
1463
|
+
body: `<path d="M12 4v16" />
|
|
1464
|
+
<path d="M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2" />
|
|
1465
|
+
<path d="M9 20h6" />`
|
|
1466
|
+
},
|
|
1467
|
+
unlock: {
|
|
1468
|
+
viewBox: "0 0 24 24",
|
|
1469
|
+
fill: "none",
|
|
1470
|
+
stroke: "currentColor",
|
|
1471
|
+
strokeWidth: "2",
|
|
1472
|
+
strokeLinecap: "round",
|
|
1473
|
+
strokeLinejoin: "round",
|
|
1474
|
+
body: `<rect width="18" height="11" x="3" y="11" rx="2" ry="2" />
|
|
1475
|
+
<path d="M7 11V7a5 5 0 0 1 9.9-1" />`
|
|
1476
|
+
},
|
|
1477
|
+
"upload-cloud": {
|
|
1478
|
+
viewBox: "0 0 24 24",
|
|
1479
|
+
fill: "none",
|
|
1480
|
+
stroke: "currentColor",
|
|
1481
|
+
strokeWidth: "2",
|
|
1482
|
+
strokeLinecap: "round",
|
|
1483
|
+
strokeLinejoin: "round",
|
|
1484
|
+
body: `<path d="M12 13v8" />
|
|
1485
|
+
<path d="M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242" />
|
|
1486
|
+
<path d="m8 17 4-4 4 4" />`
|
|
1487
|
+
},
|
|
1488
|
+
upload: {
|
|
1489
|
+
viewBox: "0 0 24 24",
|
|
1490
|
+
fill: "none",
|
|
1491
|
+
stroke: "currentColor",
|
|
1492
|
+
strokeWidth: "2",
|
|
1493
|
+
strokeLinecap: "round",
|
|
1494
|
+
strokeLinejoin: "round",
|
|
1495
|
+
body: `<path d="M12 3v12" />
|
|
1496
|
+
<path d="m17 8-5-5-5 5" />
|
|
1497
|
+
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" />`
|
|
1498
|
+
},
|
|
1499
|
+
"user-circle": {
|
|
1500
|
+
viewBox: "0 0 24 24",
|
|
1501
|
+
fill: "none",
|
|
1502
|
+
stroke: "currentColor",
|
|
1503
|
+
strokeWidth: "2",
|
|
1504
|
+
strokeLinecap: "round",
|
|
1505
|
+
strokeLinejoin: "round",
|
|
1506
|
+
body: `<circle cx="12" cy="12" r="10" />
|
|
1507
|
+
<circle cx="12" cy="10" r="3" />
|
|
1508
|
+
<path d="M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662" />`
|
|
1509
|
+
},
|
|
1510
|
+
user: {
|
|
1511
|
+
viewBox: "0 0 24 24",
|
|
1512
|
+
fill: "none",
|
|
1513
|
+
stroke: "currentColor",
|
|
1514
|
+
strokeWidth: "2",
|
|
1515
|
+
strokeLinecap: "round",
|
|
1516
|
+
strokeLinejoin: "round",
|
|
1517
|
+
body: `<path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2" />
|
|
1518
|
+
<circle cx="12" cy="7" r="4" />`
|
|
1519
|
+
},
|
|
1520
|
+
video: {
|
|
1521
|
+
viewBox: "0 0 24 24",
|
|
1522
|
+
fill: "none",
|
|
1523
|
+
stroke: "currentColor",
|
|
1524
|
+
strokeWidth: "2",
|
|
1525
|
+
strokeLinecap: "round",
|
|
1526
|
+
strokeLinejoin: "round",
|
|
1527
|
+
body: `<path d="m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5" />
|
|
1528
|
+
<rect x="2" y="6" width="14" height="12" rx="2" />`
|
|
1529
|
+
},
|
|
1530
|
+
warning: {
|
|
1531
|
+
viewBox: "0 0 24 24",
|
|
1532
|
+
fill: "none",
|
|
1533
|
+
stroke: "currentColor",
|
|
1534
|
+
strokeWidth: "2",
|
|
1535
|
+
strokeLinecap: "round",
|
|
1536
|
+
strokeLinejoin: "round",
|
|
1537
|
+
body: `<path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" />
|
|
1538
|
+
<path d="M12 9v4" />
|
|
1539
|
+
<path d="M12 17h.01" />`
|
|
1540
|
+
},
|
|
1541
|
+
wifi: {
|
|
1542
|
+
viewBox: "0 0 24 24",
|
|
1543
|
+
fill: "none",
|
|
1544
|
+
stroke: "currentColor",
|
|
1545
|
+
strokeWidth: "2",
|
|
1546
|
+
strokeLinecap: "round",
|
|
1547
|
+
strokeLinejoin: "round",
|
|
1548
|
+
body: `<path d="M12 20h.01" />
|
|
1549
|
+
<path d="M2 8.82a15 15 0 0 1 20 0" />
|
|
1550
|
+
<path d="M5 12.859a10 10 0 0 1 14 0" />
|
|
1551
|
+
<path d="M8.5 16.429a5 5 0 0 1 7 0" />`
|
|
1552
|
+
},
|
|
1553
|
+
x: {
|
|
1554
|
+
viewBox: "0 0 24 24",
|
|
1555
|
+
fill: "none",
|
|
1556
|
+
stroke: "currentColor",
|
|
1557
|
+
strokeWidth: "2",
|
|
1558
|
+
strokeLinecap: "round",
|
|
1559
|
+
strokeLinejoin: "round",
|
|
1560
|
+
body: `<path d="M18 6 6 18" />
|
|
1561
|
+
<path d="m6 6 12 12" />`
|
|
1562
|
+
},
|
|
1563
|
+
zap: {
|
|
1564
|
+
viewBox: "0 0 24 24",
|
|
1565
|
+
fill: "none",
|
|
1566
|
+
stroke: "currentColor",
|
|
1567
|
+
strokeWidth: "2",
|
|
1568
|
+
strokeLinecap: "round",
|
|
1569
|
+
strokeLinejoin: "round",
|
|
1570
|
+
body: '<polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2" />'
|
|
1571
|
+
}
|
|
1572
|
+
};
|
|
1573
|
+
function _({ name: e, ...t }) {
|
|
1574
|
+
const o = ze[e];
|
|
1575
|
+
return /* @__PURE__ */ n(
|
|
1576
|
+
We,
|
|
1577
|
+
{
|
|
1578
|
+
viewBox: o.viewBox,
|
|
1579
|
+
fill: o.fill,
|
|
1580
|
+
stroke: o.stroke,
|
|
1581
|
+
strokeWidth: Number(o.strokeWidth),
|
|
1582
|
+
strokeLinecap: o.strokeLinecap,
|
|
1583
|
+
strokeLinejoin: o.strokeLinejoin,
|
|
1584
|
+
dangerouslySetInnerHTML: { __html: o.body },
|
|
1585
|
+
...t
|
|
1586
|
+
}
|
|
1587
|
+
);
|
|
1588
|
+
}
|
|
1589
|
+
function l(e) {
|
|
1590
|
+
return function(o) {
|
|
1591
|
+
return /* @__PURE__ */ n(_, { name: e, ...o });
|
|
1592
|
+
};
|
|
1593
|
+
}
|
|
1594
|
+
const jn = l("activity"), Wn = l("alert-circle"), zn = l("alert-triangle"), $n = l("align-horizontal"), Sn = l("align-justify"), Tn = l("app-window"), An = l("arrow-down"), Dn = l("arrow-left"), Hn = l("arrow-right"), Vn = l("arrow-up"), En = l("badge"), Rn = l("battery"), Fn = l("bell"), On = l("bluetooth"), Pn = l("book"), Yn = l("box"), Un = l("calendar"), qn = l("camera"), Gn = l("check-square"), Zn = l("check"), Xn = l("chevron-down"), Kn = l("chevron-left"), Qn = l("chevron-right"), Jn = l("chevron-up"), et = l("chevron"), nt = l("circle-dot"), tt = l("clock"), ot = l("close"), rt = l("cloud"), it = l("code"), at = l("component"), st = l("copy"), lt = l("credit-card"), ct = l("database"), dt = l("download"), ht = l("edit"), ut = l("external-link"), pt = l("eye-off"), mt = l("eye"), kt = l("file-text"), ft = l("file"), vt = l("filter"), bt = l("folder"), yt = l("form-input"), gt = l("ghost"), xt = l("gift"), wt = l("git-commit"), Lt = l("github"), _t = l("grid"), Nt = l("grip"), Ct = l("heading1"), Mt = l("heart"), It = l("help-circle"), Bt = l("history"), jt = l("home"), Wt = l("image"), zt = l("info"), $t = l("lab"), St = l("laptop"), Tt = l("layout-template"), At = l("layout"), Dt = l("link"), Ht = l("linkedin"), Vt = l("list-checks"), Et = l("list-collapse"), Rt = l("list-filter"), Ft = l("list"), Ot = l("loader2"), Pt = l("lock"), Yt = l("log-in"), Ut = l("log-out"), qt = l("mail"), Gt = l("map-pin"), Zt = l("menu"), Xt = l("message-circle"), Kt = l("message-square"), Qt = l("mic"), Jt = l("milestone"), eo = l("minus"), no = l("monitor"), to = l("moon"), oo = l("more-horizontal"), ro = l("mouse-pointer"), io = l("music"), ao = l("panel-left"), so = l("panel-top"), lo = l("panel"), co = l("phone"), ho = l("plus"), uo = l("rectangle-horizontal"), po = l("refresh"), mo = l("rocket"), ko = l("ruler"), fo = l("search"), vo = l("server"), bo = l("settings"), yo = l("share"), go = l("shield"), xo = l("shopping-cart"), wo = l("sliders-horizontal"), Lo = l("smartphone"), _o = l("spark"), No = l("sparkles"), Co = l("spinner"), Mo = l("square"), Io = l("star"), Bo = l("sun"), jo = l("table"), Wo = l("tablet"), zo = l("tag"), $o = l("text-cursor"), So = l("theme-dark"), To = l("theme-light"), Ao = l("toggle-right"), Do = l("trash"), Ho = l("type"), Vo = l("unlock"), Eo = l("upload-cloud"), Ro = l("upload"), Fo = l("user-circle"), Oo = l("user"), Po = l("video"), Yo = l("warning"), Uo = l("wifi"), qo = l("x"), Go = l("zap"), se = L.forwardRef(
|
|
1595
|
+
({ label: e, error: t, supportText: o, prefix: r, suffix: a, clearable: i = !1, size: c = "md", full: s = !1, className: h, id: d, ...u }, f) => {
|
|
1596
|
+
const v = d ?? (e ? `input-${te(e)}` : void 0), y = L.useRef(null), [, g] = L.useState(0), k = u.value !== void 0, x = String(k ? u.value ?? "" : u.defaultValue ?? y.current?.value ?? "").length > 0, b = (N) => {
|
|
1597
|
+
if (y.current = N, typeof f == "function") {
|
|
1598
|
+
f(N);
|
|
1599
|
+
return;
|
|
1600
|
+
}
|
|
1601
|
+
f && (f.current = N);
|
|
1602
|
+
}, M = () => {
|
|
1603
|
+
const N = y.current;
|
|
1604
|
+
if (!N || u.disabled || u.readOnly)
|
|
1605
|
+
return;
|
|
1606
|
+
Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value")?.set?.call(N, ""), N.dispatchEvent(new Event("input", { bubbles: !0 })), N.dispatchEvent(new Event("change", { bubbles: !0 })), g((w) => w + 1), N.focus();
|
|
1607
|
+
}, I = (N) => {
|
|
1608
|
+
u.onInput?.(N), k || g((S) => S + 1);
|
|
1609
|
+
}, j = i && x ? /* @__PURE__ */ n(
|
|
1610
|
+
F,
|
|
1611
|
+
{
|
|
1612
|
+
icon: /* @__PURE__ */ n(_, { name: "close", size: 12 }),
|
|
1613
|
+
"aria-label": "Limpar campo",
|
|
1614
|
+
variant: "ghost",
|
|
1615
|
+
size: "sm",
|
|
1616
|
+
onClick: M,
|
|
1617
|
+
tabIndex: -1,
|
|
1618
|
+
className: "input-field__clear"
|
|
1619
|
+
}
|
|
1620
|
+
) : a;
|
|
1621
|
+
return /* @__PURE__ */ n(H, { label: e, error: t, hint: o, full: s, htmlFor: v, className: h, children: /* @__PURE__ */ m("div", { className: p("input-field", `input-field--${c}`, t && "input-field--error", u.disabled && "input-field--disabled"), children: [
|
|
1622
|
+
r && /* @__PURE__ */ n("span", { className: "input-field__adornment input-field__adornment--prefix", children: r }),
|
|
1623
|
+
/* @__PURE__ */ n(
|
|
1624
|
+
"input",
|
|
1625
|
+
{
|
|
1626
|
+
ref: b,
|
|
1627
|
+
id: v,
|
|
1628
|
+
className: p(
|
|
1629
|
+
"input-field__input",
|
|
1630
|
+
!!r && "input-field__input--with-prefix",
|
|
1631
|
+
!!j && "input-field__input--with-suffix"
|
|
1632
|
+
),
|
|
1633
|
+
"aria-invalid": !!t,
|
|
1634
|
+
"aria-describedby": t ? `${v}-error` : o ? `${v}-supportText` : void 0,
|
|
1635
|
+
...u,
|
|
1636
|
+
onInput: I
|
|
1637
|
+
}
|
|
1638
|
+
),
|
|
1639
|
+
j && /* @__PURE__ */ n("span", { className: "input-field__adornment input-field__adornment--suffix", children: j })
|
|
1640
|
+
] }) });
|
|
1641
|
+
}
|
|
1642
|
+
);
|
|
1643
|
+
se.displayName = "Input";
|
|
1644
|
+
const $e = L.forwardRef(
|
|
1645
|
+
({ label: e, error: t, supportText: o, full: r = !1, resize: a = "vertical", className: i, id: c, rows: s = 4, style: h, ...d }, u) => {
|
|
1646
|
+
const f = c ?? (e ? `textarea-${te(e)}` : void 0);
|
|
1647
|
+
return /* @__PURE__ */ n(H, { label: e, error: t, hint: o, full: r, htmlFor: f, className: i, children: /* @__PURE__ */ n(
|
|
1648
|
+
"textarea",
|
|
1649
|
+
{
|
|
1650
|
+
ref: u,
|
|
1651
|
+
id: f,
|
|
1652
|
+
rows: s,
|
|
1653
|
+
className: p(
|
|
1654
|
+
"textarea",
|
|
1655
|
+
t && "textarea--error"
|
|
1656
|
+
),
|
|
1657
|
+
"aria-invalid": !!t,
|
|
1658
|
+
"aria-describedby": t ? `${f}-error` : o ? `${f}-supportText` : void 0,
|
|
1659
|
+
style: { resize: a, ...h ?? {} },
|
|
1660
|
+
...d
|
|
1661
|
+
}
|
|
1662
|
+
) });
|
|
1663
|
+
}
|
|
1664
|
+
);
|
|
1665
|
+
$e.displayName = "TextArea";
|
|
1666
|
+
const Se = L.forwardRef(
|
|
1667
|
+
({ onSearch: e, loading: t = !1, onChange: o, ...r }, a) => /* @__PURE__ */ n(
|
|
1668
|
+
se,
|
|
1669
|
+
{
|
|
1670
|
+
ref: a,
|
|
1671
|
+
type: "search",
|
|
1672
|
+
clearable: !0,
|
|
1673
|
+
prefix: t ? /* @__PURE__ */ n(ae, { size: "xs" }) : /* @__PURE__ */ n(_, { name: "search", size: 16 }),
|
|
1674
|
+
onChange: (c) => {
|
|
1675
|
+
o?.(c), e?.(c.target.value);
|
|
1676
|
+
},
|
|
1677
|
+
...r
|
|
1678
|
+
}
|
|
1679
|
+
)
|
|
1680
|
+
);
|
|
1681
|
+
Se.displayName = "Search";
|
|
1682
|
+
const Te = ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab"];
|
|
1683
|
+
function re(e) {
|
|
1684
|
+
if (!e) return null;
|
|
1685
|
+
const [t, o, r] = e.split("-").map(Number);
|
|
1686
|
+
return !t || !o || !r ? null : new Date(t, o - 1, r);
|
|
1687
|
+
}
|
|
1688
|
+
function Ae(e) {
|
|
1689
|
+
if (!e) return "";
|
|
1690
|
+
const t = String(e.getDate()).padStart(2, "0"), o = String(e.getMonth() + 1).padStart(2, "0"), r = e.getFullYear();
|
|
1691
|
+
return `${t}/${o}/${r}`;
|
|
1692
|
+
}
|
|
1693
|
+
function he(e) {
|
|
1694
|
+
if (!e) return "";
|
|
1695
|
+
const t = String(e.getDate()).padStart(2, "0"), o = String(e.getMonth() + 1).padStart(2, "0");
|
|
1696
|
+
return `${e.getFullYear()}-${o}-${t}`;
|
|
1697
|
+
}
|
|
1698
|
+
function De(e, t) {
|
|
1699
|
+
return !e || !t ? !1 : e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate();
|
|
1700
|
+
}
|
|
1701
|
+
function He(e) {
|
|
1702
|
+
const t = new Date(e.getFullYear(), e.getMonth(), 1), o = new Date(e.getFullYear(), e.getMonth() + 1, 0), r = t.getDay(), a = o.getDate(), i = [];
|
|
1703
|
+
for (let s = r - 1; s >= 0; s -= 1) {
|
|
1704
|
+
const h = new Date(t);
|
|
1705
|
+
h.setDate(t.getDate() - (s + 1)), i.push({ date: h, outside: !0 });
|
|
1706
|
+
}
|
|
1707
|
+
for (let s = 1; s <= a; s += 1)
|
|
1708
|
+
i.push({ date: new Date(e.getFullYear(), e.getMonth(), s), outside: !1 });
|
|
1709
|
+
const c = i.length <= 35 ? 35 : 42;
|
|
1710
|
+
for (; i.length < c; ) {
|
|
1711
|
+
const s = i[i.length - 1]?.date ?? o, h = new Date(s);
|
|
1712
|
+
h.setDate(s.getDate() + 1), i.push({ date: h, outside: !0 });
|
|
1713
|
+
}
|
|
1714
|
+
return i;
|
|
1715
|
+
}
|
|
1716
|
+
const Ve = L.forwardRef(
|
|
1717
|
+
({ label: e, error: t, supportText: o, full: r = !1, className: a, id: i, value: c, defaultValue: s, onChange: h, placeholder: d = "dd/mm/aaaa", disabled: u, size: f, prefix: v, suffix: y, clearable: g, ...k }, x) => {
|
|
1718
|
+
const b = i ?? (e ? `datepicker-${te(e)}` : void 0), M = L.useRef(null), I = L.useMemo(() => he(/* @__PURE__ */ new Date()), []), j = L.useMemo(() => re(c ?? s ?? I), [s, I, c]), [N, S] = L.useState(s ?? I), [w, z] = L.useState(!1), V = re(c ?? N), [q, E] = L.useState(j ?? /* @__PURE__ */ new Date()), oe = c !== void 0;
|
|
1719
|
+
L.useEffect(() => {
|
|
1720
|
+
const B = re(c ?? N);
|
|
1721
|
+
B && E(B);
|
|
1722
|
+
}, [N, c]), L.useEffect(() => {
|
|
1723
|
+
if (!w) return;
|
|
1724
|
+
const B = (R) => {
|
|
1725
|
+
M.current && !M.current.contains(R.target) && z(!1);
|
|
1726
|
+
};
|
|
1727
|
+
return document.addEventListener("mousedown", B), () => document.removeEventListener("mousedown", B);
|
|
1728
|
+
}, [w]);
|
|
1729
|
+
const C = (B) => {
|
|
1730
|
+
oe || S(B);
|
|
1731
|
+
const R = {
|
|
1732
|
+
target: { value: B, id: b, name: k.name },
|
|
1733
|
+
currentTarget: { value: B, id: b, name: k.name }
|
|
1734
|
+
};
|
|
1735
|
+
h?.(R);
|
|
1736
|
+
}, T = (B) => {
|
|
1737
|
+
const R = he(B);
|
|
1738
|
+
C(R), E(B);
|
|
1739
|
+
}, Le = () => {
|
|
1740
|
+
C("");
|
|
1741
|
+
}, _e = () => {
|
|
1742
|
+
z(!1);
|
|
1743
|
+
}, Ne = q.toLocaleDateString("pt-BR", {
|
|
1744
|
+
month: "long",
|
|
1745
|
+
year: "numeric"
|
|
1746
|
+
}), Ce = He(q);
|
|
1747
|
+
return /* @__PURE__ */ n(H, { label: e, error: t, hint: o, full: r, htmlFor: b, className: a, children: /* @__PURE__ */ m("div", { ref: M, className: "date-picker", children: [
|
|
1748
|
+
/* @__PURE__ */ m(
|
|
1749
|
+
"div",
|
|
1750
|
+
{
|
|
1751
|
+
className: p(
|
|
1752
|
+
"date-picker__field",
|
|
1753
|
+
w && "date-picker__field--open",
|
|
1754
|
+
t && "date-picker__field--error",
|
|
1755
|
+
u && "date-picker__field--disabled"
|
|
1756
|
+
),
|
|
1757
|
+
children: [
|
|
1758
|
+
/* @__PURE__ */ n(
|
|
1759
|
+
"input",
|
|
1760
|
+
{
|
|
1761
|
+
...k,
|
|
1762
|
+
ref: x,
|
|
1763
|
+
id: b,
|
|
1764
|
+
type: "text",
|
|
1765
|
+
value: Ae(V),
|
|
1766
|
+
placeholder: d,
|
|
1767
|
+
readOnly: !0,
|
|
1768
|
+
disabled: u,
|
|
1769
|
+
className: "date-picker__input",
|
|
1770
|
+
onClick: () => !u && z(!0)
|
|
1771
|
+
}
|
|
1772
|
+
),
|
|
1773
|
+
/* @__PURE__ */ n(
|
|
1774
|
+
"button",
|
|
1775
|
+
{
|
|
1776
|
+
type: "button",
|
|
1777
|
+
className: "date-picker__toggle",
|
|
1778
|
+
onClick: () => !u && z((B) => !B),
|
|
1779
|
+
"aria-label": "Abrir calendario",
|
|
1780
|
+
disabled: u,
|
|
1781
|
+
children: /* @__PURE__ */ n(_, { name: "calendar", size: 18 })
|
|
1782
|
+
}
|
|
1783
|
+
)
|
|
1784
|
+
]
|
|
1785
|
+
}
|
|
1786
|
+
),
|
|
1787
|
+
w ? /* @__PURE__ */ m("div", { className: "date-picker__popover", role: "dialog", "aria-modal": "false", children: [
|
|
1788
|
+
/* @__PURE__ */ m("div", { className: "date-picker__header", children: [
|
|
1789
|
+
/* @__PURE__ */ n(
|
|
1790
|
+
"button",
|
|
1791
|
+
{
|
|
1792
|
+
type: "button",
|
|
1793
|
+
className: "date-picker__nav",
|
|
1794
|
+
onClick: () => E((B) => new Date(B.getFullYear(), B.getMonth() - 1, 1)),
|
|
1795
|
+
"aria-label": "Mes anterior",
|
|
1796
|
+
children: /* @__PURE__ */ n(_, { name: "chevron-left", size: 16 })
|
|
1797
|
+
}
|
|
1798
|
+
),
|
|
1799
|
+
/* @__PURE__ */ n("span", { className: "date-picker__month", children: Ne }),
|
|
1800
|
+
/* @__PURE__ */ n(
|
|
1801
|
+
"button",
|
|
1802
|
+
{
|
|
1803
|
+
type: "button",
|
|
1804
|
+
className: "date-picker__nav",
|
|
1805
|
+
onClick: () => E((B) => new Date(B.getFullYear(), B.getMonth() + 1, 1)),
|
|
1806
|
+
"aria-label": "Proximo mes",
|
|
1807
|
+
children: /* @__PURE__ */ n(_, { name: "chevron-right", size: 16 })
|
|
1808
|
+
}
|
|
1809
|
+
)
|
|
1810
|
+
] }),
|
|
1811
|
+
/* @__PURE__ */ n("div", { className: "date-picker__weekdays", children: Te.map((B) => /* @__PURE__ */ n("span", { className: "date-picker__weekday", children: B }, B)) }),
|
|
1812
|
+
/* @__PURE__ */ n("div", { className: "date-picker__grid", children: Ce.map(({ date: B, outside: R }) => {
|
|
1813
|
+
const Me = De(B, V);
|
|
1814
|
+
return /* @__PURE__ */ n(
|
|
1815
|
+
"button",
|
|
1816
|
+
{
|
|
1817
|
+
type: "button",
|
|
1818
|
+
className: p(
|
|
1819
|
+
"date-picker__day",
|
|
1820
|
+
R && "date-picker__day--outside",
|
|
1821
|
+
Me && "date-picker__day--selected"
|
|
1822
|
+
),
|
|
1823
|
+
onClick: () => T(B),
|
|
1824
|
+
children: B.getDate()
|
|
1825
|
+
},
|
|
1826
|
+
B.toISOString()
|
|
1827
|
+
);
|
|
1828
|
+
}) }),
|
|
1829
|
+
/* @__PURE__ */ m("div", { className: "date-picker__footer", children: [
|
|
1830
|
+
/* @__PURE__ */ n(X, { variant: "ghost", onClick: Le, children: "Limpar" }),
|
|
1831
|
+
/* @__PURE__ */ n(X, { onClick: _e, children: "Concluido" })
|
|
1832
|
+
] })
|
|
1833
|
+
] }) : null
|
|
1834
|
+
] }) });
|
|
1835
|
+
}
|
|
1836
|
+
);
|
|
1837
|
+
Ve.displayName = "DatePicker";
|
|
1838
|
+
const Ee = L.forwardRef(
|
|
1839
|
+
({
|
|
1840
|
+
options: e,
|
|
1841
|
+
value: t,
|
|
1842
|
+
defaultValue: o,
|
|
1843
|
+
onChange: r,
|
|
1844
|
+
label: a,
|
|
1845
|
+
error: i,
|
|
1846
|
+
supportText: c,
|
|
1847
|
+
size: s = "md",
|
|
1848
|
+
placeholder: h = "Select...",
|
|
1849
|
+
full: d = !1,
|
|
1850
|
+
disabled: u = !1,
|
|
1851
|
+
searchable: f = !1,
|
|
1852
|
+
searchPlaceholder: v = "Search...",
|
|
1853
|
+
className: y,
|
|
1854
|
+
...g
|
|
1855
|
+
}, k) => {
|
|
1856
|
+
const x = ie(), b = Y(null), M = Y(null), [I, j] = W(!1), [N, S] = W(""), [w, z] = W(o ?? ""), V = t ?? w;
|
|
1857
|
+
A(() => {
|
|
1858
|
+
if (!I) {
|
|
1859
|
+
S("");
|
|
1860
|
+
return;
|
|
1861
|
+
}
|
|
1862
|
+
f && M.current?.focus();
|
|
1863
|
+
}, [I, f]), A(() => {
|
|
1864
|
+
const C = (T) => {
|
|
1865
|
+
b.current && !b.current.contains(T.target) && j(!1);
|
|
1866
|
+
};
|
|
1867
|
+
return document.addEventListener("mousedown", C), () => document.removeEventListener("mousedown", C);
|
|
1868
|
+
}, []);
|
|
1869
|
+
const q = e.find((C) => C.value === V), E = G(() => !f || !N ? e : e.filter((C) => (C.searchValue ?? (typeof C.label == "string" ? C.label : C.value)).toLowerCase().includes(N.toLowerCase())), [e, f, N]), oe = (C, T) => {
|
|
1870
|
+
T || (t === void 0 && z(C), r?.(C), j(!1));
|
|
1871
|
+
};
|
|
1872
|
+
return /* @__PURE__ */ n(H, { label: a, error: i, hint: c, full: d, className: y, htmlFor: x, children: /* @__PURE__ */ m("div", { ref: b, className: p("select", d && "select--full"), children: [
|
|
1873
|
+
/* @__PURE__ */ m(
|
|
1874
|
+
"div",
|
|
1875
|
+
{
|
|
1876
|
+
ref: k,
|
|
1877
|
+
id: x,
|
|
1878
|
+
role: "combobox",
|
|
1879
|
+
"aria-expanded": I,
|
|
1880
|
+
"aria-controls": `${x}-listbox`,
|
|
1881
|
+
"aria-haspopup": "listbox",
|
|
1882
|
+
tabIndex: u ? -1 : 0,
|
|
1883
|
+
className: p(
|
|
1884
|
+
"select__trigger",
|
|
1885
|
+
`select__trigger--${s}`,
|
|
1886
|
+
I && "select__trigger--open",
|
|
1887
|
+
i && "select__trigger--error",
|
|
1888
|
+
u && "select__trigger--disabled"
|
|
1889
|
+
),
|
|
1890
|
+
onClick: () => !u && j((C) => !C),
|
|
1891
|
+
onKeyDown: (C) => {
|
|
1892
|
+
u || ((C.key === "Enter" || C.key === " ") && (C.preventDefault(), j((T) => !T)), C.key === "Escape" && j(!1));
|
|
1893
|
+
},
|
|
1894
|
+
...g,
|
|
1895
|
+
children: [
|
|
1896
|
+
/* @__PURE__ */ n("span", { className: p("select__value", !q && "select__value--placeholder"), children: q?.label ?? h }),
|
|
1897
|
+
/* @__PURE__ */ n("span", { className: "select__icon", children: /* @__PURE__ */ n(_, { name: "chevron-down", size: 16 }) })
|
|
1898
|
+
]
|
|
1899
|
+
}
|
|
1900
|
+
),
|
|
1901
|
+
I && /* @__PURE__ */ m("div", { className: "select__menu", children: [
|
|
1902
|
+
f && /* @__PURE__ */ m("div", { className: "select__search", children: [
|
|
1903
|
+
/* @__PURE__ */ n("span", { className: "select__search-icon", children: /* @__PURE__ */ n(_, { name: "search", size: 14 }) }),
|
|
1904
|
+
/* @__PURE__ */ n(
|
|
1905
|
+
"input",
|
|
1906
|
+
{
|
|
1907
|
+
ref: M,
|
|
1908
|
+
className: "select__search-input",
|
|
1909
|
+
value: N,
|
|
1910
|
+
placeholder: v,
|
|
1911
|
+
onChange: (C) => S(C.target.value)
|
|
1912
|
+
}
|
|
1913
|
+
)
|
|
1914
|
+
] }),
|
|
1915
|
+
/* @__PURE__ */ n("ul", { id: `${x}-listbox`, className: "select__list", role: "listbox", children: E.length > 0 ? E.map((C) => {
|
|
1916
|
+
const T = C.value === V;
|
|
1917
|
+
return /* @__PURE__ */ m(
|
|
1918
|
+
"li",
|
|
1919
|
+
{
|
|
1920
|
+
role: "option",
|
|
1921
|
+
"aria-selected": T,
|
|
1922
|
+
className: p(
|
|
1923
|
+
"select__option",
|
|
1924
|
+
T && "select__option--selected",
|
|
1925
|
+
C.disabled && "select__option--disabled"
|
|
1926
|
+
),
|
|
1927
|
+
onClick: () => oe(C.value, C.disabled),
|
|
1928
|
+
children: [
|
|
1929
|
+
/* @__PURE__ */ n("span", { children: C.label }),
|
|
1930
|
+
T && /* @__PURE__ */ n("span", { className: "select__option-check", children: /* @__PURE__ */ n(_, { name: "check", size: 14 }) })
|
|
1931
|
+
]
|
|
1932
|
+
},
|
|
1933
|
+
C.value
|
|
1934
|
+
);
|
|
1935
|
+
}) : /* @__PURE__ */ n("li", { className: "select__empty", children: "No results found" }) })
|
|
1936
|
+
] })
|
|
1937
|
+
] }) });
|
|
1938
|
+
}
|
|
1939
|
+
);
|
|
1940
|
+
Ee.displayName = "Select";
|
|
1941
|
+
const Re = L.forwardRef(
|
|
1942
|
+
({
|
|
1943
|
+
options: e,
|
|
1944
|
+
value: t,
|
|
1945
|
+
defaultValue: o = [],
|
|
1946
|
+
onChange: r,
|
|
1947
|
+
label: a,
|
|
1948
|
+
error: i,
|
|
1949
|
+
supportText: c,
|
|
1950
|
+
placeholder: s = "Select options...",
|
|
1951
|
+
full: h = !1,
|
|
1952
|
+
disabled: d = !1,
|
|
1953
|
+
className: u,
|
|
1954
|
+
...f
|
|
1955
|
+
}, v) => {
|
|
1956
|
+
const y = ie(), g = Y(null), [k, x] = W(!1), [b, M] = W(o), I = t ?? b;
|
|
1957
|
+
A(() => {
|
|
1958
|
+
const w = (z) => {
|
|
1959
|
+
g.current && !g.current.contains(z.target) && x(!1);
|
|
1960
|
+
};
|
|
1961
|
+
return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
|
|
1962
|
+
}, []);
|
|
1963
|
+
const j = G(
|
|
1964
|
+
() => e.filter((w) => I.includes(w.value)),
|
|
1965
|
+
[e, I]
|
|
1966
|
+
), N = (w) => {
|
|
1967
|
+
t === void 0 && M(w), r?.(w);
|
|
1968
|
+
}, S = (w, z) => {
|
|
1969
|
+
if (!z) {
|
|
1970
|
+
if (I.includes(w)) {
|
|
1971
|
+
N(I.filter((V) => V !== w));
|
|
1972
|
+
return;
|
|
1973
|
+
}
|
|
1974
|
+
N([...I, w]);
|
|
1975
|
+
}
|
|
1976
|
+
};
|
|
1977
|
+
return /* @__PURE__ */ n(H, { label: a, error: i, hint: c, full: h, className: u, htmlFor: y, children: /* @__PURE__ */ m("div", { ref: g, className: p("multiselect", h && "multiselect--full"), children: [
|
|
1978
|
+
/* @__PURE__ */ m(
|
|
1979
|
+
"div",
|
|
1980
|
+
{
|
|
1981
|
+
ref: v,
|
|
1982
|
+
id: y,
|
|
1983
|
+
role: "combobox",
|
|
1984
|
+
"aria-expanded": k,
|
|
1985
|
+
"aria-controls": `${y}-listbox`,
|
|
1986
|
+
"aria-haspopup": "listbox",
|
|
1987
|
+
tabIndex: d ? -1 : 0,
|
|
1988
|
+
className: p(
|
|
1989
|
+
"multiselect__trigger",
|
|
1990
|
+
k && "multiselect__trigger--open",
|
|
1991
|
+
i && "multiselect__trigger--error",
|
|
1992
|
+
d && "multiselect__trigger--disabled"
|
|
1993
|
+
),
|
|
1994
|
+
onClick: () => !d && x((w) => !w),
|
|
1995
|
+
onKeyDown: (w) => {
|
|
1996
|
+
d || ((w.key === "Enter" || w.key === " ") && (w.preventDefault(), x((z) => !z)), w.key === "Escape" && x(!1));
|
|
1997
|
+
},
|
|
1998
|
+
...f,
|
|
1999
|
+
children: [
|
|
2000
|
+
/* @__PURE__ */ n("div", { className: "multiselect__values", children: j.length > 0 ? j.map((w) => /* @__PURE__ */ m("span", { className: "multiselect__tag", children: [
|
|
2001
|
+
/* @__PURE__ */ n("span", { className: "multiselect__tag-label", children: w.label }),
|
|
2002
|
+
/* @__PURE__ */ n(
|
|
2003
|
+
"button",
|
|
2004
|
+
{
|
|
2005
|
+
type: "button",
|
|
2006
|
+
className: "multiselect__tag-remove",
|
|
2007
|
+
onClick: (z) => {
|
|
2008
|
+
z.stopPropagation(), S(w.value);
|
|
2009
|
+
},
|
|
2010
|
+
"aria-label": `Remove ${w.label}`,
|
|
2011
|
+
children: /* @__PURE__ */ n(_, { name: "close", size: 12 })
|
|
2012
|
+
}
|
|
2013
|
+
)
|
|
2014
|
+
] }, w.value)) : /* @__PURE__ */ n("span", { className: "multiselect__placeholder", children: s }) }),
|
|
2015
|
+
/* @__PURE__ */ n("span", { className: "multiselect__icon", children: /* @__PURE__ */ n(_, { name: "chevron-down", size: 16 }) })
|
|
2016
|
+
]
|
|
2017
|
+
}
|
|
2018
|
+
),
|
|
2019
|
+
k && /* @__PURE__ */ n("ul", { id: `${y}-listbox`, className: "multiselect__menu", role: "listbox", "aria-multiselectable": "true", children: e.length > 0 ? e.map((w) => {
|
|
2020
|
+
const z = I.includes(w.value);
|
|
2021
|
+
return /* @__PURE__ */ m(
|
|
2022
|
+
"li",
|
|
2023
|
+
{
|
|
2024
|
+
role: "option",
|
|
2025
|
+
"aria-selected": z,
|
|
2026
|
+
className: p(
|
|
2027
|
+
"multiselect__option",
|
|
2028
|
+
z && "multiselect__option--selected",
|
|
2029
|
+
w.disabled && "multiselect__option--disabled"
|
|
2030
|
+
),
|
|
2031
|
+
onClick: () => S(w.value, w.disabled),
|
|
2032
|
+
children: [
|
|
2033
|
+
/* @__PURE__ */ n("span", { className: "multiselect__checkbox", children: z ? /* @__PURE__ */ n(_, { name: "check", size: 12 }) : null }),
|
|
2034
|
+
/* @__PURE__ */ n("span", { children: w.label })
|
|
2035
|
+
]
|
|
2036
|
+
},
|
|
2037
|
+
w.value
|
|
2038
|
+
);
|
|
2039
|
+
}) : /* @__PURE__ */ n("li", { className: "multiselect__empty", children: "No options available" }) })
|
|
2040
|
+
] }) });
|
|
2041
|
+
}
|
|
2042
|
+
);
|
|
2043
|
+
Re.displayName = "MultiSelect";
|
|
2044
|
+
function Fe(e, t) {
|
|
2045
|
+
typeof e == "function" ? e(t) : e && (e.current = t);
|
|
2046
|
+
}
|
|
2047
|
+
const Oe = L.forwardRef(
|
|
2048
|
+
({ label: e, indeterminate: t = !1, supportText: o, className: r, id: a, disabled: i, color: c = "primary", style: s, ...h }, d) => {
|
|
2049
|
+
const u = L.useId(), f = a ?? `checkbox-${u}`, v = L.useRef(null);
|
|
2050
|
+
L.useEffect(() => {
|
|
2051
|
+
v.current && (v.current.indeterminate = t);
|
|
2052
|
+
}, [t]);
|
|
2053
|
+
const y = (g) => {
|
|
2054
|
+
v.current = g, Fe(d, g);
|
|
2055
|
+
};
|
|
2056
|
+
return /* @__PURE__ */ n(H, { hint: o, full: !0, className: r, htmlFor: f, children: /* @__PURE__ */ m("label", { className: p("checkbox", i && "checkbox--disabled"), style: { "--checkbox-color": D(c), ...s ?? {} }, children: [
|
|
2057
|
+
/* @__PURE__ */ m("span", { className: "checkbox__control", children: [
|
|
2058
|
+
/* @__PURE__ */ n(
|
|
2059
|
+
"input",
|
|
2060
|
+
{
|
|
2061
|
+
ref: y,
|
|
2062
|
+
id: f,
|
|
2063
|
+
type: "checkbox",
|
|
2064
|
+
className: "checkbox__input",
|
|
2065
|
+
disabled: i,
|
|
2066
|
+
"aria-checked": t ? "mixed" : void 0,
|
|
2067
|
+
...h
|
|
2068
|
+
}
|
|
2069
|
+
),
|
|
2070
|
+
/* @__PURE__ */ n("span", { className: "checkbox__box", "aria-hidden": "true", children: /* @__PURE__ */ n("span", { className: "checkbox__icon", children: t ? /* @__PURE__ */ n(_, { name: "minus" }) : /* @__PURE__ */ n(_, { name: "check" }) }) })
|
|
2071
|
+
] }),
|
|
2072
|
+
e && /* @__PURE__ */ n("span", { className: "checkbox__label", children: e })
|
|
2073
|
+
] }) });
|
|
2074
|
+
}
|
|
2075
|
+
);
|
|
2076
|
+
Oe.displayName = "Checkbox";
|
|
2077
|
+
const Pe = L.forwardRef(({
|
|
2078
|
+
label: e,
|
|
2079
|
+
description: t,
|
|
2080
|
+
className: o,
|
|
2081
|
+
disabled: r,
|
|
2082
|
+
error: a,
|
|
2083
|
+
style: i,
|
|
2084
|
+
color: c = "primary",
|
|
2085
|
+
id: s,
|
|
2086
|
+
...h
|
|
2087
|
+
}, d) => {
|
|
2088
|
+
const u = L.useId(), f = s ?? `radio-${u}`;
|
|
2089
|
+
return /* @__PURE__ */ n(H, { full: !0, className: o, htmlFor: f, children: /* @__PURE__ */ m("label", { className: p("radio", r && "radio--disabled", a && "radio--error"), style: { "--radio-color": D(c), ...i ?? {} }, children: [
|
|
2090
|
+
/* @__PURE__ */ m("span", { className: "radio__input-container", children: [
|
|
2091
|
+
/* @__PURE__ */ n("input", { ref: d, id: f, type: "radio", className: "radio__input", disabled: r, ...h }),
|
|
2092
|
+
/* @__PURE__ */ n("span", { className: "radio__control", children: /* @__PURE__ */ n("span", { className: "radio__dot" }) })
|
|
2093
|
+
] }),
|
|
2094
|
+
(e || t) && /* @__PURE__ */ m("span", { className: "radio__content", children: [
|
|
2095
|
+
e && /* @__PURE__ */ n("span", { className: "radio__label", children: e }),
|
|
2096
|
+
t && /* @__PURE__ */ n("span", { className: "radio__description", children: t })
|
|
2097
|
+
] })
|
|
2098
|
+
] }) });
|
|
2099
|
+
});
|
|
2100
|
+
Pe.displayName = "Radio";
|
|
2101
|
+
const Zo = ({
|
|
2102
|
+
value: e,
|
|
2103
|
+
defaultValue: t,
|
|
2104
|
+
onChange: o,
|
|
2105
|
+
min: r = 0,
|
|
2106
|
+
max: a = 100,
|
|
2107
|
+
label: i,
|
|
2108
|
+
supportText: c,
|
|
2109
|
+
className: s,
|
|
2110
|
+
id: h,
|
|
2111
|
+
...d
|
|
2112
|
+
}) => {
|
|
2113
|
+
const u = L.useId(), f = h ?? `slider-${u}`, [v, y] = W(Number(e ?? t ?? 0)), g = e !== void 0 ? Number(e) : v, k = (g - Number(r)) / (Number(a) - Number(r)) * 100;
|
|
2114
|
+
return /* @__PURE__ */ n(H, { label: i, hint: c, full: !0, className: s, htmlFor: f, children: /* @__PURE__ */ m("div", { className: "slider", children: [
|
|
2115
|
+
/* @__PURE__ */ n("div", { className: "slider__track", children: /* @__PURE__ */ n("div", { className: "slider__fill", style: { width: `${k}%` } }) }),
|
|
2116
|
+
/* @__PURE__ */ n(
|
|
2117
|
+
"input",
|
|
2118
|
+
{
|
|
2119
|
+
id: f,
|
|
2120
|
+
type: "range",
|
|
2121
|
+
min: r,
|
|
2122
|
+
max: a,
|
|
2123
|
+
value: g,
|
|
2124
|
+
onChange: (x) => {
|
|
2125
|
+
const b = Number(x.target.value);
|
|
2126
|
+
e === void 0 && y(b), o?.(x);
|
|
2127
|
+
},
|
|
2128
|
+
className: "slider__input",
|
|
2129
|
+
...d
|
|
2130
|
+
}
|
|
2131
|
+
),
|
|
2132
|
+
/* @__PURE__ */ n("div", { className: "slider__value", children: g })
|
|
2133
|
+
] }) });
|
|
2134
|
+
}, Xo = ({
|
|
2135
|
+
onFileSelect: e,
|
|
2136
|
+
accept: t,
|
|
2137
|
+
multiple: o = !1,
|
|
2138
|
+
disabled: r = !1,
|
|
2139
|
+
maxSize: a,
|
|
2140
|
+
title: i = "Drag and drop a file or click to upload",
|
|
2141
|
+
description: c = "Supported files depend on the accept property.",
|
|
2142
|
+
className: s,
|
|
2143
|
+
...h
|
|
2144
|
+
}) => {
|
|
2145
|
+
const d = Y(null), [u, f] = W(!1), [v, y] = W([]), [g, k] = W(null), x = (b) => {
|
|
2146
|
+
k(null);
|
|
2147
|
+
let M = b;
|
|
2148
|
+
a && b.filter((N) => N.size > a).length > 0 && (k(`Some files exceed ${Math.round(a / 1024 / 1024)}MB.`), M = b.filter((N) => N.size <= a)), !o && M.length > 1 && (M = [M[0]]);
|
|
2149
|
+
const I = o ? [...v, ...M] : M;
|
|
2150
|
+
y(I), e?.(I);
|
|
2151
|
+
};
|
|
2152
|
+
return /* @__PURE__ */ m("div", { className: p("file-upload", s), ...h, children: [
|
|
2153
|
+
/* @__PURE__ */ m(
|
|
2154
|
+
"div",
|
|
2155
|
+
{
|
|
2156
|
+
className: p(
|
|
2157
|
+
"file-upload__dropzone",
|
|
2158
|
+
u && "file-upload__dropzone--dragging",
|
|
2159
|
+
r && "file-upload__dropzone--disabled",
|
|
2160
|
+
g && "file-upload__dropzone--error"
|
|
2161
|
+
),
|
|
2162
|
+
onDragEnter: (b) => {
|
|
2163
|
+
b.preventDefault(), r || f(!0);
|
|
2164
|
+
},
|
|
2165
|
+
onDragOver: (b) => {
|
|
2166
|
+
b.preventDefault(), r || f(!0);
|
|
2167
|
+
},
|
|
2168
|
+
onDragLeave: (b) => {
|
|
2169
|
+
b.preventDefault(), f(!1);
|
|
2170
|
+
},
|
|
2171
|
+
onDrop: (b) => {
|
|
2172
|
+
b.preventDefault(), f(!1), r || x(Array.from(b.dataTransfer.files));
|
|
2173
|
+
},
|
|
2174
|
+
onClick: () => !r && d.current?.click(),
|
|
2175
|
+
children: [
|
|
2176
|
+
/* @__PURE__ */ n(
|
|
2177
|
+
"input",
|
|
2178
|
+
{
|
|
2179
|
+
ref: d,
|
|
2180
|
+
type: "file",
|
|
2181
|
+
className: "file-upload__input",
|
|
2182
|
+
onChange: (b) => b.target.files && x(Array.from(b.target.files)),
|
|
2183
|
+
accept: t,
|
|
2184
|
+
multiple: o,
|
|
2185
|
+
disabled: r
|
|
2186
|
+
}
|
|
2187
|
+
),
|
|
2188
|
+
/* @__PURE__ */ m("div", { className: "file-upload__content", children: [
|
|
2189
|
+
/* @__PURE__ */ n("div", { className: "file-upload__icon", children: /* @__PURE__ */ n(_, { name: "upload", size: 20 }) }),
|
|
2190
|
+
/* @__PURE__ */ n($, { weight: "medium", children: i }),
|
|
2191
|
+
/* @__PURE__ */ n($, { size: "sm", color: "subtle", children: c })
|
|
2192
|
+
] })
|
|
2193
|
+
]
|
|
2194
|
+
}
|
|
2195
|
+
),
|
|
2196
|
+
g && /* @__PURE__ */ n($, { size: "sm", color: "danger", children: g }),
|
|
2197
|
+
v.length > 0 && /* @__PURE__ */ n("ul", { className: "file-upload__list", children: v.map((b, M) => /* @__PURE__ */ m("li", { className: "file-upload__item", children: [
|
|
2198
|
+
/* @__PURE__ */ n("span", { className: "file-upload__file-name", children: b.name }),
|
|
2199
|
+
/* @__PURE__ */ n(
|
|
2200
|
+
"button",
|
|
2201
|
+
{
|
|
2202
|
+
type: "button",
|
|
2203
|
+
className: "file-upload__remove",
|
|
2204
|
+
onClick: () => {
|
|
2205
|
+
const I = v.filter((j, N) => N !== M);
|
|
2206
|
+
y(I), e?.(I);
|
|
2207
|
+
},
|
|
2208
|
+
children: /* @__PURE__ */ n(_, { name: "close", size: 14 })
|
|
2209
|
+
}
|
|
2210
|
+
)
|
|
2211
|
+
] }, `${b.name}-${M}`)) })
|
|
2212
|
+
] });
|
|
2213
|
+
};
|
|
2214
|
+
function U(e, t) {
|
|
2215
|
+
const o = L.forwardRef(
|
|
2216
|
+
({ weight: r = "bold", className: a, children: i, ...c }, s) => L.createElement(
|
|
2217
|
+
e,
|
|
2218
|
+
{
|
|
2219
|
+
ref: s,
|
|
2220
|
+
className: p(
|
|
2221
|
+
"heading",
|
|
2222
|
+
t,
|
|
2223
|
+
`heading--weight-${r}`,
|
|
2224
|
+
a
|
|
2225
|
+
),
|
|
2226
|
+
...c
|
|
2227
|
+
},
|
|
2228
|
+
i
|
|
2229
|
+
)
|
|
2230
|
+
);
|
|
2231
|
+
return o.displayName = e.charAt(0).toUpperCase() + e.slice(1), o;
|
|
2232
|
+
}
|
|
2233
|
+
const Ye = U("h1", "heading--h1"), pe = U("h2", "heading--h2"), Ko = U("h3", "heading--h3"), Ue = U("h4", "heading--h4"), qe = U("h5", "heading--h5"), Qo = U("h6", "heading--h6");
|
|
2234
|
+
function Jo({ padding: e = "md", variant: t = "default", as: o, children: r, className: a, ...i }) {
|
|
2235
|
+
return /* @__PURE__ */ n(
|
|
2236
|
+
o || "div",
|
|
2237
|
+
{
|
|
2238
|
+
className: p("card", `card--${t}`, `card--pad-${e}`, a),
|
|
2239
|
+
...i,
|
|
2240
|
+
children: r
|
|
2241
|
+
}
|
|
2242
|
+
);
|
|
2243
|
+
}
|
|
2244
|
+
function er({ title: e, description: t, icon: o, action: r, children: a, className: i, ...c }) {
|
|
2245
|
+
return /* @__PURE__ */ m("div", { className: p("card-header", i), ...c, children: [
|
|
2246
|
+
/* @__PURE__ */ m("div", { className: "card-header__content", children: [
|
|
2247
|
+
(e || o) && /* @__PURE__ */ m("div", { className: "card-header__title-wrapper", children: [
|
|
2248
|
+
o && /* @__PURE__ */ n("span", { className: "card-header__icon", children: o }),
|
|
2249
|
+
e && /* @__PURE__ */ n(qe, { weight: "semibold", children: e })
|
|
2250
|
+
] }),
|
|
2251
|
+
t && /* @__PURE__ */ n($, { size: "sm", color: "subtle", children: t }),
|
|
2252
|
+
a
|
|
2253
|
+
] }),
|
|
2254
|
+
r && /* @__PURE__ */ n("div", { className: "card-header__action", children: r })
|
|
2255
|
+
] });
|
|
2256
|
+
}
|
|
2257
|
+
function nr({ children: e, className: t, ...o }) {
|
|
2258
|
+
return /* @__PURE__ */ n("div", { className: p("card-body", t), ...o, children: e });
|
|
2259
|
+
}
|
|
2260
|
+
function tr({ children: e, className: t, ...o }) {
|
|
2261
|
+
return /* @__PURE__ */ n("div", { className: p("card-footer", t), ...o, children: e });
|
|
2262
|
+
}
|
|
2263
|
+
const or = L.forwardRef(function({
|
|
2264
|
+
as: t,
|
|
2265
|
+
padding: o = "0",
|
|
2266
|
+
rounded: r = "none",
|
|
2267
|
+
shadow: a = "none",
|
|
2268
|
+
surface: i = "default",
|
|
2269
|
+
border: c = !1,
|
|
2270
|
+
className: s,
|
|
2271
|
+
children: h,
|
|
2272
|
+
...d
|
|
2273
|
+
}, u) {
|
|
2274
|
+
return /* @__PURE__ */ n(
|
|
2275
|
+
t || "div",
|
|
2276
|
+
{
|
|
2277
|
+
ref: u,
|
|
2278
|
+
className: p(
|
|
2279
|
+
"box",
|
|
2280
|
+
`box-padding--${o}`,
|
|
2281
|
+
`box-rounded--${r}`,
|
|
2282
|
+
`box-shadow--${a}`,
|
|
2283
|
+
`box-surface--${i}`,
|
|
2284
|
+
c && "box--border",
|
|
2285
|
+
s
|
|
2286
|
+
),
|
|
2287
|
+
...d,
|
|
2288
|
+
children: h
|
|
2289
|
+
}
|
|
2290
|
+
);
|
|
2291
|
+
}), rr = ({
|
|
2292
|
+
children: e,
|
|
2293
|
+
columns: t = 1,
|
|
2294
|
+
gap: o = "4",
|
|
2295
|
+
className: r,
|
|
2296
|
+
style: a,
|
|
2297
|
+
as: i,
|
|
2298
|
+
...c
|
|
2299
|
+
}) => /* @__PURE__ */ n(
|
|
2300
|
+
i || "div",
|
|
2301
|
+
{
|
|
2302
|
+
className: p(
|
|
2303
|
+
"grid",
|
|
2304
|
+
`grid-cols--${t}`,
|
|
2305
|
+
`grid-gap--${o}`,
|
|
2306
|
+
r
|
|
2307
|
+
),
|
|
2308
|
+
style: a,
|
|
2309
|
+
...c,
|
|
2310
|
+
children: e
|
|
2311
|
+
}
|
|
2312
|
+
), ir = ({
|
|
2313
|
+
children: e,
|
|
2314
|
+
size: t = "lg",
|
|
2315
|
+
className: o,
|
|
2316
|
+
style: r
|
|
2317
|
+
}) => /* @__PURE__ */ n(
|
|
2318
|
+
"div",
|
|
2319
|
+
{
|
|
2320
|
+
className: p("container", `container--${t}`, o),
|
|
2321
|
+
style: r,
|
|
2322
|
+
children: e
|
|
2323
|
+
}
|
|
2324
|
+
), ar = ({ size: e = "1rem", axis: t = "vertical", style: o }) => {
|
|
2325
|
+
const r = t === "horizontal" ? e : 1, a = t === "vertical" ? e : 1;
|
|
2326
|
+
return /* @__PURE__ */ n("span", { style: { display: "block", width: r, minWidth: r, height: a, minHeight: a, ...o }, "aria-hidden": "true" });
|
|
2327
|
+
};
|
|
2328
|
+
function sr({ orientation: e = "horizontal", label: t, className: o, ...r }) {
|
|
2329
|
+
return /* @__PURE__ */ n(
|
|
2330
|
+
"div",
|
|
2331
|
+
{
|
|
2332
|
+
role: "separator",
|
|
2333
|
+
"aria-orientation": e,
|
|
2334
|
+
className: p("divider", `divider--${e}`, t && "divider--labeled", o),
|
|
2335
|
+
...r,
|
|
2336
|
+
children: t && e === "horizontal" && /* @__PURE__ */ n("span", { className: "divider__label", children: t })
|
|
2337
|
+
}
|
|
2338
|
+
);
|
|
2339
|
+
}
|
|
2340
|
+
const me = ee({ variant: "default" });
|
|
2341
|
+
function Ge({ children: e, variant: t = "default", className: o, ...r }) {
|
|
2342
|
+
return /* @__PURE__ */ n(me.Provider, { value: { variant: t }, children: /* @__PURE__ */ n("div", { className: p("list", `list--${t}`, o), role: "list", ...r, children: e }) });
|
|
2343
|
+
}
|
|
2344
|
+
function Ze({
|
|
2345
|
+
children: e,
|
|
2346
|
+
description: t,
|
|
2347
|
+
startContent: o,
|
|
2348
|
+
endContent: r,
|
|
2349
|
+
active: a = !1,
|
|
2350
|
+
disabled: i = !1,
|
|
2351
|
+
className: c,
|
|
2352
|
+
onClick: s,
|
|
2353
|
+
...h
|
|
2354
|
+
}) {
|
|
2355
|
+
const { variant: d } = J(me), u = d === "checklist" && !o ? /* @__PURE__ */ n(_, { name: "check", size: 16 }) : o;
|
|
2356
|
+
return /* @__PURE__ */ m(
|
|
2357
|
+
"div",
|
|
2358
|
+
{
|
|
2359
|
+
className: p(
|
|
2360
|
+
"list-item",
|
|
2361
|
+
a && "list-item--active",
|
|
2362
|
+
s && !i && "list-item--clickable",
|
|
2363
|
+
i && "list-item--disabled",
|
|
2364
|
+
c
|
|
2365
|
+
),
|
|
2366
|
+
role: "listitem",
|
|
2367
|
+
tabIndex: i ? -1 : s ? 0 : void 0,
|
|
2368
|
+
onClick: i ? void 0 : s,
|
|
2369
|
+
...h,
|
|
2370
|
+
children: [
|
|
2371
|
+
u && /* @__PURE__ */ n("div", { className: "list-item__start", children: u }),
|
|
2372
|
+
/* @__PURE__ */ m("div", { className: "list-item__content", children: [
|
|
2373
|
+
/* @__PURE__ */ n($, { as: "span", weight: "medium", className: "list-item__title", children: e }),
|
|
2374
|
+
t && /* @__PURE__ */ n($, { as: "span", size: "sm", color: "subtle", className: "list-item__description", children: t })
|
|
2375
|
+
] }),
|
|
2376
|
+
r && /* @__PURE__ */ n("div", { className: "list-item__end", children: r })
|
|
2377
|
+
]
|
|
2378
|
+
}
|
|
2379
|
+
);
|
|
2380
|
+
}
|
|
2381
|
+
const Xe = Object.assign(Ge, {
|
|
2382
|
+
Item: Ze
|
|
2383
|
+
});
|
|
2384
|
+
Xe.displayName = "List";
|
|
2385
|
+
function Ke(e, t) {
|
|
2386
|
+
const o = Array.isArray(t) ? t : t ? [t] : [], [r, a] = W(o);
|
|
2387
|
+
return { openItems: r, toggle: (c) => {
|
|
2388
|
+
a((s) => {
|
|
2389
|
+
const h = s.includes(c);
|
|
2390
|
+
return e === "single" ? h ? [] : [c] : h ? s.filter((d) => d !== c) : [...s, c];
|
|
2391
|
+
});
|
|
2392
|
+
} };
|
|
2393
|
+
}
|
|
2394
|
+
const Qe = ({
|
|
2395
|
+
title: e,
|
|
2396
|
+
children: t,
|
|
2397
|
+
isOpen: o = !1,
|
|
2398
|
+
onToggle: r,
|
|
2399
|
+
id: a,
|
|
2400
|
+
className: i,
|
|
2401
|
+
...c
|
|
2402
|
+
}) => /* @__PURE__ */ m("div", { className: p("accordion-item", o && "accordion-item--open", i), ...c, children: [
|
|
2403
|
+
/* @__PURE__ */ m(
|
|
2404
|
+
"button",
|
|
2405
|
+
{
|
|
2406
|
+
className: "accordion-item__trigger",
|
|
2407
|
+
onClick: r,
|
|
2408
|
+
"aria-expanded": o,
|
|
2409
|
+
"aria-controls": `accordion-content-${a}`,
|
|
2410
|
+
id: `accordion-trigger-${a}`,
|
|
2411
|
+
type: "button",
|
|
2412
|
+
children: [
|
|
2413
|
+
/* @__PURE__ */ n("span", { className: "accordion-item__title", children: e }),
|
|
2414
|
+
/* @__PURE__ */ n("span", { className: "accordion-item__icon", children: /* @__PURE__ */ n(_, { name: "chevron-down", size: 16 }) })
|
|
2415
|
+
]
|
|
2416
|
+
}
|
|
2417
|
+
),
|
|
2418
|
+
/* @__PURE__ */ n(
|
|
2419
|
+
"div",
|
|
2420
|
+
{
|
|
2421
|
+
className: "accordion-item__content",
|
|
2422
|
+
id: `accordion-content-${a}`,
|
|
2423
|
+
role: "region",
|
|
2424
|
+
"aria-labelledby": `accordion-trigger-${a}`,
|
|
2425
|
+
hidden: !o,
|
|
2426
|
+
children: /* @__PURE__ */ n("div", { className: "accordion-item__content-inner", children: t })
|
|
2427
|
+
}
|
|
2428
|
+
)
|
|
2429
|
+
] }), Je = ({
|
|
2430
|
+
children: e,
|
|
2431
|
+
type: t = "single",
|
|
2432
|
+
defaultValue: o,
|
|
2433
|
+
className: r,
|
|
2434
|
+
...a
|
|
2435
|
+
}) => {
|
|
2436
|
+
const { openItems: i, toggle: c } = Ke(t, o);
|
|
2437
|
+
return /* @__PURE__ */ n("div", { className: p("accordion", r), ...a, children: L.Children.map(e, (s, h) => {
|
|
2438
|
+
if (!L.isValidElement(s)) return s;
|
|
2439
|
+
const d = s.props.id ?? `accordion-item-${h}`;
|
|
2440
|
+
return L.cloneElement(s, {
|
|
2441
|
+
id: d,
|
|
2442
|
+
isOpen: i.includes(d),
|
|
2443
|
+
onToggle: () => c(d)
|
|
2444
|
+
});
|
|
2445
|
+
}) });
|
|
2446
|
+
};
|
|
2447
|
+
Je.Item = Qe;
|
|
2448
|
+
const en = ({
|
|
2449
|
+
size: e = "sm",
|
|
2450
|
+
weight: t = "medium",
|
|
2451
|
+
block: o = !1,
|
|
2452
|
+
children: r,
|
|
2453
|
+
className: a,
|
|
2454
|
+
...i
|
|
2455
|
+
}) => /* @__PURE__ */ n(
|
|
2456
|
+
"code",
|
|
2457
|
+
{
|
|
2458
|
+
className: p(
|
|
2459
|
+
"code",
|
|
2460
|
+
`code--${e}`,
|
|
2461
|
+
`code--${t}`,
|
|
2462
|
+
o && "code--block",
|
|
2463
|
+
a
|
|
2464
|
+
),
|
|
2465
|
+
...i,
|
|
2466
|
+
children: r
|
|
2467
|
+
}
|
|
2468
|
+
);
|
|
2469
|
+
en.displayName = "Code";
|
|
2470
|
+
const le = ({
|
|
2471
|
+
color: e = "primary",
|
|
2472
|
+
underline: t = !1,
|
|
2473
|
+
active: o,
|
|
2474
|
+
as: r,
|
|
2475
|
+
className: a,
|
|
2476
|
+
children: i,
|
|
2477
|
+
href: c,
|
|
2478
|
+
to: s,
|
|
2479
|
+
style: h,
|
|
2480
|
+
...d
|
|
2481
|
+
}) => {
|
|
2482
|
+
const u = typeof window < "u" ? window.location.pathname : "", f = s ?? c, v = r || "a", y = (x) => {
|
|
2483
|
+
const b = x.split("?")[0].split("#")[0];
|
|
2484
|
+
return b.endsWith("/") && b !== "/" ? b.slice(0, -1) : b;
|
|
2485
|
+
}, g = f && u ? y(u) === y(f) : !1, k = o ?? g;
|
|
2486
|
+
return /* @__PURE__ */ n(
|
|
2487
|
+
v,
|
|
2488
|
+
{
|
|
2489
|
+
className: p("link", t && "link--underline", k && "link--active", a),
|
|
2490
|
+
style: {
|
|
2491
|
+
"--link-color": D(e),
|
|
2492
|
+
...h ?? {}
|
|
2493
|
+
},
|
|
2494
|
+
href: f,
|
|
2495
|
+
"aria-current": k ? "page" : void 0,
|
|
2496
|
+
...d,
|
|
2497
|
+
children: i
|
|
2498
|
+
}
|
|
2499
|
+
);
|
|
2500
|
+
};
|
|
2501
|
+
le.displayName = "Link";
|
|
2502
|
+
const nn = L.forwardRef(({
|
|
2503
|
+
children: e,
|
|
2504
|
+
variant: t = "soft",
|
|
2505
|
+
color: o = "primary",
|
|
2506
|
+
size: r = "md",
|
|
2507
|
+
className: a,
|
|
2508
|
+
...i
|
|
2509
|
+
}, c) => {
|
|
2510
|
+
const s = Z(o) ? o : void 0;
|
|
2511
|
+
return /* @__PURE__ */ n(
|
|
2512
|
+
"span",
|
|
2513
|
+
{
|
|
2514
|
+
ref: c,
|
|
2515
|
+
className: p("badge", `badge--${t}`, s && `badge--${s}`, `badge--${r}`, a),
|
|
2516
|
+
style: s ? void 0 : { "--badge-color": D(o) },
|
|
2517
|
+
...i,
|
|
2518
|
+
children: e
|
|
2519
|
+
}
|
|
2520
|
+
);
|
|
2521
|
+
});
|
|
2522
|
+
nn.displayName = "Badge";
|
|
2523
|
+
function lr({
|
|
2524
|
+
children: e,
|
|
2525
|
+
variant: t = "soft",
|
|
2526
|
+
size: o = "md",
|
|
2527
|
+
color: r = "primary",
|
|
2528
|
+
leftIcon: a,
|
|
2529
|
+
rightIcon: i,
|
|
2530
|
+
closable: c,
|
|
2531
|
+
onRemove: s,
|
|
2532
|
+
className: h,
|
|
2533
|
+
style: d,
|
|
2534
|
+
...u
|
|
2535
|
+
}) {
|
|
2536
|
+
const f = c || !!s;
|
|
2537
|
+
return /* @__PURE__ */ m(
|
|
2538
|
+
"span",
|
|
2539
|
+
{
|
|
2540
|
+
className: p("tag", `tag--variant-${t}`, `tag--size-${o}`, h),
|
|
2541
|
+
style: { "--tag-color": D(r), ...d ?? {} },
|
|
2542
|
+
...u,
|
|
2543
|
+
children: [
|
|
2544
|
+
a && /* @__PURE__ */ n("span", { className: "tag__icon", children: a }),
|
|
2545
|
+
/* @__PURE__ */ n("span", { className: "tag__label", children: e }),
|
|
2546
|
+
i && /* @__PURE__ */ n("span", { className: "tag__icon", children: i }),
|
|
2547
|
+
f && /* @__PURE__ */ n("button", { type: "button", className: "tag__remove", onClick: s, "aria-label": "Remove tag", children: "x" })
|
|
2548
|
+
]
|
|
2549
|
+
}
|
|
2550
|
+
);
|
|
2551
|
+
}
|
|
2552
|
+
const ke = L.forwardRef(({
|
|
2553
|
+
src: e,
|
|
2554
|
+
name: t,
|
|
2555
|
+
size: o = "md",
|
|
2556
|
+
status: r,
|
|
2557
|
+
className: a,
|
|
2558
|
+
...i
|
|
2559
|
+
}, c) => {
|
|
2560
|
+
const s = (h) => {
|
|
2561
|
+
if (!h) return "";
|
|
2562
|
+
const d = h.split(" ");
|
|
2563
|
+
return d.length === 1 ? d[0].substring(0, 2) : (d[0][0] + d[d.length - 1][0]).toUpperCase();
|
|
2564
|
+
};
|
|
2565
|
+
return /* @__PURE__ */ m("div", { ref: c, className: p("avatar", `avatar--${o}`, a), ...i, children: [
|
|
2566
|
+
e ? /* @__PURE__ */ n("img", { src: e, alt: t, className: "avatar-image" }) : /* @__PURE__ */ n("span", { className: "avatar-initials", children: s(t) }),
|
|
2567
|
+
r && /* @__PURE__ */ n("span", { className: p("avatar-status", `avatar-status--${r}`) })
|
|
2568
|
+
] });
|
|
2569
|
+
});
|
|
2570
|
+
ke.displayName = "Avatar";
|
|
2571
|
+
const fe = ({
|
|
2572
|
+
width: e,
|
|
2573
|
+
height: t,
|
|
2574
|
+
circle: o = !1,
|
|
2575
|
+
radius: r,
|
|
2576
|
+
animated: a = !0,
|
|
2577
|
+
className: i,
|
|
2578
|
+
style: c,
|
|
2579
|
+
...s
|
|
2580
|
+
}) => {
|
|
2581
|
+
const h = {
|
|
2582
|
+
width: typeof e == "number" ? `${e}px` : e,
|
|
2583
|
+
height: typeof t == "number" ? `${t}px` : t,
|
|
2584
|
+
borderRadius: o ? "50%" : typeof r == "number" ? `${r}px` : r,
|
|
2585
|
+
...c
|
|
2586
|
+
};
|
|
2587
|
+
return /* @__PURE__ */ n(
|
|
2588
|
+
"div",
|
|
2589
|
+
{
|
|
2590
|
+
className: p(
|
|
2591
|
+
"skeleton",
|
|
2592
|
+
o && "skeleton--circle",
|
|
2593
|
+
a && "skeleton--animated",
|
|
2594
|
+
i
|
|
2595
|
+
),
|
|
2596
|
+
style: h,
|
|
2597
|
+
...s
|
|
2598
|
+
}
|
|
2599
|
+
);
|
|
2600
|
+
};
|
|
2601
|
+
fe.displayName = "Skeleton";
|
|
2602
|
+
const cr = ({
|
|
2603
|
+
src: e,
|
|
2604
|
+
alt: t,
|
|
2605
|
+
objectFit: o = "cover",
|
|
2606
|
+
radius: r = "md",
|
|
2607
|
+
className: a,
|
|
2608
|
+
style: i,
|
|
2609
|
+
fallback: c,
|
|
2610
|
+
...s
|
|
2611
|
+
}) => {
|
|
2612
|
+
const [h, d] = W(!1), [u, f] = W(!1);
|
|
2613
|
+
return u && c ? /* @__PURE__ */ n(Q, { children: c }) : /* @__PURE__ */ m("div", { className: p("image-wrapper", a), style: i, children: [
|
|
2614
|
+
!h && !u && /* @__PURE__ */ n(fe, { className: p("image-skeleton", `image-radius--${r}`), style: { width: "100%", height: "100%" } }),
|
|
2615
|
+
/* @__PURE__ */ n(
|
|
2616
|
+
"img",
|
|
2617
|
+
{
|
|
2618
|
+
src: e,
|
|
2619
|
+
alt: t,
|
|
2620
|
+
className: p("image", `image-fit--${o}`, `image-radius--${r}`, h && "image--loaded"),
|
|
2621
|
+
onLoad: () => d(!0),
|
|
2622
|
+
onError: () => f(!0),
|
|
2623
|
+
...s
|
|
2624
|
+
}
|
|
2625
|
+
)
|
|
2626
|
+
] });
|
|
2627
|
+
}, tn = L.forwardRef(
|
|
2628
|
+
({ label: e, size: t = "md", className: o, disabled: r, ...a }, i) => /* @__PURE__ */ m("label", { className: p(
|
|
2629
|
+
"switch-wrapper",
|
|
2630
|
+
`switch--${t}`,
|
|
2631
|
+
r && "switch-wrapper--disabled",
|
|
2632
|
+
o
|
|
2633
|
+
), children: [
|
|
2634
|
+
/* @__PURE__ */ n(
|
|
2635
|
+
"input",
|
|
2636
|
+
{
|
|
2637
|
+
type: "checkbox",
|
|
2638
|
+
className: "switch-input",
|
|
2639
|
+
disabled: r,
|
|
2640
|
+
ref: i,
|
|
2641
|
+
...a
|
|
2642
|
+
}
|
|
2643
|
+
),
|
|
2644
|
+
/* @__PURE__ */ n("span", { className: "switch-track", children: /* @__PURE__ */ n("span", { className: "switch-thumb" }) }),
|
|
2645
|
+
e && /* @__PURE__ */ n("span", { className: "switch-label", children: e })
|
|
2646
|
+
] })
|
|
2647
|
+
);
|
|
2648
|
+
tn.displayName = "Switch";
|
|
2649
|
+
const on = ({
|
|
2650
|
+
currentPage: e,
|
|
2651
|
+
totalPages: t,
|
|
2652
|
+
onPageChange: o,
|
|
2653
|
+
showControls: r = !0,
|
|
2654
|
+
className: a,
|
|
2655
|
+
...i
|
|
2656
|
+
}) => {
|
|
2657
|
+
const c = G(() => {
|
|
2658
|
+
const s = [], h = Math.max(1, e - 1), d = Math.min(t, e + 1);
|
|
2659
|
+
h > 1 && (s.push(1), h > 2 && s.push("dots-start"));
|
|
2660
|
+
for (let u = h; u <= d; u += 1)
|
|
2661
|
+
s.push(u);
|
|
2662
|
+
return d < t && (d < t - 1 && s.push("dots-end"), s.push(t)), s;
|
|
2663
|
+
}, [e, t]);
|
|
2664
|
+
return /* @__PURE__ */ m("nav", { className: p("pagination", a), "aria-label": "Pagination", ...i, children: [
|
|
2665
|
+
r && /* @__PURE__ */ n(
|
|
2666
|
+
"button",
|
|
2667
|
+
{
|
|
2668
|
+
type: "button",
|
|
2669
|
+
className: p("pagination__item", e === 1 && "pagination__item--disabled"),
|
|
2670
|
+
onClick: () => o(e - 1),
|
|
2671
|
+
disabled: e === 1,
|
|
2672
|
+
"aria-label": "Previous page",
|
|
2673
|
+
children: /* @__PURE__ */ n(_, { name: "chevron-left", size: 16 })
|
|
2674
|
+
}
|
|
2675
|
+
),
|
|
2676
|
+
c.map((s, h) => {
|
|
2677
|
+
if (typeof s == "string")
|
|
2678
|
+
return /* @__PURE__ */ n("span", { className: "pagination__dots", children: "..." }, `${s}-${h}`);
|
|
2679
|
+
const d = s === e;
|
|
2680
|
+
return /* @__PURE__ */ n(
|
|
2681
|
+
"button",
|
|
2682
|
+
{
|
|
2683
|
+
type: "button",
|
|
2684
|
+
className: p("pagination__item", d && "pagination__item--active"),
|
|
2685
|
+
onClick: () => !d && o(s),
|
|
2686
|
+
"aria-current": d ? "page" : void 0,
|
|
2687
|
+
children: s
|
|
2688
|
+
},
|
|
2689
|
+
s
|
|
2690
|
+
);
|
|
2691
|
+
}),
|
|
2692
|
+
r && /* @__PURE__ */ n(
|
|
2693
|
+
"button",
|
|
2694
|
+
{
|
|
2695
|
+
type: "button",
|
|
2696
|
+
className: p("pagination__item", e === t && "pagination__item--disabled"),
|
|
2697
|
+
onClick: () => o(e + 1),
|
|
2698
|
+
disabled: e === t,
|
|
2699
|
+
"aria-label": "Next page",
|
|
2700
|
+
children: /* @__PURE__ */ n(_, { name: "chevron-right", size: 16 })
|
|
2701
|
+
}
|
|
2702
|
+
)
|
|
2703
|
+
] });
|
|
2704
|
+
};
|
|
2705
|
+
on.displayName = "Pagination";
|
|
2706
|
+
const dr = ({
|
|
2707
|
+
icon: e,
|
|
2708
|
+
title: t,
|
|
2709
|
+
description: o,
|
|
2710
|
+
action: r,
|
|
2711
|
+
className: a,
|
|
2712
|
+
...i
|
|
2713
|
+
}) => /* @__PURE__ */ m("div", { className: p("empty-state", a), ...i, children: [
|
|
2714
|
+
e && /* @__PURE__ */ n("div", { className: "empty-state__icon", children: e }),
|
|
2715
|
+
/* @__PURE__ */ n(Ue, { children: t }),
|
|
2716
|
+
o && /* @__PURE__ */ n($, { color: "subtle", children: o }),
|
|
2717
|
+
r && /* @__PURE__ */ n("div", { className: "empty-state__action", children: r })
|
|
2718
|
+
] }), rn = ({
|
|
2719
|
+
open: e,
|
|
2720
|
+
onClose: t,
|
|
2721
|
+
title: o,
|
|
2722
|
+
description: r,
|
|
2723
|
+
children: a,
|
|
2724
|
+
footer: i,
|
|
2725
|
+
size: c = "md",
|
|
2726
|
+
closeOnOverlayClick: s = !0,
|
|
2727
|
+
className: h
|
|
2728
|
+
}) => {
|
|
2729
|
+
const [d, u] = W(!1);
|
|
2730
|
+
return A(() => {
|
|
2731
|
+
if (!e) return;
|
|
2732
|
+
const f = (v) => {
|
|
2733
|
+
v.key === "Escape" && t();
|
|
2734
|
+
};
|
|
2735
|
+
return document.addEventListener("keydown", f), document.body.style.overflow = "hidden", u(!0), () => {
|
|
2736
|
+
document.removeEventListener("keydown", f), document.body.style.overflow = "";
|
|
2737
|
+
};
|
|
2738
|
+
}, [e, t]), !e || !d ? null : ne(
|
|
2739
|
+
/* @__PURE__ */ n(
|
|
2740
|
+
"div",
|
|
2741
|
+
{
|
|
2742
|
+
className: "modal-overlay",
|
|
2743
|
+
onClick: s ? t : void 0,
|
|
2744
|
+
children: /* @__PURE__ */ m(
|
|
2745
|
+
"div",
|
|
2746
|
+
{
|
|
2747
|
+
role: "dialog",
|
|
2748
|
+
"aria-modal": "true",
|
|
2749
|
+
"aria-labelledby": o ? "modal-title" : void 0,
|
|
2750
|
+
"aria-describedby": r ? "modal-description" : void 0,
|
|
2751
|
+
tabIndex: -1,
|
|
2752
|
+
className: p("modal", `modal--${c}`, h),
|
|
2753
|
+
onClick: (f) => f.stopPropagation(),
|
|
2754
|
+
children: [
|
|
2755
|
+
(o || r) && /* @__PURE__ */ m("div", { className: "modal-header", children: [
|
|
2756
|
+
/* @__PURE__ */ m("div", { children: [
|
|
2757
|
+
o && /* @__PURE__ */ n(pe, { id: "modal-title", className: "modal-title", children: o }),
|
|
2758
|
+
r && /* @__PURE__ */ n("p", { id: "modal-description", className: "modal-description", children: r })
|
|
2759
|
+
] }),
|
|
2760
|
+
/* @__PURE__ */ n(
|
|
2761
|
+
F,
|
|
2762
|
+
{
|
|
2763
|
+
icon: /* @__PURE__ */ n(_, { name: "close", size: 16 }),
|
|
2764
|
+
"aria-label": "Close modal",
|
|
2765
|
+
variant: "ghost",
|
|
2766
|
+
color: "default",
|
|
2767
|
+
size: "sm",
|
|
2768
|
+
onClick: t
|
|
2769
|
+
}
|
|
2770
|
+
)
|
|
2771
|
+
] }),
|
|
2772
|
+
a && /* @__PURE__ */ n("div", { className: "modal-body", children: a }),
|
|
2773
|
+
i && /* @__PURE__ */ n("div", { className: "modal-footer", children: i })
|
|
2774
|
+
]
|
|
2775
|
+
}
|
|
2776
|
+
)
|
|
2777
|
+
}
|
|
2778
|
+
),
|
|
2779
|
+
document.body
|
|
2780
|
+
);
|
|
2781
|
+
};
|
|
2782
|
+
rn.displayName = "Modal";
|
|
2783
|
+
const an = ({
|
|
2784
|
+
isOpen: e,
|
|
2785
|
+
onClose: t,
|
|
2786
|
+
title: o,
|
|
2787
|
+
placement: r = "right",
|
|
2788
|
+
children: a,
|
|
2789
|
+
footer: i,
|
|
2790
|
+
size: c = "md",
|
|
2791
|
+
className: s,
|
|
2792
|
+
closeOnOverlayClick: h = !0
|
|
2793
|
+
}) => {
|
|
2794
|
+
const [d, u] = W(!1);
|
|
2795
|
+
return A(() => (u(!0), e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
|
|
2796
|
+
document.body.style.overflow = "unset";
|
|
2797
|
+
}), [e]), d ? ne(
|
|
2798
|
+
/* @__PURE__ */ m(Q, { children: [
|
|
2799
|
+
e && /* @__PURE__ */ n("div", { className: "drawer-overlay", onClick: h ? t : void 0 }),
|
|
2800
|
+
/* @__PURE__ */ m(
|
|
2801
|
+
"div",
|
|
2802
|
+
{
|
|
2803
|
+
className: p(
|
|
2804
|
+
"drawer",
|
|
2805
|
+
`drawer--${r}`,
|
|
2806
|
+
`drawer--size-${c}`,
|
|
2807
|
+
e && "drawer--open",
|
|
2808
|
+
s
|
|
2809
|
+
),
|
|
2810
|
+
role: "dialog",
|
|
2811
|
+
"aria-modal": "true",
|
|
2812
|
+
"aria-hidden": !e,
|
|
2813
|
+
children: [
|
|
2814
|
+
/* @__PURE__ */ m("div", { className: "drawer-header", children: [
|
|
2815
|
+
o ? /* @__PURE__ */ n(pe, { className: "drawer-title", children: o }) : /* @__PURE__ */ n("span", {}),
|
|
2816
|
+
/* @__PURE__ */ n(
|
|
2817
|
+
F,
|
|
2818
|
+
{
|
|
2819
|
+
icon: /* @__PURE__ */ n(_, { name: "close", size: 16 }),
|
|
2820
|
+
variant: "ghost",
|
|
2821
|
+
size: "sm",
|
|
2822
|
+
onClick: t,
|
|
2823
|
+
"aria-label": "Fechar painel"
|
|
2824
|
+
}
|
|
2825
|
+
)
|
|
2826
|
+
] }),
|
|
2827
|
+
/* @__PURE__ */ n("div", { className: "drawer-body", children: a }),
|
|
2828
|
+
i && /* @__PURE__ */ n("div", { className: "drawer-footer", children: i })
|
|
2829
|
+
]
|
|
2830
|
+
}
|
|
2831
|
+
)
|
|
2832
|
+
] }),
|
|
2833
|
+
document.body
|
|
2834
|
+
) : null;
|
|
2835
|
+
};
|
|
2836
|
+
an.displayName = "Drawer";
|
|
2837
|
+
function hr({ content: e, placement: t = "top", children: o, delay: r = 300 }) {
|
|
2838
|
+
const a = ie(), i = Y(null), c = Y(), [s, h] = W(!1), [d, u] = W({ top: 0, left: 0 }), f = P(() => {
|
|
2839
|
+
if (!i.current) return;
|
|
2840
|
+
const k = i.current.getBoundingClientRect(), x = 10;
|
|
2841
|
+
if (t === "top") {
|
|
2842
|
+
u({ top: k.top + window.scrollY - x, left: k.left + k.width / 2 + window.scrollX });
|
|
2843
|
+
return;
|
|
2844
|
+
}
|
|
2845
|
+
if (t === "bottom") {
|
|
2846
|
+
u({ top: k.bottom + window.scrollY + x, left: k.left + k.width / 2 + window.scrollX });
|
|
2847
|
+
return;
|
|
2848
|
+
}
|
|
2849
|
+
if (t === "left") {
|
|
2850
|
+
u({ top: k.top + k.height / 2 + window.scrollY, left: k.left + window.scrollX - x });
|
|
2851
|
+
return;
|
|
2852
|
+
}
|
|
2853
|
+
u({ top: k.top + k.height / 2 + window.scrollY, left: k.right + window.scrollX + x });
|
|
2854
|
+
}, [t]), v = P(() => {
|
|
2855
|
+
c.current = window.setTimeout(() => {
|
|
2856
|
+
f(), h(!0);
|
|
2857
|
+
}, r);
|
|
2858
|
+
}, [r, f]), y = P(() => {
|
|
2859
|
+
window.clearTimeout(c.current), h(!1);
|
|
2860
|
+
}, []);
|
|
2861
|
+
A(() => {
|
|
2862
|
+
if (!s) return;
|
|
2863
|
+
const k = () => f();
|
|
2864
|
+
return window.addEventListener("scroll", k, !0), window.addEventListener("resize", k), () => {
|
|
2865
|
+
window.removeEventListener("scroll", k, !0), window.removeEventListener("resize", k);
|
|
2866
|
+
};
|
|
2867
|
+
}, [s, f]);
|
|
2868
|
+
const g = L.cloneElement(o, {
|
|
2869
|
+
ref: i,
|
|
2870
|
+
onMouseEnter: (k) => {
|
|
2871
|
+
o.props.onMouseEnter?.(k), v();
|
|
2872
|
+
},
|
|
2873
|
+
onMouseLeave: (k) => {
|
|
2874
|
+
o.props.onMouseLeave?.(k), y();
|
|
2875
|
+
},
|
|
2876
|
+
onFocus: (k) => {
|
|
2877
|
+
o.props.onFocus?.(k), v();
|
|
2878
|
+
},
|
|
2879
|
+
onBlur: (k) => {
|
|
2880
|
+
o.props.onBlur?.(k), y();
|
|
2881
|
+
},
|
|
2882
|
+
"aria-describedby": s ? a : o.props["aria-describedby"]
|
|
2883
|
+
});
|
|
2884
|
+
return /* @__PURE__ */ m(Q, { children: [
|
|
2885
|
+
g,
|
|
2886
|
+
s && ne(
|
|
2887
|
+
/* @__PURE__ */ n(
|
|
2888
|
+
"div",
|
|
2889
|
+
{
|
|
2890
|
+
id: a,
|
|
2891
|
+
className: p("tooltip", `tooltip--${t}`),
|
|
2892
|
+
style: { top: d.top, left: d.left },
|
|
2893
|
+
role: "tooltip",
|
|
2894
|
+
children: e
|
|
2895
|
+
}
|
|
2896
|
+
),
|
|
2897
|
+
document.body
|
|
2898
|
+
)
|
|
2899
|
+
] });
|
|
2900
|
+
}
|
|
2901
|
+
const ve = ee(null), ue = {
|
|
2902
|
+
success: /* @__PURE__ */ n(_, { name: "check", size: 16 }),
|
|
2903
|
+
warning: /* @__PURE__ */ n(_, { name: "warning", size: 16 }),
|
|
2904
|
+
danger: /* @__PURE__ */ n(_, { name: "close", size: 16 }),
|
|
2905
|
+
primary: /* @__PURE__ */ n(_, { name: "info", size: 16 })
|
|
2906
|
+
};
|
|
2907
|
+
function sn({ toast: e, onDismiss: t }) {
|
|
2908
|
+
const [o, r] = W(!1), a = P(() => {
|
|
2909
|
+
r(!0), setTimeout(() => t(e.id), 250);
|
|
2910
|
+
}, [e.id, t]);
|
|
2911
|
+
A(() => {
|
|
2912
|
+
const s = setTimeout(a, e.duration ?? 4e3);
|
|
2913
|
+
return () => clearTimeout(s);
|
|
2914
|
+
}, [a, e.duration]);
|
|
2915
|
+
const i = e.color ?? "primary", c = ue[i] || ue.primary;
|
|
2916
|
+
return /* @__PURE__ */ m("div", { className: p("toast", `toast--${i}`, o && "toast--exiting"), children: [
|
|
2917
|
+
/* @__PURE__ */ n("span", { className: "toast-icon", children: c }),
|
|
2918
|
+
/* @__PURE__ */ m("div", { className: "toast-content", children: [
|
|
2919
|
+
/* @__PURE__ */ n("p", { className: "toast-title", children: e.title }),
|
|
2920
|
+
e.description && /* @__PURE__ */ n("p", { className: "toast-description", children: e.description })
|
|
2921
|
+
] }),
|
|
2922
|
+
/* @__PURE__ */ n(
|
|
2923
|
+
F,
|
|
2924
|
+
{
|
|
2925
|
+
icon: /* @__PURE__ */ n(_, { name: "close", size: 14 }),
|
|
2926
|
+
"aria-label": "Dismiss notification",
|
|
2927
|
+
variant: "ghost",
|
|
2928
|
+
size: "sm",
|
|
2929
|
+
onClick: a,
|
|
2930
|
+
className: "toast-close"
|
|
2931
|
+
}
|
|
2932
|
+
)
|
|
2933
|
+
] });
|
|
2934
|
+
}
|
|
2935
|
+
const ln = ({
|
|
2936
|
+
children: e,
|
|
2937
|
+
position: t = "top-right",
|
|
2938
|
+
maxToasts: o = 5
|
|
2939
|
+
}) => {
|
|
2940
|
+
const [r, a] = W(!1), [i, c] = W([]);
|
|
2941
|
+
A(() => {
|
|
2942
|
+
a(!0);
|
|
2943
|
+
}, []);
|
|
2944
|
+
const s = P((d) => {
|
|
2945
|
+
const u = `toast-${Date.now()}-${Math.random().toString(36).slice(2)}`;
|
|
2946
|
+
c((f) => [...f.slice(-(o - 1)), { ...d, id: u }]);
|
|
2947
|
+
}, [o]), h = P((d) => {
|
|
2948
|
+
c((u) => u.filter((f) => f.id !== d));
|
|
2949
|
+
}, []);
|
|
2950
|
+
return /* @__PURE__ */ m(ve.Provider, { value: { toast: s, dismiss: h }, children: [
|
|
2951
|
+
e,
|
|
2952
|
+
r && ne(
|
|
2953
|
+
/* @__PURE__ */ n("div", { className: p("toast-container", `toast-container--${t}`), children: i.map((d) => /* @__PURE__ */ n(sn, { toast: d, onDismiss: h }, d.id)) }),
|
|
2954
|
+
document.body
|
|
2955
|
+
)
|
|
2956
|
+
] });
|
|
2957
|
+
};
|
|
2958
|
+
function ur() {
|
|
2959
|
+
const e = J(ve);
|
|
2960
|
+
if (!e) throw new Error("useToast must be used inside <ToastProvider>");
|
|
2961
|
+
return e;
|
|
2962
|
+
}
|
|
2963
|
+
const cn = ({
|
|
2964
|
+
striped: e = !1,
|
|
2965
|
+
hover: t = !0,
|
|
2966
|
+
compact: o = !1,
|
|
2967
|
+
stickyHeader: r = !1,
|
|
2968
|
+
className: a,
|
|
2969
|
+
containerClassName: i,
|
|
2970
|
+
children: c,
|
|
2971
|
+
...s
|
|
2972
|
+
}) => /* @__PURE__ */ n("div", { className: p(
|
|
2973
|
+
"table-container",
|
|
2974
|
+
r && "table-container--sticky-header",
|
|
2975
|
+
i
|
|
2976
|
+
), children: /* @__PURE__ */ n(
|
|
2977
|
+
"table",
|
|
2978
|
+
{
|
|
2979
|
+
className: p(
|
|
2980
|
+
"table",
|
|
2981
|
+
e && "table--striped",
|
|
2982
|
+
t && "table--hover",
|
|
2983
|
+
o && "table--compact",
|
|
2984
|
+
a
|
|
2985
|
+
),
|
|
2986
|
+
...s,
|
|
2987
|
+
children: c
|
|
2988
|
+
}
|
|
2989
|
+
) }), dn = (e) => /* @__PURE__ */ n("thead", { ...e }), hn = (e) => /* @__PURE__ */ n("tbody", { ...e }), un = (e) => /* @__PURE__ */ n("tr", { ...e }), pn = (e) => /* @__PURE__ */ n("th", { ...e }), mn = (e) => /* @__PURE__ */ n("td", { ...e });
|
|
2990
|
+
cn.displayName = "Table";
|
|
2991
|
+
dn.displayName = "Thead";
|
|
2992
|
+
hn.displayName = "Tbody";
|
|
2993
|
+
un.displayName = "Tr";
|
|
2994
|
+
pn.displayName = "Th";
|
|
2995
|
+
mn.displayName = "Td";
|
|
2996
|
+
const be = ee({
|
|
2997
|
+
collapsed: !1,
|
|
2998
|
+
toggleCollapsed: () => {
|
|
2999
|
+
},
|
|
3000
|
+
searchTerm: "",
|
|
3001
|
+
setSearchTerm: () => {
|
|
3002
|
+
},
|
|
3003
|
+
enableSearch: !1,
|
|
3004
|
+
searchPlaceholder: "Buscar item"
|
|
3005
|
+
});
|
|
3006
|
+
function ce() {
|
|
3007
|
+
return J(be);
|
|
3008
|
+
}
|
|
3009
|
+
function K(e) {
|
|
3010
|
+
return typeof e == "string" || typeof e == "number" ? String(e) : Array.isArray(e) ? e.map(K).join(" ") : L.isValidElement(e) ? K(e.props.children) : "";
|
|
3011
|
+
}
|
|
3012
|
+
function ye(e) {
|
|
3013
|
+
let t = 0;
|
|
3014
|
+
return L.Children.forEach(e, (o) => {
|
|
3015
|
+
if (L.isValidElement(o)) {
|
|
3016
|
+
if (o.type === de) {
|
|
3017
|
+
t += 1;
|
|
3018
|
+
return;
|
|
3019
|
+
}
|
|
3020
|
+
t += ye(o.props.children);
|
|
3021
|
+
}
|
|
3022
|
+
}), t;
|
|
3023
|
+
}
|
|
3024
|
+
function ge(e) {
|
|
3025
|
+
for (const t of L.Children.toArray(e)) {
|
|
3026
|
+
if (!L.isValidElement(t))
|
|
3027
|
+
continue;
|
|
3028
|
+
if (t.type === de)
|
|
3029
|
+
return t;
|
|
3030
|
+
const o = ge(t.props.children);
|
|
3031
|
+
if (o)
|
|
3032
|
+
return o;
|
|
3033
|
+
}
|
|
3034
|
+
return null;
|
|
3035
|
+
}
|
|
3036
|
+
function kn({
|
|
3037
|
+
collapsed: e,
|
|
3038
|
+
defaultCollapsed: t = !1,
|
|
3039
|
+
onToggle: o,
|
|
3040
|
+
className: r,
|
|
3041
|
+
children: a,
|
|
3042
|
+
searchThreshold: i = 12,
|
|
3043
|
+
searchPlaceholder: c = "Buscar item",
|
|
3044
|
+
...s
|
|
3045
|
+
}) {
|
|
3046
|
+
const [h, d] = W(t), [u, f] = W(""), v = e !== void 0, y = v ? e : h, k = G(() => ye(a), [a]) > i && !y, x = L.Children.toArray(a), b = x.findIndex(
|
|
3047
|
+
(j) => L.isValidElement(j) && j.type === xe
|
|
3048
|
+
), M = () => {
|
|
3049
|
+
const j = !y;
|
|
3050
|
+
v || d(j), o?.(j);
|
|
3051
|
+
}, I = G(
|
|
3052
|
+
() => ({
|
|
3053
|
+
collapsed: y,
|
|
3054
|
+
toggleCollapsed: M,
|
|
3055
|
+
searchTerm: u,
|
|
3056
|
+
setSearchTerm: f,
|
|
3057
|
+
enableSearch: k,
|
|
3058
|
+
searchPlaceholder: c
|
|
3059
|
+
}),
|
|
3060
|
+
[y, u, k, c]
|
|
3061
|
+
);
|
|
3062
|
+
return /* @__PURE__ */ n(be.Provider, { value: I, children: /* @__PURE__ */ m(
|
|
3063
|
+
"aside",
|
|
3064
|
+
{
|
|
3065
|
+
className: p("sidebar", y && "sidebar--collapsed", r),
|
|
3066
|
+
...s,
|
|
3067
|
+
children: [
|
|
3068
|
+
b === -1 ? a : x.slice(0, b),
|
|
3069
|
+
b === -1 ? null : x.slice(b)
|
|
3070
|
+
]
|
|
3071
|
+
}
|
|
3072
|
+
) });
|
|
3073
|
+
}
|
|
3074
|
+
function fn({
|
|
3075
|
+
icon: e,
|
|
3076
|
+
logo: t,
|
|
3077
|
+
collapsible: o = !0,
|
|
3078
|
+
className: r,
|
|
3079
|
+
children: a,
|
|
3080
|
+
onClick: i,
|
|
3081
|
+
...c
|
|
3082
|
+
}) {
|
|
3083
|
+
const { collapsed: s, toggleCollapsed: h, enableSearch: d, searchTerm: u, setSearchTerm: f, searchPlaceholder: v } = ce(), y = (g) => {
|
|
3084
|
+
o && h(), i?.(g);
|
|
3085
|
+
};
|
|
3086
|
+
return /* @__PURE__ */ m(Q, { children: [
|
|
3087
|
+
/* @__PURE__ */ m(
|
|
3088
|
+
"div",
|
|
3089
|
+
{
|
|
3090
|
+
className: p("sidebar__header", r),
|
|
3091
|
+
onClick: y,
|
|
3092
|
+
...c,
|
|
3093
|
+
children: [
|
|
3094
|
+
/* @__PURE__ */ n("div", { className: "sidebar__header-icon", children: e ?? /* @__PURE__ */ n(_, { name: "menu" }) }),
|
|
3095
|
+
!s && /* @__PURE__ */ n("div", { className: "sidebar__header-content", children: t ?? a })
|
|
3096
|
+
]
|
|
3097
|
+
}
|
|
3098
|
+
),
|
|
3099
|
+
d ? /* @__PURE__ */ n("div", { className: "sidebar__search sidebar__search--header", children: /* @__PURE__ */ n(
|
|
3100
|
+
se,
|
|
3101
|
+
{
|
|
3102
|
+
value: u,
|
|
3103
|
+
onChange: (g) => f(g.target.value),
|
|
3104
|
+
placeholder: v,
|
|
3105
|
+
prefix: /* @__PURE__ */ n(_, { name: "search", size: 16 }),
|
|
3106
|
+
size: "sm",
|
|
3107
|
+
full: !0
|
|
3108
|
+
}
|
|
3109
|
+
) }) : null
|
|
3110
|
+
] });
|
|
3111
|
+
}
|
|
3112
|
+
function de({
|
|
3113
|
+
icon: e,
|
|
3114
|
+
active: t = !1,
|
|
3115
|
+
as: o,
|
|
3116
|
+
className: r,
|
|
3117
|
+
children: a,
|
|
3118
|
+
searchText: i,
|
|
3119
|
+
...c
|
|
3120
|
+
}) {
|
|
3121
|
+
const { collapsed: s, searchTerm: h } = ce(), d = o || "button", u = (i ?? K(a)).trim().toLocaleLowerCase(), f = h.trim().toLocaleLowerCase();
|
|
3122
|
+
return !f || u.includes(f) ? /* @__PURE__ */ m(
|
|
3123
|
+
d,
|
|
3124
|
+
{
|
|
3125
|
+
className: p(
|
|
3126
|
+
"sidebar__item",
|
|
3127
|
+
t && "sidebar__item--active",
|
|
3128
|
+
r
|
|
3129
|
+
),
|
|
3130
|
+
...c,
|
|
3131
|
+
children: [
|
|
3132
|
+
e ? /* @__PURE__ */ n("span", { className: "sidebar__item-icon", children: e }) : null,
|
|
3133
|
+
!s && /* @__PURE__ */ n("span", { className: "sidebar__item-label", children: a })
|
|
3134
|
+
]
|
|
3135
|
+
}
|
|
3136
|
+
) : null;
|
|
3137
|
+
}
|
|
3138
|
+
function vn({
|
|
3139
|
+
title: e,
|
|
3140
|
+
leftIcon: t,
|
|
3141
|
+
defaultOpen: o = !0,
|
|
3142
|
+
open: r,
|
|
3143
|
+
onOpenChange: a,
|
|
3144
|
+
collapsible: i = !0,
|
|
3145
|
+
className: c,
|
|
3146
|
+
children: s,
|
|
3147
|
+
...h
|
|
3148
|
+
}) {
|
|
3149
|
+
const { collapsed: d, searchTerm: u } = ce(), [f, v] = W(o), y = r !== void 0, g = y ? r : f, k = u.trim().toLocaleLowerCase(), x = K(s).toLocaleLowerCase(), b = !k || x.includes(k), M = !!(k && b), I = d ? !1 : M || g, j = ge(s);
|
|
3150
|
+
if (!b)
|
|
3151
|
+
return null;
|
|
3152
|
+
const N = (S) => {
|
|
3153
|
+
if (d) {
|
|
3154
|
+
const z = j?.props?.onClick;
|
|
3155
|
+
typeof z == "function" && z(S);
|
|
3156
|
+
return;
|
|
3157
|
+
}
|
|
3158
|
+
if (!i || M)
|
|
3159
|
+
return;
|
|
3160
|
+
const w = !g;
|
|
3161
|
+
y || v(w), a?.(w);
|
|
3162
|
+
};
|
|
3163
|
+
return /* @__PURE__ */ m(
|
|
3164
|
+
"div",
|
|
3165
|
+
{
|
|
3166
|
+
className: p("sidebar__group", I && "sidebar__group--open", c),
|
|
3167
|
+
...h,
|
|
3168
|
+
children: [
|
|
3169
|
+
/* @__PURE__ */ m(
|
|
3170
|
+
"button",
|
|
3171
|
+
{
|
|
3172
|
+
type: "button",
|
|
3173
|
+
className: "sidebar__group-trigger",
|
|
3174
|
+
onClick: N,
|
|
3175
|
+
"aria-expanded": I,
|
|
3176
|
+
disabled: !i || M,
|
|
3177
|
+
children: [
|
|
3178
|
+
t ? /* @__PURE__ */ n("span", { className: "sidebar__group-left-icon", children: t }) : null,
|
|
3179
|
+
d ? null : /* @__PURE__ */ n("span", { className: "sidebar__group-title", children: e }),
|
|
3180
|
+
/* @__PURE__ */ n("span", { className: "sidebar__group-icon", children: /* @__PURE__ */ n(_, { name: "chevron-down", size: 16 }) })
|
|
3181
|
+
]
|
|
3182
|
+
}
|
|
3183
|
+
),
|
|
3184
|
+
I ? /* @__PURE__ */ n("div", { className: "sidebar__group-content", children: s }) : null
|
|
3185
|
+
]
|
|
3186
|
+
}
|
|
3187
|
+
);
|
|
3188
|
+
}
|
|
3189
|
+
function xe({
|
|
3190
|
+
className: e,
|
|
3191
|
+
children: t,
|
|
3192
|
+
...o
|
|
3193
|
+
}) {
|
|
3194
|
+
return /* @__PURE__ */ n("div", { className: p("sidebar__footer", e), ...o, children: t });
|
|
3195
|
+
}
|
|
3196
|
+
const bn = Object.assign(kn, {
|
|
3197
|
+
Header: fn,
|
|
3198
|
+
Item: de,
|
|
3199
|
+
Group: vn,
|
|
3200
|
+
Footer: xe
|
|
3201
|
+
});
|
|
3202
|
+
bn.displayName = "Sidebar";
|
|
3203
|
+
const we = ee(void 0), yn = () => {
|
|
3204
|
+
const e = J(we);
|
|
3205
|
+
if (!e)
|
|
3206
|
+
throw new Error("useTheme must be used within a ThemeProvider");
|
|
3207
|
+
return e;
|
|
3208
|
+
}, pr = ({
|
|
3209
|
+
children: e,
|
|
3210
|
+
defaultTheme: t = "dark",
|
|
3211
|
+
storageKey: o = "theme",
|
|
3212
|
+
toastPosition: r,
|
|
3213
|
+
toastMaxToasts: a
|
|
3214
|
+
}) => {
|
|
3215
|
+
const [i, c] = W(() => localStorage.getItem(o) || t);
|
|
3216
|
+
A(() => {
|
|
3217
|
+
const d = window.document.documentElement;
|
|
3218
|
+
d.classList.remove("theme-light", "theme-dark"), d.classList.add(`theme-${i}`), d.setAttribute("data-theme", i), localStorage.setItem(o, i);
|
|
3219
|
+
}, [i, o]);
|
|
3220
|
+
const s = () => {
|
|
3221
|
+
c((d) => d === "light" ? "dark" : "light");
|
|
3222
|
+
}, h = (d) => {
|
|
3223
|
+
c(d);
|
|
3224
|
+
};
|
|
3225
|
+
return /* @__PURE__ */ n(we.Provider, { value: { theme: i, toggleTheme: s, setTheme: h }, children: /* @__PURE__ */ n(ln, { position: r, maxToasts: a, children: e }) });
|
|
3226
|
+
}, gn = ({
|
|
3227
|
+
logo: e,
|
|
3228
|
+
navItems: t = [],
|
|
3229
|
+
navPosition: o = "center",
|
|
3230
|
+
extraContent: r,
|
|
3231
|
+
themeToggle: a = !1,
|
|
3232
|
+
sticky: i = !1,
|
|
3233
|
+
className: c,
|
|
3234
|
+
children: s,
|
|
3235
|
+
contentInside: h = !1,
|
|
3236
|
+
...d
|
|
3237
|
+
}) => {
|
|
3238
|
+
const { theme: u, toggleTheme: f } = yn(), v = typeof window < "u" ? window.location.pathname : "", y = (k) => {
|
|
3239
|
+
const x = k.split("?")[0].split("#")[0];
|
|
3240
|
+
return x.endsWith("/") && x !== "/" ? x.slice(0, -1) : x;
|
|
3241
|
+
}, g = () => /* @__PURE__ */ n(O, { as: "nav", align: "center", gap: "5", className: "topbar__nav", children: t.map((k, x) => {
|
|
3242
|
+
const b = k.to ?? k.href, M = k.active ?? (b ? y(b) === y(v) : !1);
|
|
3243
|
+
return b ? /* @__PURE__ */ n(
|
|
3244
|
+
le,
|
|
3245
|
+
{
|
|
3246
|
+
href: b,
|
|
3247
|
+
className: p("topbar__nav-item", M && "topbar__nav-item--active"),
|
|
3248
|
+
active: M,
|
|
3249
|
+
onClick: k.onClick,
|
|
3250
|
+
children: k.label
|
|
3251
|
+
},
|
|
3252
|
+
`${k.label ?? "link"}-${x}`
|
|
3253
|
+
) : /* @__PURE__ */ n(
|
|
3254
|
+
"button",
|
|
3255
|
+
{
|
|
3256
|
+
type: "button",
|
|
3257
|
+
className: p("topbar__nav-item", M && "topbar__nav-item--active"),
|
|
3258
|
+
onClick: k.onClick,
|
|
3259
|
+
children: k.label
|
|
3260
|
+
},
|
|
3261
|
+
`${k.label ?? "button"}-${x}`
|
|
3262
|
+
);
|
|
3263
|
+
}) });
|
|
3264
|
+
return /* @__PURE__ */ m(
|
|
3265
|
+
O,
|
|
3266
|
+
{
|
|
3267
|
+
as: "header",
|
|
3268
|
+
align: "center",
|
|
3269
|
+
justify: "space-between",
|
|
3270
|
+
className: p(
|
|
3271
|
+
"topbar",
|
|
3272
|
+
i && "topbar--sticky",
|
|
3273
|
+
o === "right" && "topbar--nav-right",
|
|
3274
|
+
h && "topbar--with-children",
|
|
3275
|
+
c
|
|
3276
|
+
),
|
|
3277
|
+
...d,
|
|
3278
|
+
children: [
|
|
3279
|
+
/* @__PURE__ */ n(O, { align: "center", gap: "4", className: "topbar__left", children: e && /* @__PURE__ */ n("div", { className: "topbar__logo", children: e }) }),
|
|
3280
|
+
o === "center" && t.length > 0 && /* @__PURE__ */ n(O, { align: "center", justify: "center", className: "topbar__center", children: g() }),
|
|
3281
|
+
h && s && /* @__PURE__ */ n("div", { className: "topbar__content", children: s }),
|
|
3282
|
+
/* @__PURE__ */ m(O, { align: "center", gap: "4", className: "topbar__right", children: [
|
|
3283
|
+
o === "right" && t.length > 0 && g(),
|
|
3284
|
+
r,
|
|
3285
|
+
a && /* @__PURE__ */ n(
|
|
3286
|
+
F,
|
|
3287
|
+
{
|
|
3288
|
+
icon: u === "dark" ? /* @__PURE__ */ n(_, { name: "sun", size: 16 }) : /* @__PURE__ */ n(_, { name: "moon", size: 16 }),
|
|
3289
|
+
variant: "ghost",
|
|
3290
|
+
size: "sm",
|
|
3291
|
+
label: "Toggle theme",
|
|
3292
|
+
onClick: f
|
|
3293
|
+
}
|
|
3294
|
+
)
|
|
3295
|
+
] }),
|
|
3296
|
+
!h && s && /* @__PURE__ */ n("div", { className: "topbar__children", children: s })
|
|
3297
|
+
]
|
|
3298
|
+
}
|
|
3299
|
+
);
|
|
3300
|
+
};
|
|
3301
|
+
gn.displayName = "TopBar";
|
|
3302
|
+
const mr = ({
|
|
3303
|
+
title: e,
|
|
3304
|
+
description: t,
|
|
3305
|
+
showBack: o = !1,
|
|
3306
|
+
onBack: r,
|
|
3307
|
+
width: a,
|
|
3308
|
+
action: i,
|
|
3309
|
+
className: c,
|
|
3310
|
+
...s
|
|
3311
|
+
}) => /* @__PURE__ */ m("div", { className: p("page-header", c), ...s, children: [
|
|
3312
|
+
/* @__PURE__ */ m("div", { className: "page-header__left", children: [
|
|
3313
|
+
o && /* @__PURE__ */ n(
|
|
3314
|
+
F,
|
|
3315
|
+
{
|
|
3316
|
+
variant: "ghost",
|
|
3317
|
+
size: "sm",
|
|
3318
|
+
icon: /* @__PURE__ */ n(_, { name: "chevron-left", size: 16 }),
|
|
3319
|
+
onClick: r,
|
|
3320
|
+
label: "Back"
|
|
3321
|
+
}
|
|
3322
|
+
),
|
|
3323
|
+
/* @__PURE__ */ m("div", { className: "page-header__content", children: [
|
|
3324
|
+
/* @__PURE__ */ n(Ye, { weight: "bold", children: e }),
|
|
3325
|
+
t && /* @__PURE__ */ n($, { color: "subtle", style: { width: `${a || "100%"}` }, children: t })
|
|
3326
|
+
] })
|
|
3327
|
+
] }),
|
|
3328
|
+
i && /* @__PURE__ */ n("div", { className: "page-header__right", children: i })
|
|
3329
|
+
] }), xn = ({
|
|
3330
|
+
items: e,
|
|
3331
|
+
separator: t = "/",
|
|
3332
|
+
className: o
|
|
3333
|
+
}) => /* @__PURE__ */ n("nav", { className: p("breadcrumb", o), "aria-label": "Breadcrumb", children: /* @__PURE__ */ n("ol", { className: "breadcrumb-list", children: e.map((r, a) => {
|
|
3334
|
+
const i = a === e.length - 1;
|
|
3335
|
+
return /* @__PURE__ */ m("li", { className: "breadcrumb-item", children: [
|
|
3336
|
+
r.href && !i ? /* @__PURE__ */ m(le, { href: r.href, color: "neutral", className: "breadcrumb-link", children: [
|
|
3337
|
+
r.icon && /* @__PURE__ */ n("span", { className: "breadcrumb-icon", children: r.icon }),
|
|
3338
|
+
r.label
|
|
3339
|
+
] }) : /* @__PURE__ */ m(
|
|
3340
|
+
"span",
|
|
3341
|
+
{
|
|
3342
|
+
className: p("breadcrumb-link", i && "breadcrumb-current"),
|
|
3343
|
+
"aria-current": i ? "page" : void 0,
|
|
3344
|
+
children: [
|
|
3345
|
+
r.icon && /* @__PURE__ */ n("span", { className: "breadcrumb-icon", children: r.icon }),
|
|
3346
|
+
r.label
|
|
3347
|
+
]
|
|
3348
|
+
}
|
|
3349
|
+
),
|
|
3350
|
+
!i && /* @__PURE__ */ n("span", { className: "breadcrumb-separator", children: t })
|
|
3351
|
+
] }, a);
|
|
3352
|
+
}) }) });
|
|
3353
|
+
xn.displayName = "Breadcrumb";
|
|
3354
|
+
const wn = ({
|
|
3355
|
+
value: e,
|
|
3356
|
+
max: t = 100,
|
|
3357
|
+
size: o = "md",
|
|
3358
|
+
color: r,
|
|
3359
|
+
animated: a = !1,
|
|
3360
|
+
showValue: i = !1,
|
|
3361
|
+
label: c,
|
|
3362
|
+
className: s,
|
|
3363
|
+
style: h,
|
|
3364
|
+
...d
|
|
3365
|
+
}) => {
|
|
3366
|
+
const u = Math.min(100, Math.max(0, e / t * 100));
|
|
3367
|
+
return /* @__PURE__ */ m(
|
|
3368
|
+
"div",
|
|
3369
|
+
{
|
|
3370
|
+
className: p("progress-wrapper", s),
|
|
3371
|
+
style: { "--progress-color": D(r), ...h ?? {} },
|
|
3372
|
+
...d,
|
|
3373
|
+
children: [
|
|
3374
|
+
(c || i) && /* @__PURE__ */ m("div", { className: "progress-label", children: [
|
|
3375
|
+
c && /* @__PURE__ */ n("span", { children: c }),
|
|
3376
|
+
i && /* @__PURE__ */ m("span", { className: "progress-value", children: [
|
|
3377
|
+
Math.round(u),
|
|
3378
|
+
"%"
|
|
3379
|
+
] })
|
|
3380
|
+
] }),
|
|
3381
|
+
/* @__PURE__ */ n(
|
|
3382
|
+
"div",
|
|
3383
|
+
{
|
|
3384
|
+
className: p("progress", `progress--${o}`, a && "progress--animated"),
|
|
3385
|
+
role: "progressbar",
|
|
3386
|
+
"aria-valuenow": e,
|
|
3387
|
+
"aria-valuemin": 0,
|
|
3388
|
+
"aria-valuemax": t,
|
|
3389
|
+
children: /* @__PURE__ */ n("div", { className: "progress-bar", style: { width: `${u}%` } })
|
|
3390
|
+
}
|
|
3391
|
+
)
|
|
3392
|
+
]
|
|
3393
|
+
}
|
|
3394
|
+
);
|
|
3395
|
+
};
|
|
3396
|
+
wn.displayName = "Progress";
|
|
3397
|
+
const Ln = ({
|
|
3398
|
+
tabs: e,
|
|
3399
|
+
defaultValue: t,
|
|
3400
|
+
value: o,
|
|
3401
|
+
onChange: r,
|
|
3402
|
+
className: a,
|
|
3403
|
+
variant: i = "default",
|
|
3404
|
+
size: c = "md"
|
|
3405
|
+
}) => {
|
|
3406
|
+
const [s, h] = W(t ?? e[0]?.value ?? ""), d = o ?? s, u = (v) => {
|
|
3407
|
+
o === void 0 && h(v), r?.(v);
|
|
3408
|
+
}, f = e.find((v) => v.value === d);
|
|
3409
|
+
return /* @__PURE__ */ m("div", { className: p("tabs", `tabs--${i}`, `tabs--${c}`, a), children: [
|
|
3410
|
+
/* @__PURE__ */ n("div", { className: "tabs-list", role: "tablist", children: e.map((v) => {
|
|
3411
|
+
const y = d === v.value, g = p(
|
|
3412
|
+
"tabs-trigger",
|
|
3413
|
+
y && "tabs-trigger--active"
|
|
3414
|
+
);
|
|
3415
|
+
return v.href ? /* @__PURE__ */ n(
|
|
3416
|
+
"a",
|
|
3417
|
+
{
|
|
3418
|
+
role: "tab",
|
|
3419
|
+
href: v.href,
|
|
3420
|
+
"aria-selected": y,
|
|
3421
|
+
className: g,
|
|
3422
|
+
onClick: (k) => {
|
|
3423
|
+
v.disabled ? k.preventDefault() : u(v.value);
|
|
3424
|
+
},
|
|
3425
|
+
children: v.label
|
|
3426
|
+
},
|
|
3427
|
+
v.value
|
|
3428
|
+
) : /* @__PURE__ */ n(
|
|
3429
|
+
"button",
|
|
3430
|
+
{
|
|
3431
|
+
role: "tab",
|
|
3432
|
+
type: "button",
|
|
3433
|
+
disabled: v.disabled,
|
|
3434
|
+
"aria-selected": y,
|
|
3435
|
+
className: g,
|
|
3436
|
+
onClick: () => u(v.value),
|
|
3437
|
+
children: v.label
|
|
3438
|
+
},
|
|
3439
|
+
v.value
|
|
3440
|
+
);
|
|
3441
|
+
}) }),
|
|
3442
|
+
/* @__PURE__ */ n(
|
|
3443
|
+
"div",
|
|
3444
|
+
{
|
|
3445
|
+
role: "tabpanel",
|
|
3446
|
+
className: "tabs-panel",
|
|
3447
|
+
tabIndex: 0,
|
|
3448
|
+
children: f?.content
|
|
3449
|
+
}
|
|
3450
|
+
)
|
|
3451
|
+
] });
|
|
3452
|
+
};
|
|
3453
|
+
Ln.displayName = "Tabs";
|
|
3454
|
+
const _n = ({ title: e, description: t, date: o, icon: r, src: a, name: i }) => /* @__PURE__ */ m("div", { className: p("timeline-item", !r && !a && !i && "timeline-item--dot"), children: [
|
|
3455
|
+
/* @__PURE__ */ m("div", { className: "timeline-item__aside", children: [
|
|
3456
|
+
/* @__PURE__ */ n("div", { className: "timeline-item__marker", children: a || i ? /* @__PURE__ */ n(ke, { src: a, name: i, size: "sm" }) : r ? /* @__PURE__ */ n("div", { className: "timeline-item__icon", children: r }) : /* @__PURE__ */ n("div", { className: "timeline-item__dot" }) }),
|
|
3457
|
+
/* @__PURE__ */ n("div", { className: "timeline-item__line" })
|
|
3458
|
+
] }),
|
|
3459
|
+
/* @__PURE__ */ m("div", { className: "timeline-item__content", children: [
|
|
3460
|
+
/* @__PURE__ */ m("div", { className: "timeline-item__header", children: [
|
|
3461
|
+
/* @__PURE__ */ n($, { weight: "medium", children: e }),
|
|
3462
|
+
o && /* @__PURE__ */ n($, { size: "sm", color: "subtle", children: o })
|
|
3463
|
+
] }),
|
|
3464
|
+
t && /* @__PURE__ */ n("div", { className: "timeline-item__description", children: /* @__PURE__ */ n($, { color: "subtle", children: t }) })
|
|
3465
|
+
] })
|
|
3466
|
+
] }), Nn = ({ children: e, className: t, ...o }) => /* @__PURE__ */ n("div", { className: p("timeline", t), ...o, children: e });
|
|
3467
|
+
Nn.displayName = "Timeline";
|
|
3468
|
+
_n.displayName = "TimelineItem";
|
|
3469
|
+
export {
|
|
3470
|
+
Je as Accordion,
|
|
3471
|
+
Qe as AccordionItem,
|
|
3472
|
+
jn as ActivityIcon,
|
|
3473
|
+
Wn as AlertCircleIcon,
|
|
3474
|
+
zn as AlertTriangleIcon,
|
|
3475
|
+
$n as AlignHorizontalIcon,
|
|
3476
|
+
Sn as AlignJustifyIcon,
|
|
3477
|
+
Tn as AppWindowIcon,
|
|
3478
|
+
An as ArrowDownIcon,
|
|
3479
|
+
Dn as ArrowLeftIcon,
|
|
3480
|
+
Hn as ArrowRightIcon,
|
|
3481
|
+
Vn as ArrowUpIcon,
|
|
3482
|
+
ke as Avatar,
|
|
3483
|
+
nn as Badge,
|
|
3484
|
+
En as BadgeIcon,
|
|
3485
|
+
Rn as BatteryIcon,
|
|
3486
|
+
Fn as BellIcon,
|
|
3487
|
+
On as BluetoothIcon,
|
|
3488
|
+
Pn as BookIcon,
|
|
3489
|
+
or as Box,
|
|
3490
|
+
Yn as BoxIcon,
|
|
3491
|
+
xn as Breadcrumb,
|
|
3492
|
+
X as Button,
|
|
3493
|
+
Un as CalendarIcon,
|
|
3494
|
+
qn as CameraIcon,
|
|
3495
|
+
Jo as Card,
|
|
3496
|
+
nr as CardBody,
|
|
3497
|
+
tr as CardFooter,
|
|
3498
|
+
er as CardHeader,
|
|
3499
|
+
Zn as CheckIcon,
|
|
3500
|
+
Gn as CheckSquareIcon,
|
|
3501
|
+
Oe as Checkbox,
|
|
3502
|
+
Xn as ChevronDownIcon,
|
|
3503
|
+
et as ChevronIcon,
|
|
3504
|
+
Kn as ChevronLeftIcon,
|
|
3505
|
+
Qn as ChevronRightIcon,
|
|
3506
|
+
Jn as ChevronUpIcon,
|
|
3507
|
+
nt as CircleDotIcon,
|
|
3508
|
+
tt as ClockIcon,
|
|
3509
|
+
ot as CloseIcon,
|
|
3510
|
+
rt as CloudIcon,
|
|
3511
|
+
en as Code,
|
|
3512
|
+
it as CodeIcon,
|
|
3513
|
+
at as ComponentIcon,
|
|
3514
|
+
ir as Container,
|
|
3515
|
+
st as CopyIcon,
|
|
3516
|
+
lt as CreditCardIcon,
|
|
3517
|
+
ct as DatabaseIcon,
|
|
3518
|
+
Ve as DatePicker,
|
|
3519
|
+
sr as Divider,
|
|
3520
|
+
dt as DownloadIcon,
|
|
3521
|
+
an as Drawer,
|
|
3522
|
+
ht as EditIcon,
|
|
3523
|
+
dr as EmptyState,
|
|
3524
|
+
ut as ExternalLinkIcon,
|
|
3525
|
+
mt as EyeIcon,
|
|
3526
|
+
pt as EyeOffIcon,
|
|
3527
|
+
ft as FileIcon,
|
|
3528
|
+
kt as FileTextIcon,
|
|
3529
|
+
Xo as FileUpload,
|
|
3530
|
+
vt as FilterIcon,
|
|
3531
|
+
O as Flex,
|
|
3532
|
+
bt as FolderIcon,
|
|
3533
|
+
H as FormField,
|
|
3534
|
+
yt as FormInputIcon,
|
|
3535
|
+
gt as GhostIcon,
|
|
3536
|
+
xt as GiftIcon,
|
|
3537
|
+
wt as GitCommitIcon,
|
|
3538
|
+
Lt as GithubIcon,
|
|
3539
|
+
rr as Grid,
|
|
3540
|
+
_t as GridIcon,
|
|
3541
|
+
Nt as GripIcon,
|
|
3542
|
+
Ye as Heading,
|
|
3543
|
+
Ct as Heading1Icon,
|
|
3544
|
+
pe as Heading2,
|
|
3545
|
+
Ko as Heading3,
|
|
3546
|
+
Ue as Heading4,
|
|
3547
|
+
qe as Heading5,
|
|
3548
|
+
Qo as Heading6,
|
|
3549
|
+
Mt as HeartIcon,
|
|
3550
|
+
It as HelpCircleIcon,
|
|
3551
|
+
Bt as HistoryIcon,
|
|
3552
|
+
jt as HomeIcon,
|
|
3553
|
+
_ as Icon,
|
|
3554
|
+
We as IconBase,
|
|
3555
|
+
F as IconButton,
|
|
3556
|
+
cr as Image,
|
|
3557
|
+
Wt as ImageIcon,
|
|
3558
|
+
zt as InfoIcon,
|
|
3559
|
+
se as Input,
|
|
3560
|
+
$t as LabIcon,
|
|
3561
|
+
St as LaptopIcon,
|
|
3562
|
+
At as LayoutIcon,
|
|
3563
|
+
Tt as LayoutTemplateIcon,
|
|
3564
|
+
le as Link,
|
|
3565
|
+
Dt as LinkIcon,
|
|
3566
|
+
Ht as LinkedinIcon,
|
|
3567
|
+
Xe as List,
|
|
3568
|
+
Vt as ListChecksIcon,
|
|
3569
|
+
Et as ListCollapseIcon,
|
|
3570
|
+
Rt as ListFilterIcon,
|
|
3571
|
+
Ft as ListIcon,
|
|
3572
|
+
ae as Loader,
|
|
3573
|
+
Ot as Loader2Icon,
|
|
3574
|
+
Pt as LockIcon,
|
|
3575
|
+
Yt as LogInIcon,
|
|
3576
|
+
Ut as LogOutIcon,
|
|
3577
|
+
qt as MailIcon,
|
|
3578
|
+
Gt as MapPinIcon,
|
|
3579
|
+
Zt as MenuIcon,
|
|
3580
|
+
Xt as MessageCircleIcon,
|
|
3581
|
+
Kt as MessageSquareIcon,
|
|
3582
|
+
Qt as MicIcon,
|
|
3583
|
+
Jt as MilestoneIcon,
|
|
3584
|
+
eo as MinusIcon,
|
|
3585
|
+
rn as Modal,
|
|
3586
|
+
no as MonitorIcon,
|
|
3587
|
+
to as MoonIcon,
|
|
3588
|
+
oo as MoreHorizontalIcon,
|
|
3589
|
+
ro as MousePointerIcon,
|
|
3590
|
+
Re as MultiSelect,
|
|
3591
|
+
io as MusicIcon,
|
|
3592
|
+
mr as PageHeader,
|
|
3593
|
+
on as Pagination,
|
|
3594
|
+
lo as PanelIcon,
|
|
3595
|
+
ao as PanelLeftIcon,
|
|
3596
|
+
so as PanelTopIcon,
|
|
3597
|
+
co as PhoneIcon,
|
|
3598
|
+
ho as PlusIcon,
|
|
3599
|
+
wn as Progress,
|
|
3600
|
+
Pe as Radio,
|
|
3601
|
+
uo as RectangleHorizontalIcon,
|
|
3602
|
+
po as RefreshIcon,
|
|
3603
|
+
mo as RocketIcon,
|
|
3604
|
+
ko as RulerIcon,
|
|
3605
|
+
Se as Search,
|
|
3606
|
+
fo as SearchIcon,
|
|
3607
|
+
Ee as Select,
|
|
3608
|
+
vo as ServerIcon,
|
|
3609
|
+
bo as SettingsIcon,
|
|
3610
|
+
yo as ShareIcon,
|
|
3611
|
+
go as ShieldIcon,
|
|
3612
|
+
xo as ShoppingCartIcon,
|
|
3613
|
+
bn as Sidebar,
|
|
3614
|
+
fe as Skeleton,
|
|
3615
|
+
Zo as Slider,
|
|
3616
|
+
wo as SlidersHorizontalIcon,
|
|
3617
|
+
Lo as SmartphoneIcon,
|
|
3618
|
+
ar as Spacer,
|
|
3619
|
+
_o as SparkIcon,
|
|
3620
|
+
No as SparklesIcon,
|
|
3621
|
+
Co as SpinnerIcon,
|
|
3622
|
+
Mo as SquareIcon,
|
|
3623
|
+
Io as StarIcon,
|
|
3624
|
+
Bo as SunIcon,
|
|
3625
|
+
tn as Switch,
|
|
3626
|
+
cn as Table,
|
|
3627
|
+
jo as TableIcon,
|
|
3628
|
+
Wo as TabletIcon,
|
|
3629
|
+
Ln as Tabs,
|
|
3630
|
+
lr as Tag,
|
|
3631
|
+
zo as TagIcon,
|
|
3632
|
+
hn as Tbody,
|
|
3633
|
+
mn as Td,
|
|
3634
|
+
$ as Text,
|
|
3635
|
+
$e as TextArea,
|
|
3636
|
+
$o as TextCursorIcon,
|
|
3637
|
+
pn as Th,
|
|
3638
|
+
dn as Thead,
|
|
3639
|
+
So as ThemeDarkIcon,
|
|
3640
|
+
To as ThemeLightIcon,
|
|
3641
|
+
pr as ThemeProvider,
|
|
3642
|
+
Nn as Timeline,
|
|
3643
|
+
_n as TimelineItem,
|
|
3644
|
+
ln as ToastProvider,
|
|
3645
|
+
Ao as ToggleRightIcon,
|
|
3646
|
+
hr as Tooltip,
|
|
3647
|
+
gn as TopBar,
|
|
3648
|
+
un as Tr,
|
|
3649
|
+
Do as TrashIcon,
|
|
3650
|
+
Ho as TypeIcon,
|
|
3651
|
+
Vo as UnlockIcon,
|
|
3652
|
+
Eo as UploadCloudIcon,
|
|
3653
|
+
Ro as UploadIcon,
|
|
3654
|
+
Fo as UserCircleIcon,
|
|
3655
|
+
Oo as UserIcon,
|
|
3656
|
+
Po as VideoIcon,
|
|
3657
|
+
Yo as WarningIcon,
|
|
3658
|
+
Uo as WifiIcon,
|
|
3659
|
+
qo as XIcon,
|
|
3660
|
+
Go as ZapIcon,
|
|
3661
|
+
p as classNames,
|
|
3662
|
+
Bn as createVariants,
|
|
3663
|
+
ze as iconRegistry,
|
|
3664
|
+
yn as useTheme,
|
|
3665
|
+
ur as useToast
|
|
3666
|
+
};
|
|
3667
|
+
//# sourceMappingURL=acyon.es.js.map
|