@qtalo/qt-ui-library 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +319 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +2 -0
- package/dist/index.d.ts +943 -0
- package/dist/index.js +2500 -0
- package/dist/index.js.map +1 -0
- package/package.json +79 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,2500 @@
|
|
|
1
|
+
import clsx from "clsx";
|
|
2
|
+
import { twMerge } from "tailwind-merge";
|
|
3
|
+
import { Children, Fragment, cloneElement, createContext, isValidElement, useCallback, useContext, useEffect, useId, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
4
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { createPortal } from "react-dom";
|
|
6
|
+
import { tv } from "tailwind-variants";
|
|
7
|
+
import './index.css';const colors = {
|
|
8
|
+
brandPrimary: "#6558fd",
|
|
9
|
+
brandSecondary: "#ceff1a"
|
|
10
|
+
};
|
|
11
|
+
var MONTH_NAMES = [
|
|
12
|
+
"January",
|
|
13
|
+
"February",
|
|
14
|
+
"March",
|
|
15
|
+
"April",
|
|
16
|
+
"May",
|
|
17
|
+
"June",
|
|
18
|
+
"July",
|
|
19
|
+
"August",
|
|
20
|
+
"September",
|
|
21
|
+
"October",
|
|
22
|
+
"November",
|
|
23
|
+
"December"
|
|
24
|
+
], WEEKDAYS = [
|
|
25
|
+
"Mo",
|
|
26
|
+
"Tu",
|
|
27
|
+
"We",
|
|
28
|
+
"Th",
|
|
29
|
+
"Fr",
|
|
30
|
+
"Sa",
|
|
31
|
+
"Su"
|
|
32
|
+
];
|
|
33
|
+
function getDaysInMonth(r, M) {
|
|
34
|
+
return new Date(r, M + 1, 0).getDate();
|
|
35
|
+
}
|
|
36
|
+
function getFirstDayOfMonth(r, M) {
|
|
37
|
+
return new Date(r, M, 1).getDay();
|
|
38
|
+
}
|
|
39
|
+
function toMondayBased(r) {
|
|
40
|
+
return r === 0 ? 6 : r - 1;
|
|
41
|
+
}
|
|
42
|
+
function formatDate(r) {
|
|
43
|
+
return r ? `${(MONTH_NAMES[r.getMonth()] ?? "").substring(0, 3)} ${r.getDate()}, ${r.getFullYear()}` : "";
|
|
44
|
+
}
|
|
45
|
+
function parseDate(r) {
|
|
46
|
+
if (!r) return null;
|
|
47
|
+
let M = r.split("/");
|
|
48
|
+
if (M.length !== 3) return null;
|
|
49
|
+
let N = parseInt(M[0], 10) - 1, P = parseInt(M[1], 10), F = parseInt(M[2], 10), I = new Date(F, N, P);
|
|
50
|
+
return I.getFullYear() !== F || I.getMonth() !== N || I.getDate() !== P ? null : I;
|
|
51
|
+
}
|
|
52
|
+
function isSameDay(r, M) {
|
|
53
|
+
return !r || !M ? !1 : r.getFullYear() === M.getFullYear() && r.getMonth() === M.getMonth() && r.getDate() === M.getDate();
|
|
54
|
+
}
|
|
55
|
+
function isToday(r) {
|
|
56
|
+
return isSameDay(r, /* @__PURE__ */ new Date());
|
|
57
|
+
}
|
|
58
|
+
function isDateBefore(r, M) {
|
|
59
|
+
return new Date(r.getFullYear(), r.getMonth(), r.getDate()) < new Date(M.getFullYear(), M.getMonth(), M.getDate());
|
|
60
|
+
}
|
|
61
|
+
function isDateInRange(r, M, N) {
|
|
62
|
+
if (!M || !N) return !1;
|
|
63
|
+
let P = new Date(r.getFullYear(), r.getMonth(), r.getDate()), F = new Date(M.getFullYear(), M.getMonth(), M.getDate()), I = new Date(N.getFullYear(), N.getMonth(), N.getDate());
|
|
64
|
+
return P >= F && P <= I;
|
|
65
|
+
}
|
|
66
|
+
function formatDateRange(r, M) {
|
|
67
|
+
if (!r) return "";
|
|
68
|
+
if (!M || r.getFullYear() === M.getFullYear() && r.getMonth() === M.getMonth() && r.getDate() === M.getDate()) return formatSingleDate(r);
|
|
69
|
+
let N = MONTH_NAMES[r.getMonth()]?.substring(0, 3) ?? "", P = r.getDate(), F = r.getFullYear(), I = MONTH_NAMES[M.getMonth()]?.substring(0, 3) ?? "", L = M.getDate(), R = M.getFullYear();
|
|
70
|
+
return F === R ? `${N} ${P} - ${I} ${L}, ${F}` : `${N} ${P}, ${F} - ${I} ${L}, ${R}`;
|
|
71
|
+
}
|
|
72
|
+
function formatSingleDate(r) {
|
|
73
|
+
return `${MONTH_NAMES[r.getMonth()]?.substring(0, 3) ?? ""} ${r.getDate()}, ${r.getFullYear()}`;
|
|
74
|
+
}
|
|
75
|
+
function getMonthName(r) {
|
|
76
|
+
return MONTH_NAMES[r] ?? "";
|
|
77
|
+
}
|
|
78
|
+
function getWeekdays() {
|
|
79
|
+
return WEEKDAYS;
|
|
80
|
+
}
|
|
81
|
+
function generateCalendarDays(r, M) {
|
|
82
|
+
let N = getDaysInMonth(r, M), P = toMondayBased(getFirstDayOfMonth(r, M)), F = [], I = M === 0 ? 11 : M - 1, L = M === 0 ? r - 1 : r, R = getDaysInMonth(L, I), z = R - P + 1;
|
|
83
|
+
for (let r = z; r <= R; r++) F.push({
|
|
84
|
+
date: new Date(L, I, r),
|
|
85
|
+
day: r,
|
|
86
|
+
isCurrentMonth: !1
|
|
87
|
+
});
|
|
88
|
+
for (let P = 1; P <= N; P++) F.push({
|
|
89
|
+
date: new Date(r, M, P),
|
|
90
|
+
day: P,
|
|
91
|
+
isCurrentMonth: !0
|
|
92
|
+
});
|
|
93
|
+
let B = (7 - F.length % 7) % 7, V = M === 11 ? 0 : M + 1, H = M === 11 ? r + 1 : r;
|
|
94
|
+
for (let r = 1; r <= B; r++) F.push({
|
|
95
|
+
date: new Date(H, V, r),
|
|
96
|
+
day: r,
|
|
97
|
+
isCurrentMonth: !1
|
|
98
|
+
});
|
|
99
|
+
return F;
|
|
100
|
+
}
|
|
101
|
+
function cn(...N) {
|
|
102
|
+
return twMerge(clsx(N));
|
|
103
|
+
}
|
|
104
|
+
const capitalize = (r) => r.charAt(0).toUpperCase() + r.slice(1);
|
|
105
|
+
function stringHash(r) {
|
|
106
|
+
let M = 0;
|
|
107
|
+
for (let N = 0; N < r.length; N++) M = r.charCodeAt(N) + ((M << 5) - M) + N * 31;
|
|
108
|
+
return M + r.length * 997;
|
|
109
|
+
}
|
|
110
|
+
function getInitials(r) {
|
|
111
|
+
let M = r.trim().split(/\s+/);
|
|
112
|
+
return (M.length >= 2 ? M[0][0] + M[1][0] : M[0]?.substring(0, 2) ?? "").toUpperCase();
|
|
113
|
+
}
|
|
114
|
+
function pickColorFromPalette(r, M) {
|
|
115
|
+
let N = stringHash(r.trim().toLowerCase());
|
|
116
|
+
return M[Math.abs(N) % M.length];
|
|
117
|
+
}
|
|
118
|
+
function useLongPress(r, M, N = 450) {
|
|
119
|
+
let P = useRef(null), F = useRef(!1), I = () => {
|
|
120
|
+
F.current = !1, P.current = window.setTimeout(() => {
|
|
121
|
+
r(), F.current = !0;
|
|
122
|
+
}, N);
|
|
123
|
+
}, L = () => {
|
|
124
|
+
P.current &&= (clearTimeout(P.current), null);
|
|
125
|
+
};
|
|
126
|
+
return {
|
|
127
|
+
onMouseDown: I,
|
|
128
|
+
onMouseUp: L,
|
|
129
|
+
onMouseLeave: L,
|
|
130
|
+
onTouchStart: I,
|
|
131
|
+
onTouchEnd: L,
|
|
132
|
+
onClick: () => {
|
|
133
|
+
F.current || M();
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
function Button({ className: r, children: M, ...N }) {
|
|
138
|
+
return /* @__PURE__ */ jsx("button", {
|
|
139
|
+
...N,
|
|
140
|
+
className: cn("btn-base", r),
|
|
141
|
+
children: M
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
function Checkbox({ checked: r, defaultChecked: M, icon: N, indeterminate: P, indeterminateIcon: F, onChange: I, disabled: L, children: R, className: z }) {
|
|
145
|
+
let V = useRef(null), [H, U] = useState(M ?? !1), K = r ?? H;
|
|
146
|
+
useEffect(() => {
|
|
147
|
+
V.current && (V.current.indeterminate = !!P);
|
|
148
|
+
}, [P]);
|
|
149
|
+
function J(M) {
|
|
150
|
+
let N = M.target.checked;
|
|
151
|
+
r === void 0 && U(N), I?.(N);
|
|
152
|
+
}
|
|
153
|
+
return /* @__PURE__ */ jsxs("label", {
|
|
154
|
+
className: cn("relative inline-flex w-fit cursor-pointer items-center gap-2 select-none", L && "pointer-events-none opacity-50", z),
|
|
155
|
+
children: [
|
|
156
|
+
/* @__PURE__ */ jsx("input", {
|
|
157
|
+
ref: V,
|
|
158
|
+
type: "checkbox",
|
|
159
|
+
className: cn("absolute h-px w-px overflow-hidden p-0 whitespace-nowrap", "[clip-path:inset(50%)]", "border-0"),
|
|
160
|
+
disabled: L,
|
|
161
|
+
onChange: J,
|
|
162
|
+
...r === void 0 ? { defaultChecked: M } : { checked: r }
|
|
163
|
+
}),
|
|
164
|
+
/* @__PURE__ */ jsx("span", {
|
|
165
|
+
role: "checkbox",
|
|
166
|
+
"aria-checked": P ? "mixed" : K,
|
|
167
|
+
tabIndex: -1,
|
|
168
|
+
"data-state": P ? "indeterminate" : K ? "checked" : "unchecked",
|
|
169
|
+
className: "checkbox-box inline-flex items-center justify-center",
|
|
170
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
171
|
+
className: cn("checkbox-icon", !(K || P) && "opacity-0"),
|
|
172
|
+
children: P ? F ?? "—" : N ?? "✓"
|
|
173
|
+
})
|
|
174
|
+
}),
|
|
175
|
+
R && /* @__PURE__ */ jsx("span", {
|
|
176
|
+
className: "checkbox-label",
|
|
177
|
+
children: R
|
|
178
|
+
})
|
|
179
|
+
]
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
const DropdownContext = createContext(null);
|
|
183
|
+
function useDropdown() {
|
|
184
|
+
let r = useContext(DropdownContext);
|
|
185
|
+
if (!r) throw Error("useDropdown must be used inside Dropdown");
|
|
186
|
+
return r;
|
|
187
|
+
}
|
|
188
|
+
function Dropdown({ trigger: r, children: M, align: N = "start", disabled: P = !1 }) {
|
|
189
|
+
let [F, I] = useState(!1), L = useRef(null), R = useRef(null), z = useRef(null), [V, U] = useState(null);
|
|
190
|
+
useLayoutEffect(() => {
|
|
191
|
+
if (!F || !L.current || !R.current) return;
|
|
192
|
+
let r = L.current.getBoundingClientRect(), M = R.current.getBoundingClientRect(), P = r.left;
|
|
193
|
+
N === "end" && (P = r.right - M.width), U({
|
|
194
|
+
top: r.bottom,
|
|
195
|
+
left: P
|
|
196
|
+
});
|
|
197
|
+
}, [F, N]);
|
|
198
|
+
function K() {
|
|
199
|
+
z.current &&= (clearTimeout(z.current), null), I(!0);
|
|
200
|
+
}
|
|
201
|
+
function Y() {
|
|
202
|
+
z.current = window.setTimeout(() => {
|
|
203
|
+
I(!1);
|
|
204
|
+
}, 120);
|
|
205
|
+
}
|
|
206
|
+
return useEffect(() => {
|
|
207
|
+
function r(r) {
|
|
208
|
+
let M = r.target;
|
|
209
|
+
L.current?.contains(M) || R.current?.contains(M) || I(!1);
|
|
210
|
+
}
|
|
211
|
+
return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
|
|
212
|
+
}, []), useEffect(() => () => {
|
|
213
|
+
z.current && clearTimeout(z.current);
|
|
214
|
+
}, []), /* @__PURE__ */ jsxs(DropdownContext.Provider, {
|
|
215
|
+
value: { close: () => I(!1) },
|
|
216
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
217
|
+
ref: L,
|
|
218
|
+
className: "inline-block",
|
|
219
|
+
onMouseEnter: K,
|
|
220
|
+
onMouseLeave: Y,
|
|
221
|
+
onClick: () => I((r) => !r),
|
|
222
|
+
children: r
|
|
223
|
+
}), F && !P && createPortal(/* @__PURE__ */ jsx("div", {
|
|
224
|
+
ref: R,
|
|
225
|
+
onMouseEnter: K,
|
|
226
|
+
onMouseLeave: Y,
|
|
227
|
+
style: {
|
|
228
|
+
position: "fixed",
|
|
229
|
+
top: V?.top ?? 0,
|
|
230
|
+
left: V?.left ?? 0,
|
|
231
|
+
visibility: V ? "visible" : "hidden",
|
|
232
|
+
zIndex: 1e3
|
|
233
|
+
},
|
|
234
|
+
children: M
|
|
235
|
+
}), document.body)]
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
function Input({ type: r = "text", value: M, defaultValue: N, disabled: P = !1, error: F = !1, placeholder: I, onChange: L, className: R }) {
|
|
239
|
+
let [z, B] = useState(N ?? ""), V = M !== void 0, H = V ? M : z;
|
|
240
|
+
function U(r) {
|
|
241
|
+
let M = r.target.value;
|
|
242
|
+
V || B(M), L?.(M);
|
|
243
|
+
}
|
|
244
|
+
return /* @__PURE__ */ jsx("input", {
|
|
245
|
+
type: r,
|
|
246
|
+
value: H,
|
|
247
|
+
placeholder: I,
|
|
248
|
+
disabled: P,
|
|
249
|
+
"aria-disabled": P || void 0,
|
|
250
|
+
"aria-invalid": F || void 0,
|
|
251
|
+
onChange: U,
|
|
252
|
+
className: cn("bg-transparent outline-none", P && "pointer-events-none", R)
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
function Pressable({ as: r = "div", disabled: M = !1, onPress: N, className: P, children: F }) {
|
|
256
|
+
let I = useCallback(() => {
|
|
257
|
+
M || N?.();
|
|
258
|
+
}, [M, N]), L = useCallback((r) => {
|
|
259
|
+
M || (r.key === "Enter" || r.key === " ") && (r.preventDefault(), N?.());
|
|
260
|
+
}, [M, N]);
|
|
261
|
+
return /* @__PURE__ */ jsx(r, {
|
|
262
|
+
role: "button",
|
|
263
|
+
tabIndex: M ? -1 : 0,
|
|
264
|
+
"aria-disabled": M || void 0,
|
|
265
|
+
onClick: I,
|
|
266
|
+
onKeyDown: L,
|
|
267
|
+
className: cn("select-none", !M && "cursor-pointer", M && "pointer-events-none opacity-50", P),
|
|
268
|
+
children: F
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
function StopPropagation({ children: r }) {
|
|
272
|
+
return /* @__PURE__ */ jsx("div", {
|
|
273
|
+
className: "contents",
|
|
274
|
+
onClick: (r) => r.stopPropagation(),
|
|
275
|
+
onMouseDown: (r) => r.stopPropagation(),
|
|
276
|
+
onPointerDown: (r) => r.stopPropagation(),
|
|
277
|
+
onKeyDown: (r) => r.stopPropagation(),
|
|
278
|
+
children: r
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
var toasts = [], listeners = /* @__PURE__ */ new Set();
|
|
282
|
+
function notify() {
|
|
283
|
+
listeners.forEach((r) => r(toasts));
|
|
284
|
+
}
|
|
285
|
+
const toastStore = {
|
|
286
|
+
subscribe(r) {
|
|
287
|
+
return listeners.add(r), r(toasts), () => {
|
|
288
|
+
listeners.delete(r);
|
|
289
|
+
};
|
|
290
|
+
},
|
|
291
|
+
add(r) {
|
|
292
|
+
toasts = [r, ...toasts], notify();
|
|
293
|
+
},
|
|
294
|
+
remove(r) {
|
|
295
|
+
toasts = toasts.filter((M) => M.id !== r), notify();
|
|
296
|
+
}
|
|
297
|
+
};
|
|
298
|
+
function showToast({ content: r, duration: M = 4e3, position: N = "bottom-right" }) {
|
|
299
|
+
let P = crypto.randomUUID();
|
|
300
|
+
return toastStore.add({
|
|
301
|
+
id: P,
|
|
302
|
+
content: r,
|
|
303
|
+
duration: M,
|
|
304
|
+
position: N
|
|
305
|
+
}), {
|
|
306
|
+
id: P,
|
|
307
|
+
dismiss: () => toastStore.remove(P)
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
function isShowToastOptions(r) {
|
|
311
|
+
return typeof r == "object" && !!r && "content" in r;
|
|
312
|
+
}
|
|
313
|
+
function toast(r, M) {
|
|
314
|
+
return isShowToastOptions(r) ? showToast(r) : showToast({
|
|
315
|
+
content: r,
|
|
316
|
+
...M
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
var positionClasses = {
|
|
320
|
+
"top-left": "top-0 left-0 items-start",
|
|
321
|
+
"top-center": "top-0 left-1/2 -translate-x-1/2 items-center",
|
|
322
|
+
"top-right": "top-0 right-0 items-end",
|
|
323
|
+
"bottom-left": "bottom-0 left-0 items-start",
|
|
324
|
+
"bottom-center": "bottom-0 left-1/2 -translate-x-1/2 items-center",
|
|
325
|
+
"bottom-right": "bottom-0 right-0 items-end"
|
|
326
|
+
};
|
|
327
|
+
function Toaster() {
|
|
328
|
+
let [r, M] = useState([]), N = useRef(/* @__PURE__ */ new Map());
|
|
329
|
+
useEffect(() => toastStore.subscribe(M), []);
|
|
330
|
+
let F = useCallback((r) => {
|
|
331
|
+
let M = N.current.get(r);
|
|
332
|
+
M && (clearTimeout(M), N.current.delete(r));
|
|
333
|
+
}, []), I = useCallback((r) => {
|
|
334
|
+
F(r.id);
|
|
335
|
+
let M = window.setTimeout(() => {
|
|
336
|
+
toastStore.remove(r.id);
|
|
337
|
+
}, r.duration);
|
|
338
|
+
N.current.set(r.id, M);
|
|
339
|
+
}, [F]), L = () => {
|
|
340
|
+
N.current.forEach(clearTimeout), N.current.clear();
|
|
341
|
+
}, z = () => {
|
|
342
|
+
r.forEach((r, M) => {
|
|
343
|
+
F(r.id);
|
|
344
|
+
let P = window.setTimeout(() => {
|
|
345
|
+
toastStore.remove(r.id);
|
|
346
|
+
}, r.duration + M * 120);
|
|
347
|
+
N.current.set(r.id, P);
|
|
348
|
+
});
|
|
349
|
+
};
|
|
350
|
+
useEffect(() => {
|
|
351
|
+
r.forEach((r) => {
|
|
352
|
+
N.current.has(r.id) || I(r);
|
|
353
|
+
});
|
|
354
|
+
}, [r, I]);
|
|
355
|
+
let V = r.reduce((r, M) => ((r[M.position] ??= []).push(M), r), {});
|
|
356
|
+
return createPortal(/* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(V).map(([r, M]) => /* @__PURE__ */ jsx("div", {
|
|
357
|
+
className: cn("fixed z-1000 flex flex-col items-end gap-2 p-4", positionClasses[r]),
|
|
358
|
+
onMouseEnter: L,
|
|
359
|
+
onMouseLeave: z,
|
|
360
|
+
children: M.map((r) => /* @__PURE__ */ jsx(Fragment, { children: r.content }, r.id))
|
|
361
|
+
}, r)) }), document.body);
|
|
362
|
+
}
|
|
363
|
+
function getHorizontalAlign(r, M, N) {
|
|
364
|
+
return N === "start" ? r.left : N === "end" ? r.right - M.width : r.left + r.width / 2 - M.width / 2;
|
|
365
|
+
}
|
|
366
|
+
function getVerticalAlign(r, M, N) {
|
|
367
|
+
return N === "start" ? r.top : N === "end" ? r.bottom - M.height : r.top + r.height / 2 - M.height / 2;
|
|
368
|
+
}
|
|
369
|
+
function Tooltip({ children: r, content: M, position: N = "top", delay: P = 120, className: F }) {
|
|
370
|
+
let I = useRef(null), L = useRef(null), R = useRef(null), [z, V] = useState(!1), [U, Y] = useState(null), X = () => {
|
|
371
|
+
R.current &&= (clearTimeout(R.current), null), R.current = window.setTimeout(() => {
|
|
372
|
+
V(!0);
|
|
373
|
+
}, P);
|
|
374
|
+
}, Z = () => {
|
|
375
|
+
R.current &&= (clearTimeout(R.current), null), V(!1);
|
|
376
|
+
};
|
|
377
|
+
return useLayoutEffect(() => {
|
|
378
|
+
if (!z || !I.current || !L.current) return;
|
|
379
|
+
let r = I.current.getBoundingClientRect(), M = L.current.getBoundingClientRect(), [P, F] = N.split("-"), R = F ?? "center", B = 0, V = 0;
|
|
380
|
+
P === "top" || P === "bottom" ? (B = P === "top" ? r.top - M.height - 4 : r.bottom + 4, V = getHorizontalAlign(r, M, R)) : (V = P === "left" ? r.left - M.width - 4 : r.right + 4, B = getVerticalAlign(r, M, R)), Y((r) => r && r.top === B && r.left === V ? r : {
|
|
381
|
+
top: B,
|
|
382
|
+
left: V
|
|
383
|
+
});
|
|
384
|
+
}, [z, N]), useEffect(() => () => {
|
|
385
|
+
R.current && clearTimeout(R.current);
|
|
386
|
+
}, []), /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("div", {
|
|
387
|
+
ref: I,
|
|
388
|
+
className: "inline-flex",
|
|
389
|
+
onMouseEnter: X,
|
|
390
|
+
onMouseLeave: Z,
|
|
391
|
+
onFocus: X,
|
|
392
|
+
onBlur: Z,
|
|
393
|
+
children: r
|
|
394
|
+
}), z && createPortal(/* @__PURE__ */ jsx("div", {
|
|
395
|
+
ref: L,
|
|
396
|
+
role: "tooltip",
|
|
397
|
+
style: {
|
|
398
|
+
position: "fixed",
|
|
399
|
+
top: U?.top ?? 0,
|
|
400
|
+
left: U?.left ?? 0,
|
|
401
|
+
visibility: U ? "visible" : "hidden",
|
|
402
|
+
zIndex: 1e3
|
|
403
|
+
},
|
|
404
|
+
className: cn(F),
|
|
405
|
+
children: M
|
|
406
|
+
}), document.body)] });
|
|
407
|
+
}
|
|
408
|
+
const AccordionContext = createContext(null);
|
|
409
|
+
function useAccordion() {
|
|
410
|
+
let r = useContext(AccordionContext);
|
|
411
|
+
if (!r) throw Error("useAccordion must be used inside Accordion");
|
|
412
|
+
return r;
|
|
413
|
+
}
|
|
414
|
+
function Accordion({ children: r, type: M = "single", defaultValue: N, className: P }) {
|
|
415
|
+
let [F, I] = useState(() => N ? M === "single" ? N ? new Set([N]) : /* @__PURE__ */ new Set() : Array.isArray(N) ? new Set(N) : new Set([N]) : /* @__PURE__ */ new Set());
|
|
416
|
+
return /* @__PURE__ */ jsx(AccordionContext.Provider, {
|
|
417
|
+
value: {
|
|
418
|
+
openItems: F,
|
|
419
|
+
toggleItem: (r) => {
|
|
420
|
+
I((N) => {
|
|
421
|
+
let P = new Set(N);
|
|
422
|
+
return M === "single" ? P.has(r) ? /* @__PURE__ */ new Set() : new Set([r]) : (P.has(r) ? P.delete(r) : P.add(r), P);
|
|
423
|
+
});
|
|
424
|
+
},
|
|
425
|
+
type: M
|
|
426
|
+
},
|
|
427
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
428
|
+
className: P,
|
|
429
|
+
children: r
|
|
430
|
+
})
|
|
431
|
+
});
|
|
432
|
+
}
|
|
433
|
+
function AccordionItem({ value: r, children: M, className: N, ...P }) {
|
|
434
|
+
let { openItems: F } = useAccordion(), I = F.has(r);
|
|
435
|
+
return /* @__PURE__ */ jsx("div", {
|
|
436
|
+
className: N,
|
|
437
|
+
"data-state": I ? "open" : "closed",
|
|
438
|
+
"data-value": r,
|
|
439
|
+
...P,
|
|
440
|
+
children: M
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
function AccordionTrigger({ value: r, children: M, className: N, asChild: P = !1, onClick: I, ...R }) {
|
|
444
|
+
let { toggleItem: z, openItems: B } = useAccordion(), V = B.has(r), H = (M) => {
|
|
445
|
+
z(r), M && I && I(M);
|
|
446
|
+
};
|
|
447
|
+
return P && isValidElement(M) ? cloneElement(M, {
|
|
448
|
+
onClick: H,
|
|
449
|
+
"aria-expanded": V,
|
|
450
|
+
"data-state": V ? "open" : "closed"
|
|
451
|
+
}) : /* @__PURE__ */ jsx(Pressable, {
|
|
452
|
+
type: "button",
|
|
453
|
+
className: N,
|
|
454
|
+
onPress: () => H(void 0),
|
|
455
|
+
"aria-expanded": V,
|
|
456
|
+
"data-state": V ? "open" : "closed",
|
|
457
|
+
...R,
|
|
458
|
+
children: M
|
|
459
|
+
});
|
|
460
|
+
}
|
|
461
|
+
function AccordionContent({ value: r, children: M, className: N, ...P }) {
|
|
462
|
+
let { openItems: F } = useAccordion(), I = F.has(r);
|
|
463
|
+
return I ? /* @__PURE__ */ jsx("div", {
|
|
464
|
+
className: N,
|
|
465
|
+
"data-state": I ? "open" : "closed",
|
|
466
|
+
"data-value": r,
|
|
467
|
+
...P,
|
|
468
|
+
children: M
|
|
469
|
+
}) : null;
|
|
470
|
+
}
|
|
471
|
+
function Icon({ size: r = 16, className: M, viewBox: N = "0 0 24 24", children: P, ...F }) {
|
|
472
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
473
|
+
width: r,
|
|
474
|
+
height: r,
|
|
475
|
+
viewBox: N,
|
|
476
|
+
fill: "none",
|
|
477
|
+
"aria-hidden": !0,
|
|
478
|
+
focusable: "false",
|
|
479
|
+
className: cn("shrink-0", M),
|
|
480
|
+
...F,
|
|
481
|
+
children: P
|
|
482
|
+
});
|
|
483
|
+
}
|
|
484
|
+
function LogoIcon(r) {
|
|
485
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
486
|
+
viewBox: "0 0 32 32",
|
|
487
|
+
...r,
|
|
488
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
489
|
+
d: "M25.82 25.44C28.07 23.02 29.5 19.74 29.5 15.92C29.5 7.7 22.8 2 15.98 2C9.16 2 2.5 7.7 2.5 15.92C2.5 24.15 9.2 29.84 15.98 29.84C18.23 29.84 20.43 29.22 22.41 28.13L23.61 29.38C24 29.77 24.54 30 25.12 30C26.32 30 27.29 29.03 27.29 27.82C27.29 27.27 27.05 26.76 26.7 26.33L25.81 25.44H25.82ZM22.18 21.73L19.66 19.12C19.31 18.69 18.72 18.46 18.15 18.46C16.95 18.46 15.98 19.47 15.98 20.64C15.98 21.22 16.25 21.73 16.64 22.13L18.77 24.35C17.88 24.66 16.95 24.86 15.98 24.86C11.72 24.86 7.96 21.27 7.96 15.93C7.96 10.58 11.72 7 15.98 7C20.24 7 24.03 10.58 24.03 15.93C24.03 18.23 23.34 20.22 22.18 21.74V21.73Z",
|
|
490
|
+
fill: "currentColor"
|
|
491
|
+
})
|
|
492
|
+
});
|
|
493
|
+
}
|
|
494
|
+
function AirtableIcon(r) {
|
|
495
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
496
|
+
viewBox: "0 0 36 36",
|
|
497
|
+
...r,
|
|
498
|
+
children: [
|
|
499
|
+
/* @__PURE__ */ jsx("path", {
|
|
500
|
+
d: "M16.56 6.99L6.49 11.16C5.93 11.39 5.94 12.18 6.5 12.41L16.61 16.42C17.5 16.77 18.49 16.77 19.37 16.42L29.48 12.41C30.05 12.18 30.05 11.39 29.49 11.16L19.43 6.99C18.51 6.61 17.48 6.61 16.56 6.99",
|
|
501
|
+
fill: "#FCB400"
|
|
502
|
+
}),
|
|
503
|
+
/* @__PURE__ */ jsx("path", {
|
|
504
|
+
d: "M18.89 18.6V28.62C18.89 29.09 19.37 29.42 19.81 29.25L31.07 24.87C31.2 24.82 31.31 24.74 31.38 24.63C31.46 24.51 31.5 24.38 31.5 24.25V14.23C31.5 13.76 31.02 13.43 30.58 13.61L19.31 17.98C19.19 18.03 19.08 18.11 19 18.23C18.93 18.34 18.89 18.47 18.89 18.6Z",
|
|
505
|
+
fill: "#18BFFF"
|
|
506
|
+
}),
|
|
507
|
+
/* @__PURE__ */ jsx("path", {
|
|
508
|
+
d: "M16.26 19.12L12.91 20.74L12.57 20.9L5.52 24.28C5.07 24.5 4.5 24.17 4.5 23.67V14.28C4.5 14.1 4.59 13.94 4.72 13.82C4.77 13.77 4.82 13.73 4.89 13.7C5.06 13.59 5.3 13.57 5.5 13.65L16.2 17.89C16.74 18.1 16.79 18.87 16.26 19.12Z",
|
|
509
|
+
fill: "#F82B60"
|
|
510
|
+
}),
|
|
511
|
+
/* @__PURE__ */ jsx("path", {
|
|
512
|
+
d: "M16.26 19.12L12.91 20.74L4.71 13.82C4.77 13.77 4.82 13.73 4.89 13.7C5.05 13.59 5.29 13.57 5.5 13.65L16.2 17.89C16.74 18.1 16.79 18.87 16.26 19.12Z",
|
|
513
|
+
fill: "black",
|
|
514
|
+
fillOpacity: "0.25"
|
|
515
|
+
})
|
|
516
|
+
]
|
|
517
|
+
});
|
|
518
|
+
}
|
|
519
|
+
function AsanaIcon(r) {
|
|
520
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
521
|
+
viewBox: "0 0 16 16",
|
|
522
|
+
...r,
|
|
523
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
524
|
+
fillRule: "evenodd",
|
|
525
|
+
clipRule: "evenodd",
|
|
526
|
+
d: "M11.46 8.33C9.99 8.33 8.8 9.5 8.8 10.94C8.8 12.38 9.99 13.55 11.46 13.55C12.92 13.55 14.11 12.38 14.11 10.94C14.11 9.5 12.92 8.33 11.46 8.33ZM4.55 8.33C3.08 8.33 1.89 9.5 1.89 10.94C1.89 12.38 3.08 13.55 4.55 13.55C6.02 13.55 7.21 12.38 7.21 10.94C7.21 9.5 6.02 8.33 4.55 8.33ZM10.66 5.06C10.66 6.5 9.47 7.67 8 7.67C6.53 7.67 5.34 6.5 5.34 5.06C5.34 3.61 6.53 2.44 8 2.44C9.47 2.44 10.66 3.61 10.66 5.06Z",
|
|
527
|
+
fill: "#F06A6A"
|
|
528
|
+
})
|
|
529
|
+
});
|
|
530
|
+
}
|
|
531
|
+
function ClickUpIcon(r) {
|
|
532
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
533
|
+
viewBox: "0 0 36 36",
|
|
534
|
+
...r,
|
|
535
|
+
children: [
|
|
536
|
+
/* @__PURE__ */ jsx("path", {
|
|
537
|
+
fillRule: "evenodd",
|
|
538
|
+
clipRule: "evenodd",
|
|
539
|
+
d: "M18.03 11.43L10.65 17.81L7.23 13.84L18.05 4.5L28.78 13.85L25.35 17.81L18.03 11.43Z",
|
|
540
|
+
fill: "url(#paint0_linear_5796_19610)"
|
|
541
|
+
}),
|
|
542
|
+
/* @__PURE__ */ jsx("path", {
|
|
543
|
+
fillRule: "evenodd",
|
|
544
|
+
clipRule: "evenodd",
|
|
545
|
+
d: "M6.76 25.23L10.91 22.05C13.11 24.93 15.46 26.26 18.06 26.26C20.67 26.26 22.93 24.95 25.03 22.08L29.24 25.19C26.21 29.32 22.43 31.5 18.06 31.5C13.69 31.5 9.89 29.33 6.76 25.23Z",
|
|
546
|
+
fill: "url(#paint1_linear_5796_19610)"
|
|
547
|
+
}),
|
|
548
|
+
/* @__PURE__ */ jsxs("defs", { children: [/* @__PURE__ */ jsxs("linearGradient", {
|
|
549
|
+
id: "paint0_linear_5796_19610",
|
|
550
|
+
x1: "6.83",
|
|
551
|
+
y1: "10.64",
|
|
552
|
+
x2: "28.36",
|
|
553
|
+
y2: "10.64",
|
|
554
|
+
gradientUnits: "userSpaceOnUse",
|
|
555
|
+
children: [/* @__PURE__ */ jsx("stop", { stopColor: "#FF02F0" }), /* @__PURE__ */ jsx("stop", {
|
|
556
|
+
offset: "1",
|
|
557
|
+
stopColor: "#FFC800"
|
|
558
|
+
})]
|
|
559
|
+
}), /* @__PURE__ */ jsxs("linearGradient", {
|
|
560
|
+
id: "paint1_linear_5796_19610",
|
|
561
|
+
x1: "6.37",
|
|
562
|
+
y1: "26.25",
|
|
563
|
+
x2: "28.82",
|
|
564
|
+
y2: "26.25",
|
|
565
|
+
gradientUnits: "userSpaceOnUse",
|
|
566
|
+
children: [/* @__PURE__ */ jsx("stop", { stopColor: "#8930FD" }), /* @__PURE__ */ jsx("stop", {
|
|
567
|
+
offset: "1",
|
|
568
|
+
stopColor: "#49CCF9"
|
|
569
|
+
})]
|
|
570
|
+
})] })
|
|
571
|
+
]
|
|
572
|
+
});
|
|
573
|
+
}
|
|
574
|
+
function GmailIcon(r) {
|
|
575
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
576
|
+
viewBox: "0 0 18 18",
|
|
577
|
+
...r,
|
|
578
|
+
children: [
|
|
579
|
+
/* @__PURE__ */ jsx("path", {
|
|
580
|
+
d: "M3.02 14.09H5.2V8.79L2.09 6.45V13.15C2.09 13.67 2.51 14.09 3.02 14.09Z",
|
|
581
|
+
fill: "#4285F4"
|
|
582
|
+
}),
|
|
583
|
+
/* @__PURE__ */ jsx("path", {
|
|
584
|
+
d: "M12.68 14.09H14.87C15.38 14.09 15.8 13.67 15.8 13.15V6.45L12.68 8.79",
|
|
585
|
+
fill: "#34A853"
|
|
586
|
+
}),
|
|
587
|
+
/* @__PURE__ */ jsx("path", {
|
|
588
|
+
d: "M12.68 4.74V8.79L15.8 6.45V5.21C15.8 4.05 14.48 3.39 13.56 4.08",
|
|
589
|
+
fill: "#FBBC04"
|
|
590
|
+
}),
|
|
591
|
+
/* @__PURE__ */ jsx("path", {
|
|
592
|
+
d: "M5.2 8.79V4.74L8.94 7.54L12.68 4.74V8.79L8.94 11.59",
|
|
593
|
+
fill: "#EA4335"
|
|
594
|
+
}),
|
|
595
|
+
/* @__PURE__ */ jsx("path", {
|
|
596
|
+
d: "M2.09 5.21V6.45L5.2 8.79V4.74L4.33 4.08C3.4 3.39 2.09 4.05 2.09 5.21Z",
|
|
597
|
+
fill: "#C5221F"
|
|
598
|
+
})
|
|
599
|
+
]
|
|
600
|
+
});
|
|
601
|
+
}
|
|
602
|
+
function GoogleCalendarIcon(r) {
|
|
603
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
604
|
+
viewBox: "0 0 36 36",
|
|
605
|
+
...r,
|
|
606
|
+
children: [
|
|
607
|
+
/* @__PURE__ */ jsx("path", {
|
|
608
|
+
d: "M25.1 10.89L18.71 10.18L10.89 10.89L10.18 18L10.89 25.1L18 25.99L25.1 25.1L25.82 17.82L25.1 10.89Z",
|
|
609
|
+
fill: "white"
|
|
610
|
+
}),
|
|
611
|
+
/* @__PURE__ */ jsx("path", {
|
|
612
|
+
d: "M13.81 21.92C13.28 21.56 12.91 21.04 12.71 20.34L13.94 19.83C14.06 20.26 14.25 20.59 14.53 20.83C14.81 21.06 15.14 21.18 15.54 21.18C15.94 21.18 16.29 21.05 16.58 20.81C16.87 20.56 17.01 20.25 17.01 19.87C17.01 19.48 16.86 19.17 16.55 18.92C16.25 18.68 15.87 18.56 15.41 18.56H14.7V17.34H15.33C15.73 17.34 16.06 17.23 16.33 17.02C16.6 16.8 16.74 16.51 16.74 16.14C16.74 15.81 16.62 15.55 16.37 15.35C16.13 15.15 15.83 15.05 15.46 15.05C15.09 15.05 14.81 15.15 14.59 15.34C14.38 15.54 14.22 15.77 14.13 16.05L12.91 15.55C13.07 15.09 13.36 14.68 13.8 14.33C14.24 13.98 14.79 13.81 15.47 13.81C15.97 13.81 16.41 13.9 16.81 14.1C17.21 14.29 17.52 14.56 17.75 14.9C17.97 15.24 18.09 15.63 18.09 16.05C18.09 16.49 17.98 16.86 17.77 17.16C17.56 17.46 17.3 17.69 17 17.85V17.93C17.4 18.09 17.73 18.35 17.99 18.7C18.25 19.04 18.38 19.46 18.38 19.94C18.38 20.42 18.25 20.86 18.01 21.23C17.76 21.61 17.43 21.91 17 22.13C16.56 22.34 16.08 22.45 15.54 22.45C14.92 22.46 14.34 22.28 13.81 21.92Z",
|
|
613
|
+
fill: "#1A73E8"
|
|
614
|
+
}),
|
|
615
|
+
/* @__PURE__ */ jsx("path", {
|
|
616
|
+
d: "M21.37 15.8L20.03 16.78L19.35 15.75L21.78 14H22.71V22.26H21.37V15.8Z",
|
|
617
|
+
fill: "#1A73E8"
|
|
618
|
+
}),
|
|
619
|
+
/* @__PURE__ */ jsx("path", {
|
|
620
|
+
d: "M25.1 31.5L31.5 25.1L28.3 23.68L25.1 25.1L23.68 28.3L25.1 31.5Z",
|
|
621
|
+
fill: "#EA4335"
|
|
622
|
+
}),
|
|
623
|
+
/* @__PURE__ */ jsx("path", {
|
|
624
|
+
d: "M9.47 28.3L10.89 31.5H25.1V25.11H10.89L9.47 28.3Z",
|
|
625
|
+
fill: "#34A853"
|
|
626
|
+
}),
|
|
627
|
+
/* @__PURE__ */ jsx("path", {
|
|
628
|
+
d: "M6.63 4.5C5.45 4.5 4.5 5.45 4.5 6.63V25.1L7.7 26.53L10.89 25.1V10.89H25.11L26.53 7.7L25.11 4.5H6.63Z",
|
|
629
|
+
fill: "#4285F4"
|
|
630
|
+
}),
|
|
631
|
+
/* @__PURE__ */ jsx("path", {
|
|
632
|
+
d: "M4.5 25.11V29.37C4.5 30.55 5.45 31.5 6.63 31.5H10.89V25.11H4.5Z",
|
|
633
|
+
fill: "#188038"
|
|
634
|
+
}),
|
|
635
|
+
/* @__PURE__ */ jsx("path", {
|
|
636
|
+
d: "M25.1 10.89V25.11H31.5V10.89L28.3 9.47L25.1 10.89Z",
|
|
637
|
+
fill: "#FBBC04"
|
|
638
|
+
}),
|
|
639
|
+
/* @__PURE__ */ jsx("path", {
|
|
640
|
+
d: "M31.5 10.89V6.63C31.5 5.45 30.54 4.5 29.37 4.5H25.1V10.89H31.5Z",
|
|
641
|
+
fill: "#1967D2"
|
|
642
|
+
})
|
|
643
|
+
]
|
|
644
|
+
});
|
|
645
|
+
}
|
|
646
|
+
function JiraIcon(r) {
|
|
647
|
+
let M = useId(), N = `jira-gradient-0-${M}`, P = `jira-gradient-1-${M}`;
|
|
648
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
649
|
+
viewBox: "0 0 20 20",
|
|
650
|
+
...r,
|
|
651
|
+
children: [
|
|
652
|
+
/* @__PURE__ */ jsx("path", {
|
|
653
|
+
d: "M16.42 3H9.68C9.68 4.68 11.04 6.04 12.72 6.04H13.96V7.24C13.96 8.92 15.32 10.28 17 10.28V3.58C17 3.26 16.74 3 16.42 3Z",
|
|
654
|
+
fill: "#2684FF"
|
|
655
|
+
}),
|
|
656
|
+
/* @__PURE__ */ jsx("path", {
|
|
657
|
+
d: "M13.08 6.36H6.34C6.34 8.04 7.7 9.4 9.38 9.4H10.62V10.6C10.62 12.28 11.98 13.64 13.66 13.64V6.94C13.66 6.62 13.4 6.36 13.08 6.36Z",
|
|
658
|
+
fill: `url(#${N})`
|
|
659
|
+
}),
|
|
660
|
+
/* @__PURE__ */ jsx("path", {
|
|
661
|
+
d: "M9.74 9.72H3C3 11.4 4.36 12.76 6.04 12.76H7.28V13.96C7.28 15.64 8.64 17 10.32 17V10.3C10.32 9.98 10.06 9.72 9.74 9.72Z",
|
|
662
|
+
fill: `url(#${P})`
|
|
663
|
+
}),
|
|
664
|
+
/* @__PURE__ */ jsxs("defs", { children: [/* @__PURE__ */ jsxs("linearGradient", {
|
|
665
|
+
id: N,
|
|
666
|
+
x1: "16.73",
|
|
667
|
+
y1: "3.02",
|
|
668
|
+
x2: "11.22",
|
|
669
|
+
y2: "8.67",
|
|
670
|
+
gradientUnits: "userSpaceOnUse",
|
|
671
|
+
children: [/* @__PURE__ */ jsx("stop", {
|
|
672
|
+
offset: "0.176",
|
|
673
|
+
stopColor: "#0052CC"
|
|
674
|
+
}), /* @__PURE__ */ jsx("stop", {
|
|
675
|
+
offset: "1",
|
|
676
|
+
stopColor: "#2684FF"
|
|
677
|
+
})]
|
|
678
|
+
}), /* @__PURE__ */ jsxs("linearGradient", {
|
|
679
|
+
id: P,
|
|
680
|
+
x1: "10.37",
|
|
681
|
+
y1: "9.75",
|
|
682
|
+
x2: "7.06",
|
|
683
|
+
y2: "12.97",
|
|
684
|
+
gradientUnits: "userSpaceOnUse",
|
|
685
|
+
children: [/* @__PURE__ */ jsx("stop", {
|
|
686
|
+
offset: "0.176",
|
|
687
|
+
stopColor: "#0052CC"
|
|
688
|
+
}), /* @__PURE__ */ jsx("stop", {
|
|
689
|
+
offset: "1",
|
|
690
|
+
stopColor: "#2684FF"
|
|
691
|
+
})]
|
|
692
|
+
})] })
|
|
693
|
+
]
|
|
694
|
+
});
|
|
695
|
+
}
|
|
696
|
+
function OutlookCalendarIcon(r) {
|
|
697
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
698
|
+
viewBox: "0 0 36 36",
|
|
699
|
+
...r,
|
|
700
|
+
children: [
|
|
701
|
+
/* @__PURE__ */ jsx("path", {
|
|
702
|
+
d: "M31.5 11.93V9.35C31.5 6.67 29.33 4.5 26.65 4.5H9.35C6.67 4.5 4.5 6.67 4.5 9.35V11.93H31.5Z",
|
|
703
|
+
fill: "url(#paint0_linear_5796_19583)"
|
|
704
|
+
}),
|
|
705
|
+
/* @__PURE__ */ jsx("path", {
|
|
706
|
+
d: "M4.5 11.91V26.65C4.5 29.33 6.67 31.5 9.35 31.5H26.65C29.33 31.5 31.5 29.33 31.5 26.65V11.91H4.5Z",
|
|
707
|
+
fill: "url(#paint1_linear_5796_19583)"
|
|
708
|
+
}),
|
|
709
|
+
/* @__PURE__ */ jsx("g", {
|
|
710
|
+
filter: "url(#filter0_d_5796_19583)",
|
|
711
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
712
|
+
d: "M18.0186 25.5176C19.0579 25.5176 19.9004 24.6751 19.9004 23.6358C19.9004 22.5964 19.0579 21.7539 18.0186 21.7539C16.9793 21.7539 16.1367 22.5964 16.1367 23.6358C16.1367 24.6751 16.9793 25.5176 18.0186 25.5176Z",
|
|
713
|
+
fill: "#C7F4FF"
|
|
714
|
+
})
|
|
715
|
+
}),
|
|
716
|
+
/* @__PURE__ */ jsx("g", {
|
|
717
|
+
filter: "url(#filter1_d_5796_19583)",
|
|
718
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
719
|
+
d: "M11.5987 25.5176C12.638 25.5176 13.4805 24.6751 13.4805 23.6358C13.4805 22.5964 12.638 21.7539 11.5987 21.7539C10.5593 21.7539 9.7168 22.5964 9.7168 23.6358C9.7168 24.6751 10.5593 25.5176 11.5987 25.5176Z",
|
|
720
|
+
fill: "#C7F4FF"
|
|
721
|
+
})
|
|
722
|
+
}),
|
|
723
|
+
/* @__PURE__ */ jsx("g", {
|
|
724
|
+
filter: "url(#filter2_d_5796_19583)",
|
|
725
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
726
|
+
d: "M18.0186 19.5C19.0579 19.5 19.9004 18.6575 19.9004 17.6182C19.9004 16.5789 19.0579 15.7363 18.0186 15.7363C16.9793 15.7363 16.1367 16.5789 16.1367 17.6182C16.1367 18.6575 16.9793 19.5 18.0186 19.5Z",
|
|
727
|
+
fill: "#E3FAFF"
|
|
728
|
+
})
|
|
729
|
+
}),
|
|
730
|
+
/* @__PURE__ */ jsx("g", {
|
|
731
|
+
filter: "url(#filter3_d_5796_19583)",
|
|
732
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
733
|
+
d: "M24.4385 19.5C25.4778 19.5 26.3203 18.6575 26.3203 17.6182C26.3203 16.5789 25.4778 15.7363 24.4385 15.7363C23.3992 15.7363 22.5566 16.5789 22.5566 17.6182C22.5566 18.6575 23.3992 19.5 24.4385 19.5Z",
|
|
734
|
+
fill: "#E3FAFF"
|
|
735
|
+
})
|
|
736
|
+
}),
|
|
737
|
+
/* @__PURE__ */ jsx("g", {
|
|
738
|
+
filter: "url(#filter4_d_5796_19583)",
|
|
739
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
740
|
+
d: "M11.5987 19.5C12.638 19.5 13.4805 18.6575 13.4805 17.6182C13.4805 16.5789 12.638 15.7363 11.5987 15.7363C10.5593 15.7363 9.7168 16.5789 9.7168 17.6182C9.7168 18.6575 10.5593 19.5 11.5987 19.5Z",
|
|
741
|
+
fill: "#E3FAFF"
|
|
742
|
+
})
|
|
743
|
+
}),
|
|
744
|
+
/* @__PURE__ */ jsxs("defs", { children: [
|
|
745
|
+
/* @__PURE__ */ jsxs("filter", {
|
|
746
|
+
id: "filter0_d_5796_19583",
|
|
747
|
+
x: "14.4916",
|
|
748
|
+
y: "20.9113",
|
|
749
|
+
width: "7.05391",
|
|
750
|
+
height: "7.05391",
|
|
751
|
+
filterUnits: "userSpaceOnUse",
|
|
752
|
+
colorInterpolationFilters: "sRGB",
|
|
753
|
+
children: [
|
|
754
|
+
/* @__PURE__ */ jsx("feFlood", {
|
|
755
|
+
floodOpacity: "0",
|
|
756
|
+
result: "BackgroundImageFix"
|
|
757
|
+
}),
|
|
758
|
+
/* @__PURE__ */ jsx("feColorMatrix", {
|
|
759
|
+
in: "SourceAlpha",
|
|
760
|
+
type: "matrix",
|
|
761
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
762
|
+
result: "hardAlpha"
|
|
763
|
+
}),
|
|
764
|
+
/* @__PURE__ */ jsx("feOffset", { dy: "0.8" }),
|
|
765
|
+
/* @__PURE__ */ jsx("feGaussianBlur", { stdDeviation: "0.82" }),
|
|
766
|
+
/* @__PURE__ */ jsx("feComposite", {
|
|
767
|
+
in2: "hardAlpha",
|
|
768
|
+
operator: "out"
|
|
769
|
+
}),
|
|
770
|
+
/* @__PURE__ */ jsx("feColorMatrix", {
|
|
771
|
+
type: "matrix",
|
|
772
|
+
values: "0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0"
|
|
773
|
+
}),
|
|
774
|
+
/* @__PURE__ */ jsx("feBlend", {
|
|
775
|
+
mode: "normal",
|
|
776
|
+
in2: "BackgroundImageFix",
|
|
777
|
+
result: "effect1_dropShadow_5796_19583"
|
|
778
|
+
}),
|
|
779
|
+
/* @__PURE__ */ jsx("feBlend", {
|
|
780
|
+
mode: "normal",
|
|
781
|
+
in: "SourceGraphic",
|
|
782
|
+
in2: "effect1_dropShadow_5796_19583",
|
|
783
|
+
result: "shape"
|
|
784
|
+
})
|
|
785
|
+
]
|
|
786
|
+
}),
|
|
787
|
+
/* @__PURE__ */ jsxs("filter", {
|
|
788
|
+
id: "filter1_d_5796_19583",
|
|
789
|
+
x: "8.07168",
|
|
790
|
+
y: "20.9113",
|
|
791
|
+
width: "7.05391",
|
|
792
|
+
height: "7.05391",
|
|
793
|
+
filterUnits: "userSpaceOnUse",
|
|
794
|
+
colorInterpolationFilters: "sRGB",
|
|
795
|
+
children: [
|
|
796
|
+
/* @__PURE__ */ jsx("feFlood", {
|
|
797
|
+
floodOpacity: "0",
|
|
798
|
+
result: "BackgroundImageFix"
|
|
799
|
+
}),
|
|
800
|
+
/* @__PURE__ */ jsx("feColorMatrix", {
|
|
801
|
+
in: "SourceAlpha",
|
|
802
|
+
type: "matrix",
|
|
803
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
804
|
+
result: "hardAlpha"
|
|
805
|
+
}),
|
|
806
|
+
/* @__PURE__ */ jsx("feOffset", { dy: "0.8" }),
|
|
807
|
+
/* @__PURE__ */ jsx("feGaussianBlur", { stdDeviation: "0.82" }),
|
|
808
|
+
/* @__PURE__ */ jsx("feComposite", {
|
|
809
|
+
in2: "hardAlpha",
|
|
810
|
+
operator: "out"
|
|
811
|
+
}),
|
|
812
|
+
/* @__PURE__ */ jsx("feColorMatrix", {
|
|
813
|
+
type: "matrix",
|
|
814
|
+
values: "0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0"
|
|
815
|
+
}),
|
|
816
|
+
/* @__PURE__ */ jsx("feBlend", {
|
|
817
|
+
mode: "normal",
|
|
818
|
+
in2: "BackgroundImageFix",
|
|
819
|
+
result: "effect1_dropShadow_5796_19583"
|
|
820
|
+
}),
|
|
821
|
+
/* @__PURE__ */ jsx("feBlend", {
|
|
822
|
+
mode: "normal",
|
|
823
|
+
in: "SourceGraphic",
|
|
824
|
+
in2: "effect1_dropShadow_5796_19583",
|
|
825
|
+
result: "shape"
|
|
826
|
+
})
|
|
827
|
+
]
|
|
828
|
+
}),
|
|
829
|
+
/* @__PURE__ */ jsxs("filter", {
|
|
830
|
+
id: "filter2_d_5796_19583",
|
|
831
|
+
x: "14.4916",
|
|
832
|
+
y: "14.8937",
|
|
833
|
+
width: "7.05391",
|
|
834
|
+
height: "7.05391",
|
|
835
|
+
filterUnits: "userSpaceOnUse",
|
|
836
|
+
colorInterpolationFilters: "sRGB",
|
|
837
|
+
children: [
|
|
838
|
+
/* @__PURE__ */ jsx("feFlood", {
|
|
839
|
+
floodOpacity: "0",
|
|
840
|
+
result: "BackgroundImageFix"
|
|
841
|
+
}),
|
|
842
|
+
/* @__PURE__ */ jsx("feColorMatrix", {
|
|
843
|
+
in: "SourceAlpha",
|
|
844
|
+
type: "matrix",
|
|
845
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
846
|
+
result: "hardAlpha"
|
|
847
|
+
}),
|
|
848
|
+
/* @__PURE__ */ jsx("feOffset", { dy: "0.8" }),
|
|
849
|
+
/* @__PURE__ */ jsx("feGaussianBlur", { stdDeviation: "0.82" }),
|
|
850
|
+
/* @__PURE__ */ jsx("feComposite", {
|
|
851
|
+
in2: "hardAlpha",
|
|
852
|
+
operator: "out"
|
|
853
|
+
}),
|
|
854
|
+
/* @__PURE__ */ jsx("feColorMatrix", {
|
|
855
|
+
type: "matrix",
|
|
856
|
+
values: "0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0"
|
|
857
|
+
}),
|
|
858
|
+
/* @__PURE__ */ jsx("feBlend", {
|
|
859
|
+
mode: "normal",
|
|
860
|
+
in2: "BackgroundImageFix",
|
|
861
|
+
result: "effect1_dropShadow_5796_19583"
|
|
862
|
+
}),
|
|
863
|
+
/* @__PURE__ */ jsx("feBlend", {
|
|
864
|
+
mode: "normal",
|
|
865
|
+
in: "SourceGraphic",
|
|
866
|
+
in2: "effect1_dropShadow_5796_19583",
|
|
867
|
+
result: "shape"
|
|
868
|
+
})
|
|
869
|
+
]
|
|
870
|
+
}),
|
|
871
|
+
/* @__PURE__ */ jsxs("filter", {
|
|
872
|
+
id: "filter3_d_5796_19583",
|
|
873
|
+
x: "20.9115",
|
|
874
|
+
y: "14.8937",
|
|
875
|
+
width: "7.05391",
|
|
876
|
+
height: "7.05391",
|
|
877
|
+
filterUnits: "userSpaceOnUse",
|
|
878
|
+
colorInterpolationFilters: "sRGB",
|
|
879
|
+
children: [
|
|
880
|
+
/* @__PURE__ */ jsx("feFlood", {
|
|
881
|
+
floodOpacity: "0",
|
|
882
|
+
result: "BackgroundImageFix"
|
|
883
|
+
}),
|
|
884
|
+
/* @__PURE__ */ jsx("feColorMatrix", {
|
|
885
|
+
in: "SourceAlpha",
|
|
886
|
+
type: "matrix",
|
|
887
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
888
|
+
result: "hardAlpha"
|
|
889
|
+
}),
|
|
890
|
+
/* @__PURE__ */ jsx("feOffset", { dy: "0.8" }),
|
|
891
|
+
/* @__PURE__ */ jsx("feGaussianBlur", { stdDeviation: "0.82" }),
|
|
892
|
+
/* @__PURE__ */ jsx("feComposite", {
|
|
893
|
+
in2: "hardAlpha",
|
|
894
|
+
operator: "out"
|
|
895
|
+
}),
|
|
896
|
+
/* @__PURE__ */ jsx("feColorMatrix", {
|
|
897
|
+
type: "matrix",
|
|
898
|
+
values: "0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0"
|
|
899
|
+
}),
|
|
900
|
+
/* @__PURE__ */ jsx("feBlend", {
|
|
901
|
+
mode: "normal",
|
|
902
|
+
in2: "BackgroundImageFix",
|
|
903
|
+
result: "effect1_dropShadow_5796_19583"
|
|
904
|
+
}),
|
|
905
|
+
/* @__PURE__ */ jsx("feBlend", {
|
|
906
|
+
mode: "normal",
|
|
907
|
+
in: "SourceGraphic",
|
|
908
|
+
in2: "effect1_dropShadow_5796_19583",
|
|
909
|
+
result: "shape"
|
|
910
|
+
})
|
|
911
|
+
]
|
|
912
|
+
}),
|
|
913
|
+
/* @__PURE__ */ jsxs("filter", {
|
|
914
|
+
id: "filter4_d_5796_19583",
|
|
915
|
+
x: "8.07168",
|
|
916
|
+
y: "14.8937",
|
|
917
|
+
width: "7.05391",
|
|
918
|
+
height: "7.05391",
|
|
919
|
+
filterUnits: "userSpaceOnUse",
|
|
920
|
+
colorInterpolationFilters: "sRGB",
|
|
921
|
+
children: [
|
|
922
|
+
/* @__PURE__ */ jsx("feFlood", {
|
|
923
|
+
floodOpacity: "0",
|
|
924
|
+
result: "BackgroundImageFix"
|
|
925
|
+
}),
|
|
926
|
+
/* @__PURE__ */ jsx("feColorMatrix", {
|
|
927
|
+
in: "SourceAlpha",
|
|
928
|
+
type: "matrix",
|
|
929
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
930
|
+
result: "hardAlpha"
|
|
931
|
+
}),
|
|
932
|
+
/* @__PURE__ */ jsx("feOffset", { dy: "0.8" }),
|
|
933
|
+
/* @__PURE__ */ jsx("feGaussianBlur", { stdDeviation: "0.82" }),
|
|
934
|
+
/* @__PURE__ */ jsx("feComposite", {
|
|
935
|
+
in2: "hardAlpha",
|
|
936
|
+
operator: "out"
|
|
937
|
+
}),
|
|
938
|
+
/* @__PURE__ */ jsx("feColorMatrix", {
|
|
939
|
+
type: "matrix",
|
|
940
|
+
values: "0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0"
|
|
941
|
+
}),
|
|
942
|
+
/* @__PURE__ */ jsx("feBlend", {
|
|
943
|
+
mode: "normal",
|
|
944
|
+
in2: "BackgroundImageFix",
|
|
945
|
+
result: "effect1_dropShadow_5796_19583"
|
|
946
|
+
}),
|
|
947
|
+
/* @__PURE__ */ jsx("feBlend", {
|
|
948
|
+
mode: "normal",
|
|
949
|
+
in: "SourceGraphic",
|
|
950
|
+
in2: "effect1_dropShadow_5796_19583",
|
|
951
|
+
result: "shape"
|
|
952
|
+
})
|
|
953
|
+
]
|
|
954
|
+
}),
|
|
955
|
+
/* @__PURE__ */ jsxs("linearGradient", {
|
|
956
|
+
id: "paint0_linear_5796_19583",
|
|
957
|
+
x1: "4.5",
|
|
958
|
+
y1: "8.21",
|
|
959
|
+
x2: "31.38",
|
|
960
|
+
y2: "10.12",
|
|
961
|
+
gradientUnits: "userSpaceOnUse",
|
|
962
|
+
children: [/* @__PURE__ */ jsx("stop", { stopColor: "#0879D1" }), /* @__PURE__ */ jsx("stop", {
|
|
963
|
+
offset: "1",
|
|
964
|
+
stopColor: "#056EC9"
|
|
965
|
+
})]
|
|
966
|
+
}),
|
|
967
|
+
/* @__PURE__ */ jsxs("linearGradient", {
|
|
968
|
+
id: "paint1_linear_5796_19583",
|
|
969
|
+
x1: "18",
|
|
970
|
+
y1: "11.91",
|
|
971
|
+
x2: "18",
|
|
972
|
+
y2: "31.5",
|
|
973
|
+
gradientUnits: "userSpaceOnUse",
|
|
974
|
+
children: [/* @__PURE__ */ jsx("stop", { stopColor: "#44CBFD" }), /* @__PURE__ */ jsx("stop", {
|
|
975
|
+
offset: "1",
|
|
976
|
+
stopColor: "#1195EA"
|
|
977
|
+
})]
|
|
978
|
+
})
|
|
979
|
+
] })
|
|
980
|
+
]
|
|
981
|
+
});
|
|
982
|
+
}
|
|
983
|
+
function OutlookIcon(r) {
|
|
984
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
985
|
+
viewBox: "0 0 36 36",
|
|
986
|
+
...r,
|
|
987
|
+
children: [/* @__PURE__ */ jsx("mask", {
|
|
988
|
+
id: "mask0_5796_22925",
|
|
989
|
+
style: { maskType: "luminance" },
|
|
990
|
+
maskUnits: "userSpaceOnUse",
|
|
991
|
+
x: "5",
|
|
992
|
+
y: "5",
|
|
993
|
+
width: "26",
|
|
994
|
+
height: "26",
|
|
995
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
996
|
+
d: "M30.38 5.63H5.63V30.38H30.38V5.63Z",
|
|
997
|
+
fill: "white"
|
|
998
|
+
})
|
|
999
|
+
}), /* @__PURE__ */ jsxs("g", {
|
|
1000
|
+
mask: "url(#mask0_5796_22925)",
|
|
1001
|
+
children: [
|
|
1002
|
+
/* @__PURE__ */ jsx("path", {
|
|
1003
|
+
d: "M27.74 7.17H14.45C13.85 7.17 13.36 7.66 13.36 8.26V9.49L20.85 11.81L28.83 9.49V8.26C28.83 7.66 28.34 7.17 27.74 7.17Z",
|
|
1004
|
+
fill: "#0364B8"
|
|
1005
|
+
}),
|
|
1006
|
+
/* @__PURE__ */ jsx("path", {
|
|
1007
|
+
d: "M30.1 19.09C30.22 18.73 30.31 18.37 30.37 18C30.37 17.82 30.28 17.65 30.12 17.55L30.11 17.55L30.1 17.55L21.72 12.77C21.69 12.75 21.65 12.73 21.61 12.71C21.28 12.55 20.9 12.55 20.58 12.71C20.54 12.73 20.5 12.75 20.47 12.77L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.65 11.81 17.82 11.81 18C11.88 18.37 11.97 18.73 12.08 19.09L20.97 25.59L30.1 19.09Z",
|
|
1008
|
+
fill: "#0A2767"
|
|
1009
|
+
}),
|
|
1010
|
+
/* @__PURE__ */ jsx("path", {
|
|
1011
|
+
d: "M24.19 9.49H18.77L17.21 11.81L18.77 14.13L24.19 18.77H28.83V14.13L24.19 9.49Z",
|
|
1012
|
+
fill: "#28A8EA"
|
|
1013
|
+
}),
|
|
1014
|
+
/* @__PURE__ */ jsx("path", {
|
|
1015
|
+
d: "M13.36 9.49H18.77V14.13H13.36V9.49Z",
|
|
1016
|
+
fill: "#0078D4"
|
|
1017
|
+
}),
|
|
1018
|
+
/* @__PURE__ */ jsx("path", {
|
|
1019
|
+
d: "M24.19 9.49H28.83V14.13H24.19V9.49Z",
|
|
1020
|
+
fill: "#50D9FF"
|
|
1021
|
+
}),
|
|
1022
|
+
/* @__PURE__ */ jsx("path", {
|
|
1023
|
+
d: "M24.19 18.77L18.77 14.13H13.36V18.77L18.77 23.41L27.15 24.78L24.19 18.77Z",
|
|
1024
|
+
fill: "#0364B8"
|
|
1025
|
+
}),
|
|
1026
|
+
/* @__PURE__ */ jsx("path", {
|
|
1027
|
+
d: "M18.77 14.13H24.19V18.77H18.77V14.13Z",
|
|
1028
|
+
fill: "#0078D4"
|
|
1029
|
+
}),
|
|
1030
|
+
/* @__PURE__ */ jsx("path", {
|
|
1031
|
+
d: "M13.36 18.77H18.77V23.42H13.36V18.77Z",
|
|
1032
|
+
fill: "#064A8C"
|
|
1033
|
+
}),
|
|
1034
|
+
/* @__PURE__ */ jsx("path", {
|
|
1035
|
+
d: "M24.19 18.77H28.83V23.42H24.19V18.77Z",
|
|
1036
|
+
fill: "#0078D4"
|
|
1037
|
+
}),
|
|
1038
|
+
/* @__PURE__ */ jsx("path", {
|
|
1039
|
+
opacity: "0.5",
|
|
1040
|
+
d: "M21.24 25.13L12.12 18.48L12.5 17.81C12.5 17.81 20.81 22.54 20.94 22.61C21.04 22.65 21.16 22.65 21.26 22.6L29.72 17.78L30.1 18.46L21.24 25.13Z",
|
|
1041
|
+
fill: "#0A2767"
|
|
1042
|
+
}),
|
|
1043
|
+
/* @__PURE__ */ jsx("path", {
|
|
1044
|
+
d: "M30.12 18.45L30.11 18.45L30.11 18.45L21.72 23.23C21.38 23.45 20.96 23.47 20.59 23.3L23.51 27.21L29.9 28.6V28.61C30.2 28.39 30.38 28.04 30.38 27.67V18C30.38 18.18 30.28 18.35 30.12 18.45Z",
|
|
1045
|
+
fill: "#1490DF"
|
|
1046
|
+
}),
|
|
1047
|
+
/* @__PURE__ */ jsx("path", {
|
|
1048
|
+
opacity: "0.05",
|
|
1049
|
+
d: "M30.38 27.67V27.1L22.66 22.7L21.72 23.23C21.38 23.45 20.96 23.47 20.59 23.3L23.51 27.21L29.9 28.6V28.61C30.2 28.39 30.38 28.04 30.38 27.67Z",
|
|
1050
|
+
fill: "black"
|
|
1051
|
+
}),
|
|
1052
|
+
/* @__PURE__ */ jsx("path", {
|
|
1053
|
+
opacity: "0.1",
|
|
1054
|
+
d: "M30.34 27.97L21.87 23.14L21.72 23.23C21.38 23.45 20.96 23.48 20.59 23.3L23.51 27.22L29.9 28.61V28.61C30.11 28.45 30.27 28.22 30.34 27.97Z",
|
|
1055
|
+
fill: "black"
|
|
1056
|
+
}),
|
|
1057
|
+
/* @__PURE__ */ jsx("path", {
|
|
1058
|
+
d: "M12.08 18.46V18.45H12.08L12.05 18.43C11.9 18.34 11.81 18.18 11.81 18V27.67C11.81 28.31 12.33 28.83 12.97 28.83C12.97 28.83 12.97 28.83 12.97 28.83H29.21C29.31 28.83 29.41 28.81 29.5 28.79C29.55 28.78 29.6 28.77 29.64 28.75C29.66 28.74 29.67 28.74 29.69 28.73C29.75 28.7 29.81 28.67 29.86 28.63C29.88 28.62 29.89 28.62 29.9 28.6L12.08 18.46Z",
|
|
1059
|
+
fill: "#28A8EA"
|
|
1060
|
+
}),
|
|
1061
|
+
/* @__PURE__ */ jsx("path", {
|
|
1062
|
+
opacity: "0.1",
|
|
1063
|
+
d: "M19.55 24.7V12.07C19.55 11.5 19.08 11.04 18.52 11.04H13.38V16.81L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.65 11.81 17.82 11.81 18V25.73H18.52C19.08 25.73 19.55 25.27 19.55 24.7Z",
|
|
1064
|
+
fill: "black"
|
|
1065
|
+
}),
|
|
1066
|
+
/* @__PURE__ */ jsx("path", {
|
|
1067
|
+
opacity: "0.2",
|
|
1068
|
+
d: "M18.77 25.48V12.84C18.77 12.27 18.31 11.81 17.74 11.81H13.38V16.8L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.64 11.81 17.81 11.81 18V26.51H17.74C18.31 26.51 18.77 26.04 18.77 25.48Z",
|
|
1069
|
+
fill: "black"
|
|
1070
|
+
}),
|
|
1071
|
+
/* @__PURE__ */ jsx("path", {
|
|
1072
|
+
opacity: "0.2",
|
|
1073
|
+
d: "M18.77 23.93V12.84C18.77 12.27 18.31 11.81 17.74 11.81H13.38V16.8L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.64 11.81 17.81 11.81 18V24.96H17.74C18.31 24.96 18.77 24.5 18.77 23.93Z",
|
|
1074
|
+
fill: "black"
|
|
1075
|
+
}),
|
|
1076
|
+
/* @__PURE__ */ jsx("path", {
|
|
1077
|
+
opacity: "0.2",
|
|
1078
|
+
d: "M18 23.93V12.84C18 12.27 17.54 11.81 16.97 11.81H13.38V16.8L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.64 11.81 17.81 11.81 18V24.96H16.97C17.54 24.96 18 24.5 18 23.93Z",
|
|
1079
|
+
fill: "black"
|
|
1080
|
+
}),
|
|
1081
|
+
/* @__PURE__ */ jsx("path", {
|
|
1082
|
+
d: "M6.66 11.81H16.97C17.54 11.81 18 12.27 18 12.84V23.16C18 23.72 17.54 24.19 16.97 24.19H6.66C6.09 24.19 5.63 23.72 5.63 23.16V12.84C5.63 12.27 6.09 11.81 6.66 11.81Z",
|
|
1083
|
+
fill: "#0078D4"
|
|
1084
|
+
}),
|
|
1085
|
+
/* @__PURE__ */ jsx("path", {
|
|
1086
|
+
d: "M8.62 16.04C8.89 15.46 9.33 14.97 9.89 14.64C10.5 14.29 11.2 14.11 11.91 14.13C12.56 14.12 13.21 14.28 13.77 14.61C14.31 14.93 14.73 15.4 15.01 15.95C15.31 16.57 15.45 17.24 15.44 17.92C15.46 18.64 15.3 19.34 15 19.99C14.72 20.56 14.27 21.05 13.72 21.37C13.13 21.71 12.46 21.88 11.79 21.87C11.12 21.88 10.46 21.72 9.88 21.38C9.34 21.06 8.9 20.6 8.62 20.04C8.33 19.43 8.17 18.77 8.19 18.09C8.17 17.38 8.32 16.68 8.62 16.04ZM9.97 19.33C10.12 19.7 10.36 20.02 10.68 20.26C11.01 20.49 11.4 20.6 11.8 20.59C12.23 20.61 12.64 20.49 12.99 20.25C13.31 20.01 13.55 19.69 13.69 19.32C13.84 18.91 13.91 18.47 13.91 18.03C13.91 17.59 13.84 17.15 13.7 16.73C13.57 16.35 13.34 16.02 13.03 15.77C12.69 15.52 12.27 15.39 11.85 15.4C11.44 15.39 11.04 15.51 10.71 15.74C10.38 15.98 10.13 16.3 9.98 16.67C9.64 17.53 9.64 18.48 9.97 19.33Z",
|
|
1087
|
+
fill: "white"
|
|
1088
|
+
})
|
|
1089
|
+
]
|
|
1090
|
+
})]
|
|
1091
|
+
});
|
|
1092
|
+
}
|
|
1093
|
+
function SlackIcon(r) {
|
|
1094
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
1095
|
+
viewBox: "0 0 18 18",
|
|
1096
|
+
...r,
|
|
1097
|
+
children: [
|
|
1098
|
+
/* @__PURE__ */ jsx("path", {
|
|
1099
|
+
d: "M5.26 10.79C5.29 11.53 4.7 12.17 3.96 12.19C3.21 12.22 2.58 11.64 2.55 10.89C2.52 10.14 3.11 9.51 3.86 9.48L5.21 9.43L5.26 10.79Z",
|
|
1100
|
+
fill: "#E01E5A"
|
|
1101
|
+
}),
|
|
1102
|
+
/* @__PURE__ */ jsx("path", {
|
|
1103
|
+
d: "M5.95 10.76C5.92 10.01 6.51 9.38 7.25 9.35C8 9.33 8.63 9.91 8.66 10.66L8.79 14.06C8.81 14.8 8.23 15.44 7.48 15.46C6.73 15.49 6.1 14.9 6.07 14.16L5.95 10.76Z",
|
|
1104
|
+
fill: "#E01E5A"
|
|
1105
|
+
}),
|
|
1106
|
+
/* @__PURE__ */ jsx("path", {
|
|
1107
|
+
d: "M7.1 5.26C6.35 5.29 5.72 4.7 5.69 3.96C5.67 3.21 6.25 2.58 7 2.55C7.75 2.52 8.38 3.11 8.41 3.86L8.46 5.21L7.1 5.26Z",
|
|
1108
|
+
fill: "#36C5F0"
|
|
1109
|
+
}),
|
|
1110
|
+
/* @__PURE__ */ jsx("path", {
|
|
1111
|
+
d: "M7.13 5.95C7.87 5.92 8.51 6.51 8.53 7.25C8.56 8 7.97 8.63 7.23 8.66L3.83 8.79C3.08 8.82 2.45 8.23 2.42 7.48C2.4 6.73 2.98 6.1 3.73 6.07L7.13 5.95Z",
|
|
1112
|
+
fill: "#36C5F0"
|
|
1113
|
+
}),
|
|
1114
|
+
/* @__PURE__ */ jsx("path", {
|
|
1115
|
+
d: "M12.62 7.1C12.6 6.35 13.18 5.72 13.93 5.69C14.68 5.67 15.31 6.25 15.34 7C15.37 7.75 14.78 8.38 14.03 8.41L12.68 8.46L12.62 7.1Z",
|
|
1116
|
+
fill: "#2EB67D"
|
|
1117
|
+
}),
|
|
1118
|
+
/* @__PURE__ */ jsx("path", {
|
|
1119
|
+
d: "M11.94 7.13C11.97 7.87 11.38 8.51 10.63 8.53C9.89 8.56 9.25 7.97 9.23 7.23L9.1 3.83C9.07 3.08 9.66 2.45 10.41 2.42C11.15 2.4 11.78 2.98 11.81 3.73L11.94 7.13Z",
|
|
1120
|
+
fill: "#2EB67D"
|
|
1121
|
+
}),
|
|
1122
|
+
/* @__PURE__ */ jsx("path", {
|
|
1123
|
+
d: "M10.79 12.63C11.53 12.6 12.17 13.18 12.19 13.93C12.22 14.68 11.63 15.31 10.89 15.34C10.14 15.37 9.51 14.78 9.48 14.03L9.43 12.68L10.79 12.63Z",
|
|
1124
|
+
fill: "#ECB22E"
|
|
1125
|
+
}),
|
|
1126
|
+
/* @__PURE__ */ jsx("path", {
|
|
1127
|
+
d: "M10.76 11.94C10.01 11.97 9.38 11.38 9.35 10.63C9.33 9.89 9.91 9.26 10.66 9.23L14.06 9.1C14.8 9.07 15.44 9.66 15.46 10.41C15.49 11.15 14.9 11.79 14.16 11.81L10.76 11.94Z",
|
|
1128
|
+
fill: "#ECB22E"
|
|
1129
|
+
})
|
|
1130
|
+
]
|
|
1131
|
+
});
|
|
1132
|
+
}
|
|
1133
|
+
function TeamsIcon(r) {
|
|
1134
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
1135
|
+
viewBox: "0 0 36 36",
|
|
1136
|
+
...r,
|
|
1137
|
+
children: [/* @__PURE__ */ jsxs("g", {
|
|
1138
|
+
clipPath: "url(#clip0_5796_19548)",
|
|
1139
|
+
children: [
|
|
1140
|
+
/* @__PURE__ */ jsx("path", {
|
|
1141
|
+
d: "M23.33 14.85H30.31C30.97 14.85 31.5 15.39 31.5 16.05V22.42C31.5 24.84 29.54 26.81 27.12 26.81H27.09C24.67 26.81 22.71 24.84 22.71 22.42V15.48C22.71 15.13 22.99 14.85 23.33 14.85Z",
|
|
1142
|
+
fill: "#5059C9"
|
|
1143
|
+
}),
|
|
1144
|
+
/* @__PURE__ */ jsx("path", {
|
|
1145
|
+
d: "M28.05 13.59C29.61 13.59 30.87 12.33 30.87 10.76C30.87 9.2 29.61 7.93 28.05 7.93C26.49 7.93 25.22 9.2 25.22 10.76C25.22 12.33 26.49 13.59 28.05 13.59Z",
|
|
1146
|
+
fill: "#5059C9"
|
|
1147
|
+
}),
|
|
1148
|
+
/* @__PURE__ */ jsx("path", {
|
|
1149
|
+
d: "M19.26 13.6C21.51 13.6 23.34 11.76 23.34 9.51C23.34 7.25 21.51 5.42 19.26 5.42C17 5.42 15.17 7.25 15.17 9.51C15.17 11.76 17 13.6 19.26 13.6Z",
|
|
1150
|
+
fill: "#7B83EB"
|
|
1151
|
+
}),
|
|
1152
|
+
/* @__PURE__ */ jsx("path", {
|
|
1153
|
+
d: "M24.7 14.85H13.19C12.54 14.87 12.02 15.41 12.04 16.06V23.33C11.94 27.24 15.04 30.49 18.94 30.59C22.85 30.49 25.94 27.24 25.85 23.33V16.06C25.86 15.41 25.35 14.87 24.7 14.85Z",
|
|
1154
|
+
fill: "#7B83EB"
|
|
1155
|
+
}),
|
|
1156
|
+
/* @__PURE__ */ jsx("path", {
|
|
1157
|
+
opacity: "0.1",
|
|
1158
|
+
d: "M19.5704 14.8545V25.0293C19.5673 25.4958 19.2851 25.915 18.8546 26.0927C18.7175 26.1508 18.5702 26.1807 18.4213 26.1808H12.588C12.5064 25.9731 12.4311 25.7655 12.3683 25.5515C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1846 14.8545H19.5704Z",
|
|
1159
|
+
fill: "black"
|
|
1160
|
+
}),
|
|
1161
|
+
/* @__PURE__ */ jsx("path", {
|
|
1162
|
+
opacity: "0.2",
|
|
1163
|
+
d: "M18.9425 14.8545V25.6585C18.9424 25.8077 18.9126 25.9553 18.8546 26.0927C18.6773 26.5241 18.259 26.8069 17.7934 26.81H12.8832C12.7764 26.6023 12.676 26.3947 12.588 26.1808C12.5001 25.9668 12.4311 25.7655 12.3683 25.5515C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1846 14.8545H18.9425Z",
|
|
1164
|
+
fill: "black"
|
|
1165
|
+
}),
|
|
1166
|
+
/* @__PURE__ */ jsx("path", {
|
|
1167
|
+
opacity: "0.2",
|
|
1168
|
+
d: "M18.9425 14.8545V24.4C18.9377 25.034 18.426 25.5467 17.7934 25.5515H12.3683C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1845 14.8545H18.9425Z",
|
|
1169
|
+
fill: "black"
|
|
1170
|
+
}),
|
|
1171
|
+
/* @__PURE__ */ jsx("path", {
|
|
1172
|
+
opacity: "0.2",
|
|
1173
|
+
d: "M18.3145 14.8545V24.4C18.3098 25.034 17.7981 25.5467 17.1655 25.5515H12.3683C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1846 14.8545H18.3145Z",
|
|
1174
|
+
fill: "black"
|
|
1175
|
+
}),
|
|
1176
|
+
/* @__PURE__ */ jsx("path", {
|
|
1177
|
+
opacity: "0.1",
|
|
1178
|
+
d: "M19.5694 11.6017V13.5838C19.4627 13.5901 19.3622 13.5964 19.2555 13.5964C19.1487 13.5964 19.0483 13.5901 18.9415 13.5838C18.7296 13.5697 18.5194 13.536 18.3136 13.4831C17.0421 13.1814 15.9916 12.2877 15.488 11.0794C15.4014 10.8765 15.3341 10.6658 15.2871 10.4502H18.4204C19.054 10.4526 19.567 10.9667 19.5694 11.6017Z",
|
|
1179
|
+
fill: "black"
|
|
1180
|
+
}),
|
|
1181
|
+
/* @__PURE__ */ jsx("path", {
|
|
1182
|
+
opacity: "0.2",
|
|
1183
|
+
d: "M18.9418 12.2296V13.5825C18.7298 13.5684 18.5196 13.5347 18.3139 13.4818C17.0423 13.1801 15.9919 12.2864 15.4883 11.0781H17.7927C18.4263 11.0805 18.9394 11.5947 18.9418 12.2296Z",
|
|
1184
|
+
fill: "black"
|
|
1185
|
+
}),
|
|
1186
|
+
/* @__PURE__ */ jsx("path", {
|
|
1187
|
+
opacity: "0.2",
|
|
1188
|
+
d: "M18.3139 12.2296V13.4818C17.0423 13.1801 15.9919 12.2864 15.4883 11.0781H17.1648C17.7984 11.0805 18.3115 11.5947 18.3139 12.2296Z",
|
|
1189
|
+
fill: "black"
|
|
1190
|
+
}),
|
|
1191
|
+
/* @__PURE__ */ jsx("path", {
|
|
1192
|
+
d: "M5.65 11.08H17.16C17.8 11.08 18.31 11.59 18.31 12.23V23.77C18.31 24.4 17.8 24.92 17.16 24.92H5.65C5.02 24.92 4.5 24.4 4.5 23.77V12.23C4.5 11.59 5.02 11.08 5.65 11.08Z",
|
|
1193
|
+
fill: "url(#paint0_linear_5796_19548)"
|
|
1194
|
+
}),
|
|
1195
|
+
/* @__PURE__ */ jsx("path", {
|
|
1196
|
+
d: "M14.44 15.47H12.14V21.75H10.67V15.47H8.38V14.25H14.44V15.47Z",
|
|
1197
|
+
fill: "white"
|
|
1198
|
+
})
|
|
1199
|
+
]
|
|
1200
|
+
}), /* @__PURE__ */ jsxs("defs", { children: [/* @__PURE__ */ jsxs("linearGradient", {
|
|
1201
|
+
id: "paint0_linear_5796_19548",
|
|
1202
|
+
x1: "6.9",
|
|
1203
|
+
y1: "10.18",
|
|
1204
|
+
x2: "15.94",
|
|
1205
|
+
y2: "25.81",
|
|
1206
|
+
gradientUnits: "userSpaceOnUse",
|
|
1207
|
+
children: [
|
|
1208
|
+
/* @__PURE__ */ jsx("stop", { stopColor: "#5A62C3" }),
|
|
1209
|
+
/* @__PURE__ */ jsx("stop", {
|
|
1210
|
+
offset: "0.5",
|
|
1211
|
+
stopColor: "#4D55BD"
|
|
1212
|
+
}),
|
|
1213
|
+
/* @__PURE__ */ jsx("stop", {
|
|
1214
|
+
offset: "1",
|
|
1215
|
+
stopColor: "#3940AB"
|
|
1216
|
+
})
|
|
1217
|
+
]
|
|
1218
|
+
}), /* @__PURE__ */ jsx("clipPath", {
|
|
1219
|
+
id: "clip0_5796_19548",
|
|
1220
|
+
children: /* @__PURE__ */ jsx("rect", {
|
|
1221
|
+
width: "27",
|
|
1222
|
+
height: "25.1695",
|
|
1223
|
+
fill: "white",
|
|
1224
|
+
transform: "translate(4.5 5.41504)"
|
|
1225
|
+
})
|
|
1226
|
+
})] })]
|
|
1227
|
+
});
|
|
1228
|
+
}
|
|
1229
|
+
function CheckboxIcon(r) {
|
|
1230
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1231
|
+
viewBox: "0 0 16 16",
|
|
1232
|
+
...r,
|
|
1233
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1234
|
+
d: "M4 8L6.5 10.5L12 5",
|
|
1235
|
+
stroke: "currentColor",
|
|
1236
|
+
strokeWidth: "2",
|
|
1237
|
+
strokeLinecap: "round",
|
|
1238
|
+
strokeLinejoin: "round"
|
|
1239
|
+
})
|
|
1240
|
+
});
|
|
1241
|
+
}
|
|
1242
|
+
function CheckCircleEmptyIcon(r) {
|
|
1243
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1244
|
+
viewBox: "0 0 28 28",
|
|
1245
|
+
...r,
|
|
1246
|
+
children: /* @__PURE__ */ jsx("circle", {
|
|
1247
|
+
cx: "14",
|
|
1248
|
+
cy: "14",
|
|
1249
|
+
r: "10.5",
|
|
1250
|
+
stroke: "currentColor",
|
|
1251
|
+
strokeWidth: "1.5"
|
|
1252
|
+
})
|
|
1253
|
+
});
|
|
1254
|
+
}
|
|
1255
|
+
function CheckCircleIcon(r) {
|
|
1256
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1257
|
+
viewBox: "0 0 20 20",
|
|
1258
|
+
...r,
|
|
1259
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1260
|
+
d: "M8.82 13.55L14.42 7.94L13.54 7.06L8.82 11.79L6.44 9.41L5.56 10.29L8.82 13.55ZM10 17.92C8.91 17.92 7.88 17.71 6.91 17.29C5.95 16.88 5.11 16.31 4.4 15.6C3.69 14.89 3.12 14.05 2.71 13.09C2.29 12.13 2.08 11.1 2.08 10C2.08 8.91 2.29 7.88 2.71 6.91C3.12 5.95 3.69 5.11 4.4 4.4C5.11 3.69 5.95 3.12 6.91 2.71C7.88 2.29 8.9 2.08 10 2.08C11.09 2.08 12.12 2.29 13.09 2.71C14.05 3.12 14.89 3.69 15.6 4.4C16.31 5.11 16.88 5.95 17.29 6.91C17.71 7.87 17.92 8.9 17.92 10C17.92 11.09 17.71 12.12 17.29 13.09C16.88 14.05 16.31 14.89 15.6 15.6C14.89 16.31 14.05 16.88 13.09 17.29C12.13 17.71 11.1 17.92 10 17.92ZM10 16.67C11.86 16.67 13.44 16.02 14.73 14.73C16.02 13.44 16.67 11.86 16.67 10C16.67 8.14 16.02 6.56 14.73 5.27C13.44 3.98 11.86 3.33 10 3.33C8.14 3.33 6.56 3.98 5.27 5.27C3.98 6.56 3.33 8.14 3.33 10C3.33 11.86 3.98 13.44 5.27 14.73C6.56 16.02 8.14 16.67 10 16.67Z",
|
|
1261
|
+
fill: "currentColor"
|
|
1262
|
+
})
|
|
1263
|
+
});
|
|
1264
|
+
}
|
|
1265
|
+
function FireIcon(r) {
|
|
1266
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1267
|
+
viewBox: "0 0 20 20",
|
|
1268
|
+
...r,
|
|
1269
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1270
|
+
d: "M5 11.67C5 12.51 5.2 13.29 5.6 14.01C6 14.73 6.55 15.32 7.26 15.76C7.19 15.64 7.15 15.53 7.12 15.41C7.1 15.29 7.08 15.17 7.08 15.04C7.08 14.66 7.16 14.29 7.31 13.95C7.45 13.61 7.67 13.3 7.94 13.03L10 11L12.07 13.03C12.34 13.3 12.55 13.61 12.7 13.95C12.84 14.29 12.92 14.66 12.92 15.04C12.92 15.17 12.9 15.29 12.88 15.41C12.85 15.53 12.81 15.64 12.74 15.76C13.45 15.32 14 14.73 14.4 14.01C14.8 13.29 15 12.51 15 11.67C15 10.97 14.87 10.32 14.61 9.7C14.36 9.08 13.99 8.53 13.5 8.04C13.22 8.22 12.93 8.36 12.63 8.45C12.32 8.54 12.01 8.58 11.69 8.58C10.82 8.58 10.07 8.3 9.44 7.73C8.81 7.16 8.45 6.45 8.35 5.61C7.81 6.06 7.33 6.53 6.92 7.03C6.5 7.52 6.15 8.02 5.86 8.54C5.58 9.05 5.36 9.57 5.22 10.1C5.07 10.62 5 11.15 5 11.67ZM10 12.75L8.81 13.92C8.66 14.07 8.54 14.24 8.46 14.44C8.38 14.63 8.33 14.83 8.33 15.04C8.33 15.49 8.5 15.87 8.82 16.19C9.15 16.51 9.54 16.67 10 16.67C10.46 16.67 10.85 16.51 11.18 16.19C11.5 15.87 11.67 15.49 11.67 15.04C11.67 14.82 11.63 14.61 11.54 14.43C11.46 14.24 11.34 14.07 11.19 13.92L10 12.75ZM9.58 3.25V5.25C9.58 5.84 9.79 6.33 10.19 6.73C10.6 7.13 11.1 7.33 11.69 7.33C11.94 7.33 12.19 7.29 12.42 7.19C12.65 7.09 12.86 6.95 13.05 6.76L13.42 6.39C14.3 6.96 14.99 7.71 15.49 8.64C16 9.58 16.25 10.59 16.25 11.67C16.25 13.41 15.64 14.89 14.43 16.1C13.22 17.31 11.74 17.92 10 17.92C8.26 17.92 6.78 17.31 5.57 16.1C4.36 14.89 3.75 13.41 3.75 11.67C3.75 10.06 4.27 8.51 5.32 7.02C6.37 5.53 7.79 4.27 9.58 3.25Z",
|
|
1271
|
+
fill: "currentColor"
|
|
1272
|
+
})
|
|
1273
|
+
});
|
|
1274
|
+
}
|
|
1275
|
+
function InsightIcon(r) {
|
|
1276
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1277
|
+
viewBox: "0 0 16 16",
|
|
1278
|
+
...r,
|
|
1279
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1280
|
+
d: "M8 4.52C8.72 6.07 10.03 7.31 11.64 8.01C10.03 8.71 8.72 9.95 8 11.5C7.27 9.95 5.97 8.71 4.36 8.01C5.97 7.31 7.27 6.07 8 4.52Z",
|
|
1281
|
+
stroke: "currentColor",
|
|
1282
|
+
strokeWidth: "1.25"
|
|
1283
|
+
})
|
|
1284
|
+
});
|
|
1285
|
+
}
|
|
1286
|
+
function NotFireIcon(r) {
|
|
1287
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
1288
|
+
viewBox: "0 0 20 20",
|
|
1289
|
+
...r,
|
|
1290
|
+
children: [/* @__PURE__ */ jsx("path", {
|
|
1291
|
+
d: "M5 11.67C5 12.51 5.2 13.29 5.6 14.01C6 14.73 6.55 15.32 7.26 15.76C7.19 15.64 7.15 15.53 7.12 15.41C7.1 15.29 7.08 15.17 7.08 15.04C7.08 14.66 7.16 14.29 7.31 13.95C7.45 13.61 7.67 13.3 7.94 13.03L10 11L12.07 13.03C12.34 13.3 12.55 13.61 12.7 13.95C12.84 14.29 12.92 14.66 12.92 15.04C12.92 15.17 12.9 15.29 12.88 15.41C12.85 15.53 12.81 15.64 12.74 15.76C13.45 15.32 14 14.73 14.4 14.01C14.8 13.29 15 12.51 15 11.67C15 10.97 14.87 10.32 14.61 9.7C14.36 9.08 13.99 8.53 13.5 8.04C13.22 8.22 12.93 8.36 12.63 8.45C12.32 8.54 12.01 8.58 11.69 8.58C10.82 8.58 10.07 8.3 9.44 7.73C8.81 7.16 8.45 6.45 8.35 5.61C7.81 6.06 7.33 6.53 6.92 7.03C6.5 7.52 6.15 8.02 5.86 8.54C5.58 9.05 5.36 9.57 5.22 10.1C5.07 10.62 5 11.15 5 11.67ZM10 12.75L8.81 13.92C8.66 14.07 8.54 14.24 8.46 14.44C8.38 14.63 8.33 14.83 8.33 15.04C8.33 15.49 8.5 15.87 8.82 16.19C9.15 16.51 9.54 16.67 10 16.67C10.46 16.67 10.85 16.51 11.18 16.19C11.5 15.87 11.67 15.49 11.67 15.04C11.67 14.82 11.63 14.61 11.54 14.43C11.46 14.24 11.34 14.07 11.19 13.92L10 12.75ZM9.58 3.25V5.25C9.58 5.84 9.79 6.33 10.19 6.73C10.6 7.13 11.1 7.33 11.69 7.33C11.94 7.33 12.19 7.29 12.42 7.19C12.65 7.09 12.86 6.95 13.05 6.76L13.42 6.39C14.3 6.96 14.99 7.71 15.49 8.64C16 9.58 16.25 10.59 16.25 11.67C16.25 13.41 15.64 14.89 14.43 16.1C13.22 17.31 11.74 17.92 10 17.92C8.26 17.92 6.78 17.31 5.57 16.1C4.36 14.89 3.75 13.41 3.75 11.67C3.75 10.06 4.27 8.51 5.32 7.02C6.37 5.53 7.79 4.27 9.58 3.25Z",
|
|
1292
|
+
fill: "currentColor"
|
|
1293
|
+
}), /* @__PURE__ */ jsx("line", {
|
|
1294
|
+
x1: "17.8311",
|
|
1295
|
+
y1: "3.53033",
|
|
1296
|
+
x2: "2.83111",
|
|
1297
|
+
y2: "18.5303",
|
|
1298
|
+
stroke: "currentColor",
|
|
1299
|
+
strokeWidth: "1.5"
|
|
1300
|
+
})]
|
|
1301
|
+
});
|
|
1302
|
+
}
|
|
1303
|
+
function ReadIcon(r) {
|
|
1304
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1305
|
+
viewBox: "0 0 20 20",
|
|
1306
|
+
...r,
|
|
1307
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1308
|
+
d: "M10.77 1.78L17.32 5.69C17.5 5.81 17.65 5.97 17.76 6.16C17.86 6.36 17.92 6.57 17.92 6.79V15.58C17.92 16 17.77 16.35 17.48 16.65C17.19 16.94 16.83 17.08 16.41 17.08H3.59C3.17 17.08 2.81 16.94 2.52 16.65C2.23 16.35 2.08 16 2.08 15.58V6.79C2.08 6.57 2.14 6.36 2.24 6.16C2.35 5.97 2.5 5.81 2.68 5.69L9.23 1.78C9.46 1.65 9.72 1.58 10 1.58C10.28 1.58 10.54 1.65 10.77 1.78ZM10.13 10.46L16.5 6.67L10.13 2.87C10.09 2.84 10.04 2.83 10 2.83C9.96 2.83 9.92 2.84 9.87 2.87L3.5 6.67L9.87 10.46C9.92 10.49 9.96 10.5 10 10.5C10.04 10.5 10.09 10.49 10.13 10.46ZM9.23 11.54L3.33 8.02V15.58C3.33 15.65 3.36 15.71 3.41 15.76C3.45 15.81 3.52 15.83 3.59 15.83H16.41C16.49 15.83 16.55 15.81 16.6 15.76C16.64 15.71 16.67 15.65 16.67 15.58V8.02L10.77 11.54C10.54 11.67 10.28 11.74 10 11.74C9.72 11.74 9.46 11.67 9.23 11.54ZM10.77 15.83H16.67H3.33H10.77Z",
|
|
1309
|
+
fill: "currentColor"
|
|
1310
|
+
})
|
|
1311
|
+
});
|
|
1312
|
+
}
|
|
1313
|
+
function UnreadIcon(r) {
|
|
1314
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1315
|
+
viewBox: "0 0 20 20",
|
|
1316
|
+
...r,
|
|
1317
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1318
|
+
d: "M3.59 16.25C3.17 16.25 2.81 16.1 2.52 15.81C2.23 15.52 2.08 15.16 2.08 14.74V5.26C2.08 4.84 2.23 4.48 2.52 4.19C2.81 3.9 3.17 3.75 3.59 3.75H11.23C11.4 3.75 11.55 3.81 11.68 3.93C11.8 4.06 11.86 4.21 11.85 4.38C11.85 4.56 11.78 4.7 11.66 4.82C11.54 4.94 11.4 5 11.23 5H3.33V14.74C3.33 14.82 3.36 14.88 3.41 14.93C3.45 14.98 3.52 15 3.59 15H16.41C16.49 15 16.55 14.98 16.6 14.93C16.64 14.88 16.67 14.82 16.67 14.74V9.17C16.67 8.99 16.73 8.84 16.85 8.72C16.97 8.6 17.12 8.54 17.29 8.54C17.47 8.54 17.62 8.6 17.74 8.72C17.86 8.84 17.92 8.99 17.92 9.17V14.74C17.92 15.16 17.77 15.52 17.48 15.81C17.19 16.1 16.83 16.25 16.41 16.25H3.59ZM10 9.17L12.71 7.44C12.86 7.35 13.01 7.32 13.14 7.37C13.27 7.41 13.38 7.5 13.45 7.62C13.53 7.74 13.56 7.87 13.54 8C13.52 8.14 13.43 8.26 13.28 8.36L10.4 10.21C10.27 10.29 10.14 10.33 10 10.33C9.86 10.33 9.73 10.3 9.6 10.22L3.33 6.29V5L10 9.17ZM15.83 6.78C15.2 6.78 14.66 6.56 14.21 6.11C13.77 5.66 13.54 5.12 13.54 4.49C13.54 3.85 13.77 3.31 14.21 2.86C14.66 2.42 15.2 2.2 15.83 2.2C16.47 2.2 17.01 2.42 17.46 2.86C17.9 3.31 18.13 3.85 18.13 4.49C18.13 5.12 17.9 5.66 17.46 6.11C17.01 6.56 16.47 6.78 15.83 6.78Z",
|
|
1319
|
+
fill: "currentColor"
|
|
1320
|
+
})
|
|
1321
|
+
});
|
|
1322
|
+
}
|
|
1323
|
+
function AccountIcon(r) {
|
|
1324
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1325
|
+
viewBox: "0 0 24 24",
|
|
1326
|
+
...r,
|
|
1327
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1328
|
+
d: "M6.02 17.29C6.87 16.66 7.8 16.16 8.8 15.8C9.8 15.43 10.87 15.25 12 15.25C13.13 15.25 14.2 15.43 15.2 15.8C16.2 16.16 17.13 16.66 17.98 17.29C18.6 16.61 19.09 15.82 19.45 14.92C19.82 14.02 20 13.05 20 12C20 9.78 19.22 7.9 17.66 6.34C16.1 4.78 14.22 4 12 4C9.78 4 7.9 4.78 6.34 6.34C4.78 7.9 4 9.78 4 12C4 13.05 4.18 14.02 4.55 14.92C4.91 15.82 5.4 16.61 6.02 17.29ZM12 12.75C11.09 12.75 10.32 12.44 9.69 11.81C9.06 11.18 8.75 10.41 8.75 9.5C8.75 8.59 9.06 7.82 9.69 7.19C10.32 6.56 11.09 6.25 12 6.25C12.91 6.25 13.68 6.56 14.31 7.19C14.94 7.82 15.25 8.59 15.25 9.5C15.25 10.41 14.94 11.18 14.31 11.81C13.68 12.44 12.91 12.75 12 12.75ZM12 21.5C10.68 21.5 9.44 21.25 8.29 20.76C7.13 20.26 6.13 19.58 5.27 18.73C4.42 17.87 3.74 16.87 3.24 15.71C2.75 14.56 2.5 13.32 2.5 12C2.5 10.68 2.75 9.44 3.24 8.29C3.74 7.13 4.42 6.13 5.27 5.27C6.13 4.42 7.13 3.74 8.29 3.24C9.44 2.75 10.68 2.5 12 2.5C13.32 2.5 14.56 2.75 15.71 3.24C16.87 3.74 17.87 4.42 18.73 5.27C19.58 6.13 20.26 7.13 20.76 8.29C21.25 9.44 21.5 10.68 21.5 12C21.5 13.32 21.25 14.56 20.76 15.71C20.26 16.87 19.58 17.87 18.73 18.73C17.87 19.58 16.87 20.26 15.71 20.76C14.56 21.25 13.32 21.5 12 21.5ZM12 20C12.9 20 13.77 19.85 14.61 19.56C15.45 19.27 16.19 18.87 16.84 18.35C16.19 17.84 15.46 17.45 14.64 17.17C13.82 16.89 12.94 16.75 12 16.75C11.06 16.75 10.18 16.89 9.36 17.17C8.53 17.44 7.8 17.84 7.16 18.35C7.81 18.87 8.55 19.27 9.39 19.56C10.23 19.85 11.1 20 12 20ZM12 11.25C12.5 11.25 12.91 11.08 13.25 10.75C13.58 10.41 13.75 10 13.75 9.5C13.75 9 13.58 8.59 13.25 8.25C12.91 7.92 12.5 7.75 12 7.75C11.5 7.75 11.09 7.92 10.75 8.25C10.42 8.59 10.25 9 10.25 9.5C10.25 10 10.42 10.41 10.75 10.75C11.09 11.08 11.5 11.25 12 11.25Z",
|
|
1329
|
+
fill: "currentColor"
|
|
1330
|
+
})
|
|
1331
|
+
});
|
|
1332
|
+
}
|
|
1333
|
+
function AddIcon(r) {
|
|
1334
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1335
|
+
viewBox: "0 0 24 24",
|
|
1336
|
+
...r,
|
|
1337
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1338
|
+
d: "M11.5 12.5H6V11.5H11.5V6H12.5V11.5H18V12.5H12.5V18H11.5V12.5Z",
|
|
1339
|
+
fill: "currentColor"
|
|
1340
|
+
})
|
|
1341
|
+
});
|
|
1342
|
+
}
|
|
1343
|
+
var DIRECTION_CLASS = {
|
|
1344
|
+
down: "",
|
|
1345
|
+
left: "rotate-90",
|
|
1346
|
+
up: "-rotate-180",
|
|
1347
|
+
right: "-rotate-90"
|
|
1348
|
+
};
|
|
1349
|
+
function ArrowIcon({ direction: r = "down", className: M, ...N }) {
|
|
1350
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1351
|
+
viewBox: "0 0 24 24",
|
|
1352
|
+
className: cn(DIRECTION_CLASS[r], M),
|
|
1353
|
+
...N,
|
|
1354
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1355
|
+
d: "m5 8.5 7 7 7-7",
|
|
1356
|
+
stroke: "currentColor",
|
|
1357
|
+
strokeWidth: "2",
|
|
1358
|
+
strokeLinecap: "round",
|
|
1359
|
+
strokeLinejoin: "round"
|
|
1360
|
+
})
|
|
1361
|
+
});
|
|
1362
|
+
}
|
|
1363
|
+
function CalendarIcon(r) {
|
|
1364
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1365
|
+
viewBox: "0 0 24 24",
|
|
1366
|
+
...r,
|
|
1367
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1368
|
+
d: "M5.31 21.5C4.8 21.5 4.38 21.33 4.03 20.98C3.68 20.63 3.5 20.2 3.5 19.69V6.31C3.5 5.8 3.68 5.38 4.03 5.03C4.38 4.68 4.8 4.5 5.31 4.5H6.69V2.38H8.23V4.5H15.81V2.38H17.31V4.5H18.69C19.2 4.5 19.63 4.68 19.98 5.03C20.33 5.38 20.5 5.8 20.5 6.31V19.69C20.5 20.2 20.33 20.63 19.98 20.98C19.63 21.33 19.2 21.5 18.69 21.5H5.31ZM5.31 20H18.69C18.77 20 18.84 19.97 18.9 19.9C18.97 19.84 19 19.77 19 19.69V10.31H5V19.69C5 19.77 5.03 19.84 5.1 19.9C5.16 19.97 5.23 20 5.31 20ZM5 8.81H19V6.31C19 6.23 18.97 6.16 18.9 6.1C18.84 6.03 18.77 6 18.69 6H5.31C5.23 6 5.16 6.03 5.1 6.1C5.03 6.16 5 6.23 5 6.31V8.81Z",
|
|
1369
|
+
fill: "currentColor"
|
|
1370
|
+
})
|
|
1371
|
+
});
|
|
1372
|
+
}
|
|
1373
|
+
function CloseIcon(r) {
|
|
1374
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1375
|
+
viewBox: "0 0 24 24",
|
|
1376
|
+
...r,
|
|
1377
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1378
|
+
d: "M6.4 18.65L5.35 17.6L10.95 12L5.35 6.4L6.4 5.35L12 10.95L17.6 5.35L18.65 6.4L13.05 12L18.65 17.6L17.6 18.65L12 13.05L6.4 18.65Z",
|
|
1379
|
+
fill: "currentColor"
|
|
1380
|
+
})
|
|
1381
|
+
});
|
|
1382
|
+
}
|
|
1383
|
+
function CompactDensityIcon(r) {
|
|
1384
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1385
|
+
viewBox: "0 0 24 24",
|
|
1386
|
+
...r,
|
|
1387
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1388
|
+
d: "M3.5 20.5V19H20.5V20.5H3.5ZM3.5 16.625V15.125H20.5V16.625H3.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM3.5 8.875V7.375H20.5V8.875H3.5ZM3.5 5V3.5H20.5V5H3.5Z",
|
|
1389
|
+
fill: "currentColor"
|
|
1390
|
+
})
|
|
1391
|
+
});
|
|
1392
|
+
}
|
|
1393
|
+
function CopyIcon(r) {
|
|
1394
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1395
|
+
viewBox: "0 0 24 24",
|
|
1396
|
+
...r,
|
|
1397
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1398
|
+
d: "M9.06 17.5C8.55 17.5 8.13 17.33 7.78 16.98C7.43 16.63 7.25 16.2 7.25 15.69V4.31C7.25 3.8 7.43 3.38 7.78 3.03C8.13 2.68 8.55 2.5 9.06 2.5H17.44C17.95 2.5 18.38 2.68 18.73 3.03C19.08 3.38 19.25 3.8 19.25 4.31V15.69C19.25 16.2 19.08 16.63 18.73 16.98C18.38 17.33 17.95 17.5 17.44 17.5H9.06ZM9.06 16H17.44C17.52 16 17.59 15.97 17.65 15.9C17.72 15.84 17.75 15.77 17.75 15.69V4.31C17.75 4.23 17.72 4.16 17.65 4.1C17.59 4.03 17.52 4 17.44 4H9.06C8.98 4 8.91 4.03 8.85 4.1C8.78 4.16 8.75 4.23 8.75 4.31V15.69C8.75 15.77 8.78 15.84 8.85 15.9C8.91 15.97 8.98 16 9.06 16ZM5.56 21C5.05 21 4.63 20.83 4.28 20.48C3.93 20.13 3.75 19.7 3.75 19.19V6.31H5.25V19.19C5.25 19.27 5.28 19.34 5.35 19.4C5.41 19.47 5.48 19.5 5.56 19.5H15.44V21H5.56Z",
|
|
1399
|
+
fill: "currentColor"
|
|
1400
|
+
})
|
|
1401
|
+
});
|
|
1402
|
+
}
|
|
1403
|
+
function DarkIcon(r) {
|
|
1404
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1405
|
+
viewBox: "0 0 24 24",
|
|
1406
|
+
...r,
|
|
1407
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1408
|
+
d: "M12.1 21.5C10.77 21.5 9.52 21.25 8.36 20.74C7.2 20.24 6.18 19.55 5.31 18.69C4.45 17.82 3.76 16.8 3.26 15.64C2.75 14.48 2.5 13.23 2.5 11.9C2.5 9.71 3.17 7.76 4.5 6.05C5.84 4.34 7.56 3.22 9.68 2.68C9.5 4.29 9.66 5.84 10.18 7.35C10.69 8.86 11.52 10.19 12.67 11.33C13.81 12.48 15.14 13.31 16.65 13.82C18.16 14.34 19.71 14.5 21.32 14.32C20.79 16.44 19.67 18.16 17.96 19.5C16.24 20.83 14.29 21.5 12.1 21.5ZM12.1 20C13.57 20 14.93 19.63 16.18 18.9C17.43 18.17 18.41 17.16 19.13 15.87C17.69 15.74 16.33 15.38 15.05 14.78C13.77 14.19 12.62 13.39 11.6 12.37C10.58 11.35 9.78 10.2 9.18 8.92C8.58 7.64 8.22 6.28 8.1 4.85C6.82 5.57 5.81 6.55 5.09 7.81C4.36 9.07 4 10.43 4 11.9C4 14.15 4.79 16.06 6.36 17.64C7.94 19.21 9.85 20 12.1 20Z",
|
|
1409
|
+
fill: "currentColor"
|
|
1410
|
+
})
|
|
1411
|
+
});
|
|
1412
|
+
}
|
|
1413
|
+
function ExternalLinkIcon(r) {
|
|
1414
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1415
|
+
viewBox: "0 0 20 20",
|
|
1416
|
+
...r,
|
|
1417
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1418
|
+
d: "M4.42 17.08C4 17.08 3.64 16.94 3.35 16.65C3.06 16.35 2.91 16 2.91 15.58V4.42C2.91 4 3.06 3.65 3.35 3.35C3.64 3.06 4 2.92 4.42 2.92H9.68V4.17H4.42C4.36 4.17 4.3 4.19 4.24 4.25C4.19 4.3 4.16 4.36 4.16 4.42V15.58C4.16 15.64 4.19 15.7 4.24 15.75C4.3 15.81 4.36 15.83 4.42 15.83H15.57C15.64 15.83 15.7 15.81 15.75 15.75C15.8 15.7 15.83 15.64 15.83 15.58V10.32H17.08V15.58C17.08 16 16.93 16.35 16.64 16.65C16.35 16.94 16 17.08 15.57 17.08H4.42ZM8.1 12.78L7.22 11.9L14.95 4.17H11.66V2.92H17.08V8.33H15.83V5.04L8.1 12.78Z",
|
|
1419
|
+
fill: "currentColor"
|
|
1420
|
+
})
|
|
1421
|
+
});
|
|
1422
|
+
}
|
|
1423
|
+
function LightIcon(r) {
|
|
1424
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1425
|
+
viewBox: "0 0 24 24",
|
|
1426
|
+
...r,
|
|
1427
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1428
|
+
d: "M11.25 5.21V1.52H12.75V5.21H11.25ZM17.32 7.73L16.29 6.7L18.87 4.04L19.94 5.12L17.32 7.73ZM18.79 12.75V11.25H22.48V12.75H18.79ZM11.25 22.48V18.8H12.75V22.48H11.25ZM6.7 7.69L4.04 5.13L5.13 4.07L7.74 6.68L6.7 7.69ZM18.86 19.96L16.29 17.3L17.31 16.29L19.93 18.84L18.86 19.96ZM1.52 12.75V11.25H5.21V12.75H1.52ZM5.12 19.96L4.07 18.87L6.65 16.29L7.19 16.81L7.75 17.33L5.12 19.96ZM12 17.5C10.48 17.5 9.18 16.97 8.11 15.9C7.04 14.83 6.5 13.53 6.5 12C6.5 10.48 7.03 9.18 8.1 8.11C9.17 7.04 10.47 6.5 12 6.5C13.53 6.5 14.82 7.03 15.89 8.1C16.97 9.17 17.5 10.47 17.5 12C17.5 13.53 16.97 14.82 15.9 15.89C14.83 16.97 13.53 17.5 12 17.5ZM12 16C13.1 16 14.04 15.61 14.83 14.83C15.61 14.04 16 13.1 16 12C16 10.9 15.61 9.96 14.83 9.18C14.04 8.39 13.1 8 12 8C10.9 8 9.96 8.39 9.18 9.18C8.39 9.96 8 10.9 8 12C8 13.1 8.39 14.04 9.18 14.83C9.96 15.61 10.9 16 12 16Z",
|
|
1429
|
+
fill: "currentColor"
|
|
1430
|
+
})
|
|
1431
|
+
});
|
|
1432
|
+
}
|
|
1433
|
+
function MinusIcon(r) {
|
|
1434
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1435
|
+
viewBox: "0 0 16 16",
|
|
1436
|
+
...r,
|
|
1437
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1438
|
+
d: "M3 8H13",
|
|
1439
|
+
stroke: "currentColor",
|
|
1440
|
+
strokeWidth: "1",
|
|
1441
|
+
strokeLinecap: "round"
|
|
1442
|
+
})
|
|
1443
|
+
});
|
|
1444
|
+
}
|
|
1445
|
+
function MoreIcon(r) {
|
|
1446
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1447
|
+
viewBox: "0 0 24 24",
|
|
1448
|
+
...r,
|
|
1449
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1450
|
+
d: "M10.5 6.23C10.5 5.82 10.65 5.47 10.94 5.17C11.23 4.88 11.59 4.73 12 4.73C12.41 4.73 12.77 4.88 13.06 5.17C13.35 5.47 13.5 5.82 13.5 6.23C13.5 6.64 13.35 7 13.06 7.29C12.77 7.58 12.41 7.73 12 7.73C11.59 7.73 11.23 7.58 10.94 7.29C10.65 7 10.5 6.64 10.5 6.23ZM10.5 12C10.5 11.59 10.65 11.23 10.94 10.94C11.23 10.65 11.59 10.5 12 10.5C12.41 10.5 12.77 10.65 13.06 10.94C13.35 11.23 13.5 11.59 13.5 12C13.5 12.41 13.35 12.77 13.06 13.06C12.77 13.35 12.41 13.5 12 13.5C11.59 13.5 11.23 13.35 10.94 13.06C10.65 12.77 10.5 12.41 10.5 12ZM10.5 17.77C10.5 17.36 10.65 17 10.94 16.71C11.23 16.42 11.59 16.27 12 16.27C12.41 16.27 12.77 16.42 13.06 16.71C13.35 17 13.5 17.36 13.5 17.77C13.5 18.18 13.35 18.54 13.06 18.83C12.77 19.12 12.41 19.27 12 19.27C11.59 19.27 11.23 19.12 10.94 18.83C10.65 18.54 10.5 18.18 10.5 17.77Z",
|
|
1451
|
+
fill: "currentColor"
|
|
1452
|
+
})
|
|
1453
|
+
});
|
|
1454
|
+
}
|
|
1455
|
+
function NormalDensityIcon(r) {
|
|
1456
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1457
|
+
viewBox: "0 0 24 24",
|
|
1458
|
+
...r,
|
|
1459
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1460
|
+
d: "M3.5 20.5V19H20.5V20.5H3.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM3.5 5V3.5H20.5V5H3.5Z",
|
|
1461
|
+
fill: "currentColor"
|
|
1462
|
+
})
|
|
1463
|
+
});
|
|
1464
|
+
}
|
|
1465
|
+
function SearchIcon(r) {
|
|
1466
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1467
|
+
viewBox: "0 0 24 24",
|
|
1468
|
+
...r,
|
|
1469
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
1470
|
+
d: "M21 21L15 15M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z",
|
|
1471
|
+
stroke: "currentColor",
|
|
1472
|
+
strokeWidth: "2",
|
|
1473
|
+
strokeLinecap: "round",
|
|
1474
|
+
strokeLinejoin: "round"
|
|
1475
|
+
})
|
|
1476
|
+
});
|
|
1477
|
+
}
|
|
1478
|
+
function SummaryIcon(r) {
|
|
1479
|
+
return /* @__PURE__ */ jsxs(Icon, {
|
|
1480
|
+
viewBox: "0 0 24 24",
|
|
1481
|
+
...r,
|
|
1482
|
+
children: [/* @__PURE__ */ jsx("path", {
|
|
1483
|
+
d: "M3.5 17.6347V16.135H9.5V17.6347H3.5ZM3.5 12.7502V11.2502H13.5V12.7502H3.5ZM3.5 7.86547V6.36572H20.5V7.86547H3.5Z",
|
|
1484
|
+
fill: "currentColor"
|
|
1485
|
+
}), /* @__PURE__ */ jsx("path", {
|
|
1486
|
+
d: "M17.12 12.22C17.87 13.84 19.23 15.13 20.91 15.85C19.23 16.57 17.87 17.86 17.13 19.48C16.38 17.86 15.02 16.57 13.34 15.85C15.02 15.13 16.38 13.84 17.12 12.22Z",
|
|
1487
|
+
stroke: "currentColor",
|
|
1488
|
+
strokeWidth: "1.25"
|
|
1489
|
+
})]
|
|
1490
|
+
});
|
|
1491
|
+
}
|
|
1492
|
+
function SystemIcon(r) {
|
|
1493
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
1494
|
+
viewBox: "0 0 24 24",
|
|
1495
|
+
...r,
|
|
1496
|
+
children: /* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsx("path", {
|
|
1497
|
+
d: "M10.07 13.93C9.49 13.34 8.96 12.72 8.48 12.07C8.01 11.42 7.59 10.72 7.21 9.99C7.05 10.31 6.94 10.63 6.87 10.97C6.81 11.31 6.77 11.65 6.77 12C6.77 13.45 7.28 14.69 8.3 15.7C9.31 16.72 10.55 17.23 12 17.23C12.34 17.23 12.68 17.19 13.03 17.11C13.37 17.04 13.7 16.93 14.01 16.78C13.28 16.41 12.58 15.99 11.93 15.51C11.28 15.04 10.66 14.51 10.07 13.93ZM11.14 12.88C11.96 13.7 12.87 14.41 13.88 15.01C14.88 15.61 15.95 16.08 17.1 16.43C16.46 17.16 15.7 17.73 14.82 18.14C13.94 18.55 13 18.75 12.02 18.75C10.14 18.75 8.55 18.1 7.24 16.79C5.93 15.48 5.27 13.88 5.27 12C5.27 11.02 5.48 10.09 5.89 9.2C6.29 8.32 6.86 7.56 7.6 6.93C7.95 8.07 8.42 9.14 9.02 10.15C9.62 11.15 10.32 12.06 11.14 12.88ZM18.3 14.49C18.05 14.43 17.81 14.36 17.56 14.28C17.32 14.2 17.08 14.11 16.84 14.02C16.98 13.7 17.08 13.37 17.15 13.03C17.22 12.7 17.25 12.35 17.25 12C17.25 10.55 16.74 9.31 15.71 8.29C14.69 7.26 13.45 6.75 12 6.75C11.65 6.75 11.3 6.78 10.96 6.85C10.63 6.91 10.3 7.01 9.98 7.15C9.89 6.91 9.8 6.68 9.73 6.44C9.66 6.21 9.6 5.97 9.53 5.72C9.93 5.56 10.33 5.45 10.75 5.37C11.17 5.29 11.59 5.25 12.02 5.25C13.9 5.25 15.5 5.91 16.81 7.21C18.12 8.52 18.77 10.12 18.77 12C18.77 12.43 18.74 12.86 18.66 13.28C18.58 13.69 18.46 14.1 18.3 14.49ZM11.25 3.13V0.44H12.75V3.13H11.25ZM11.25 23.56V20.87H12.75V23.56H11.25ZM18.8 6.26L17.74 5.19L19.62 3.33L20.69 4.38L18.8 6.26ZM4.38 20.68L3.31 19.62L5.19 17.74L6.26 18.81L4.38 20.68ZM20.86 12.75V11.25H23.56V12.75H20.86ZM0.44 12.75V11.25H3.13V12.75H0.44ZM19.62 20.69L17.74 18.81L18.8 17.74L20.67 19.62L19.62 20.69ZM5.19 6.26L3.32 4.38L4.38 3.31L6.26 5.19L5.19 6.26Z",
|
|
1498
|
+
fill: "currentColor"
|
|
1499
|
+
}) })
|
|
1500
|
+
});
|
|
1501
|
+
}
|
|
1502
|
+
function Badge({ icon: r, label: M, action: N, className: P }) {
|
|
1503
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
1504
|
+
className: cn("w-fit", P),
|
|
1505
|
+
children: [
|
|
1506
|
+
r,
|
|
1507
|
+
M,
|
|
1508
|
+
N
|
|
1509
|
+
]
|
|
1510
|
+
});
|
|
1511
|
+
}
|
|
1512
|
+
function Card({ as: r, children: M, className: N, ...P }) {
|
|
1513
|
+
return /* @__PURE__ */ jsx(r || "div", {
|
|
1514
|
+
className: cn(N),
|
|
1515
|
+
...P,
|
|
1516
|
+
children: M
|
|
1517
|
+
});
|
|
1518
|
+
}
|
|
1519
|
+
function CardLayout({ children: r, className: M }) {
|
|
1520
|
+
return /* @__PURE__ */ jsx("div", {
|
|
1521
|
+
className: cn("grid grid-cols-[auto_1fr] grid-rows-[auto_auto_1fr_auto]", M),
|
|
1522
|
+
children: r
|
|
1523
|
+
});
|
|
1524
|
+
}
|
|
1525
|
+
function CardSidebar({ children: r, className: M }) {
|
|
1526
|
+
return /* @__PURE__ */ jsx("div", {
|
|
1527
|
+
className: cn("row-span-4", M),
|
|
1528
|
+
children: r
|
|
1529
|
+
});
|
|
1530
|
+
}
|
|
1531
|
+
function CardHeader({ children: r, className: M }) {
|
|
1532
|
+
return /* @__PURE__ */ jsx("div", {
|
|
1533
|
+
className: cn("col-start-2 row-start-1", M),
|
|
1534
|
+
children: r
|
|
1535
|
+
});
|
|
1536
|
+
}
|
|
1537
|
+
function CardTitle({ children: r, className: M }) {
|
|
1538
|
+
return /* @__PURE__ */ jsx("h3", {
|
|
1539
|
+
className: cn("col-start-2 row-start-2", M),
|
|
1540
|
+
children: r
|
|
1541
|
+
});
|
|
1542
|
+
}
|
|
1543
|
+
function CardContent({ children: r, className: M }) {
|
|
1544
|
+
return /* @__PURE__ */ jsx("div", {
|
|
1545
|
+
className: cn("col-start-2 row-start-3", M),
|
|
1546
|
+
children: r
|
|
1547
|
+
});
|
|
1548
|
+
}
|
|
1549
|
+
function CardFooter({ children: r, className: M }) {
|
|
1550
|
+
return /* @__PURE__ */ jsx("div", {
|
|
1551
|
+
className: cn("col-start-2 row-start-4", M),
|
|
1552
|
+
children: r
|
|
1553
|
+
});
|
|
1554
|
+
}
|
|
1555
|
+
function DropdownMenuContent({ children: r, className: M }) {
|
|
1556
|
+
let { close: P } = useDropdown();
|
|
1557
|
+
return /* @__PURE__ */ jsx("div", {
|
|
1558
|
+
role: "menu",
|
|
1559
|
+
tabIndex: -1,
|
|
1560
|
+
className: cn("flex flex-col outline-none", M),
|
|
1561
|
+
children: Children.map(r, (r) => cloneElement(r, {
|
|
1562
|
+
role: "menuitem",
|
|
1563
|
+
onClick: (M) => {
|
|
1564
|
+
r.props.onClick?.(M), r.props.closeOnClick !== !1 && P();
|
|
1565
|
+
}
|
|
1566
|
+
}))
|
|
1567
|
+
});
|
|
1568
|
+
}
|
|
1569
|
+
function DropdownMenuItem(r) {
|
|
1570
|
+
return /* @__PURE__ */ jsx(Button, { ...r });
|
|
1571
|
+
}
|
|
1572
|
+
function DropdownMenu({ trigger: r, children: M, className: N, ...P }) {
|
|
1573
|
+
return /* @__PURE__ */ jsx(Dropdown, {
|
|
1574
|
+
trigger: r,
|
|
1575
|
+
...P,
|
|
1576
|
+
children: /* @__PURE__ */ jsx(DropdownMenuContent, {
|
|
1577
|
+
className: N,
|
|
1578
|
+
children: M
|
|
1579
|
+
})
|
|
1580
|
+
});
|
|
1581
|
+
}
|
|
1582
|
+
const AVATAR_COLOR = {
|
|
1583
|
+
amber: {
|
|
1584
|
+
bg: "bg-amber-200",
|
|
1585
|
+
text: "text-amber-700"
|
|
1586
|
+
},
|
|
1587
|
+
blue: {
|
|
1588
|
+
bg: "bg-blue-200",
|
|
1589
|
+
text: "text-blue-700"
|
|
1590
|
+
},
|
|
1591
|
+
cyan: {
|
|
1592
|
+
bg: "bg-cyan-200",
|
|
1593
|
+
text: "text-cyan-700"
|
|
1594
|
+
},
|
|
1595
|
+
emerald: {
|
|
1596
|
+
bg: "bg-emerald-200",
|
|
1597
|
+
text: "text-emerald-700"
|
|
1598
|
+
},
|
|
1599
|
+
fuchsia: {
|
|
1600
|
+
bg: "bg-fuchsia-200",
|
|
1601
|
+
text: "text-fuchsia-700"
|
|
1602
|
+
},
|
|
1603
|
+
green: {
|
|
1604
|
+
bg: "bg-green-200",
|
|
1605
|
+
text: "text-green-700"
|
|
1606
|
+
},
|
|
1607
|
+
indigo: {
|
|
1608
|
+
bg: "bg-indigo-200",
|
|
1609
|
+
text: "text-indigo-700"
|
|
1610
|
+
},
|
|
1611
|
+
lime: {
|
|
1612
|
+
bg: "bg-lime-200",
|
|
1613
|
+
text: "text-lime-700"
|
|
1614
|
+
},
|
|
1615
|
+
orange: {
|
|
1616
|
+
bg: "bg-orange-200",
|
|
1617
|
+
text: "text-orange-700"
|
|
1618
|
+
},
|
|
1619
|
+
pink: {
|
|
1620
|
+
bg: "bg-pink-200",
|
|
1621
|
+
text: "text-pink-700"
|
|
1622
|
+
},
|
|
1623
|
+
purple: {
|
|
1624
|
+
bg: "bg-purple-200",
|
|
1625
|
+
text: "text-purple-700"
|
|
1626
|
+
},
|
|
1627
|
+
rose: {
|
|
1628
|
+
bg: "bg-rose-200",
|
|
1629
|
+
text: "text-rose-700"
|
|
1630
|
+
},
|
|
1631
|
+
sky: {
|
|
1632
|
+
bg: "bg-sky-200",
|
|
1633
|
+
text: "text-sky-700"
|
|
1634
|
+
},
|
|
1635
|
+
slate: {
|
|
1636
|
+
bg: "bg-slate-200",
|
|
1637
|
+
text: "text-slate-700"
|
|
1638
|
+
},
|
|
1639
|
+
stone: {
|
|
1640
|
+
bg: "bg-stone-200",
|
|
1641
|
+
text: "text-stone-700"
|
|
1642
|
+
},
|
|
1643
|
+
teal: {
|
|
1644
|
+
bg: "bg-teal-200",
|
|
1645
|
+
text: "text-teal-700"
|
|
1646
|
+
},
|
|
1647
|
+
violet: {
|
|
1648
|
+
bg: "bg-violet-200",
|
|
1649
|
+
text: "text-violet-700"
|
|
1650
|
+
}
|
|
1651
|
+
}, AVATAR_COLOR_KEYS = Object.keys(AVATAR_COLOR);
|
|
1652
|
+
var avatarStyles = tv({
|
|
1653
|
+
base: "flex shrink-0 items-center justify-center rounded-full leading-none font-semibold select-none",
|
|
1654
|
+
variants: { size: {
|
|
1655
|
+
xs: "h-[16px] w-[16px] text-[0.5em]",
|
|
1656
|
+
sm: "h-[20px] w-[20px] text-[0.625em]",
|
|
1657
|
+
md: "h-[28px] w-[28px] text-[0.75em]",
|
|
1658
|
+
lg: "h-[36px] w-[36px] text-[0.875em]"
|
|
1659
|
+
} },
|
|
1660
|
+
defaultVariants: { size: "sm" }
|
|
1661
|
+
});
|
|
1662
|
+
function getAvatarInitials(r) {
|
|
1663
|
+
return getInitials(r.includes("@") ? r.split("@")[0] : r);
|
|
1664
|
+
}
|
|
1665
|
+
function Avatar({ name: r, size: M = "sm", className: N }) {
|
|
1666
|
+
let P = getAvatarInitials(r), F = AVATAR_COLOR[pickColorFromPalette(r, AVATAR_COLOR_KEYS)];
|
|
1667
|
+
return /* @__PURE__ */ jsx("div", {
|
|
1668
|
+
role: "img",
|
|
1669
|
+
"aria-label": r,
|
|
1670
|
+
className: cn(avatarStyles({ size: M }), F.bg, F.text, N),
|
|
1671
|
+
children: P
|
|
1672
|
+
});
|
|
1673
|
+
}
|
|
1674
|
+
var statusBadgeStyles = tv({
|
|
1675
|
+
slots: {
|
|
1676
|
+
root: "flex items-center gap-1 rounded-full border py-1 pr-2.5 pl-2",
|
|
1677
|
+
text: "truncate text-xs font-semibold whitespace-nowrap"
|
|
1678
|
+
},
|
|
1679
|
+
variants: { status: {
|
|
1680
|
+
fire: {
|
|
1681
|
+
root: "border-tertiary-400 bg-tertiary-50",
|
|
1682
|
+
text: "text-tertiary-500-variant-2"
|
|
1683
|
+
},
|
|
1684
|
+
insight: {
|
|
1685
|
+
root: "border-primary-400-variant-1 bg-primary-subtle",
|
|
1686
|
+
text: "text-primary-600"
|
|
1687
|
+
},
|
|
1688
|
+
done: {
|
|
1689
|
+
root: "border-success-base bg-success-light",
|
|
1690
|
+
text: "text-success-base"
|
|
1691
|
+
}
|
|
1692
|
+
} }
|
|
1693
|
+
}), STATUS_CONFIG = {
|
|
1694
|
+
fire: {
|
|
1695
|
+
icon: FireIcon,
|
|
1696
|
+
label: "Fire",
|
|
1697
|
+
action: !0
|
|
1698
|
+
},
|
|
1699
|
+
insight: {
|
|
1700
|
+
icon: InsightIcon,
|
|
1701
|
+
label: "Insight",
|
|
1702
|
+
action: !1
|
|
1703
|
+
},
|
|
1704
|
+
done: {
|
|
1705
|
+
icon: FireIcon,
|
|
1706
|
+
label: "Done",
|
|
1707
|
+
action: !0
|
|
1708
|
+
}
|
|
1709
|
+
};
|
|
1710
|
+
function StatusBadge({ className: r, label: M, status: N, onAction: P }) {
|
|
1711
|
+
let F = STATUS_CONFIG[N], I = F.icon, L = statusBadgeStyles({ status: N });
|
|
1712
|
+
return /* @__PURE__ */ jsx(Badge, {
|
|
1713
|
+
className: cn(L.root(), r),
|
|
1714
|
+
icon: /* @__PURE__ */ jsx(I, {
|
|
1715
|
+
size: 16,
|
|
1716
|
+
className: L.text()
|
|
1717
|
+
}),
|
|
1718
|
+
label: /* @__PURE__ */ jsx("span", {
|
|
1719
|
+
className: L.text(),
|
|
1720
|
+
children: "label" in F ? M ?? F.label : M
|
|
1721
|
+
}),
|
|
1722
|
+
action: F.action && P ? /* @__PURE__ */ jsx(Button, {
|
|
1723
|
+
onClick: P,
|
|
1724
|
+
"aria-label": "Dismiss status",
|
|
1725
|
+
className: "group",
|
|
1726
|
+
children: /* @__PURE__ */ jsx(CloseIcon, {
|
|
1727
|
+
size: 16,
|
|
1728
|
+
className: cn("group-hover:scale-90", L.text())
|
|
1729
|
+
})
|
|
1730
|
+
}) : void 0
|
|
1731
|
+
});
|
|
1732
|
+
}
|
|
1733
|
+
function IconButton({ icon: r, ...M }) {
|
|
1734
|
+
return /* @__PURE__ */ jsx(Button, {
|
|
1735
|
+
...M,
|
|
1736
|
+
children: cloneElement(r, {
|
|
1737
|
+
"aria-hidden": !0,
|
|
1738
|
+
focusable: !1,
|
|
1739
|
+
className: cn("shrink-0", r.props.className)
|
|
1740
|
+
})
|
|
1741
|
+
});
|
|
1742
|
+
}
|
|
1743
|
+
function InfoTooltip({ className: r, ...M }) {
|
|
1744
|
+
return /* @__PURE__ */ jsx(Tooltip, {
|
|
1745
|
+
...M,
|
|
1746
|
+
className: cn("rounded bg-neutral-700 px-2 py-1 text-[0.625em] font-medium whitespace-nowrap text-white", r)
|
|
1747
|
+
});
|
|
1748
|
+
}
|
|
1749
|
+
function BulkActions({ totalItems: r = 0, selectedItems: M = 0, onSelectAll: N, actions: P, defaultDensity: F = "normal", onDensityChange: I, className: L }) {
|
|
1750
|
+
let R = r > 0, z = R && M === r, B = R && M > 0 && M < r, V = z ? `All (${r})` : B ? `${M}/${r} selected` : `Select all (${r})`, [H, U] = useState(F ?? "normal"), W = () => {
|
|
1751
|
+
N(!z);
|
|
1752
|
+
};
|
|
1753
|
+
function J(r) {
|
|
1754
|
+
U(r), I?.(r);
|
|
1755
|
+
}
|
|
1756
|
+
let Y = {
|
|
1757
|
+
fire: [{
|
|
1758
|
+
id: "fire",
|
|
1759
|
+
tooltip: "Mark as fire",
|
|
1760
|
+
icon: /* @__PURE__ */ jsx(FireIcon, {
|
|
1761
|
+
size: 20,
|
|
1762
|
+
className: "text-tertiary-500-variant-2"
|
|
1763
|
+
}),
|
|
1764
|
+
onClick: P.fire.on
|
|
1765
|
+
}, {
|
|
1766
|
+
id: "not-fire",
|
|
1767
|
+
tooltip: "Mark as not fire",
|
|
1768
|
+
icon: /* @__PURE__ */ jsx(NotFireIcon, {
|
|
1769
|
+
size: 20,
|
|
1770
|
+
className: "text-neutral-900"
|
|
1771
|
+
}),
|
|
1772
|
+
onClick: P.fire.off
|
|
1773
|
+
}],
|
|
1774
|
+
done: [{
|
|
1775
|
+
id: "done",
|
|
1776
|
+
tooltip: "Mark as done",
|
|
1777
|
+
icon: /* @__PURE__ */ jsx(CheckCircleIcon, {
|
|
1778
|
+
size: 20,
|
|
1779
|
+
className: "text-success-base"
|
|
1780
|
+
}),
|
|
1781
|
+
onClick: P.done.on
|
|
1782
|
+
}, {
|
|
1783
|
+
id: "not-done",
|
|
1784
|
+
tooltip: "Mark as not done",
|
|
1785
|
+
icon: /* @__PURE__ */ jsx(CheckCircleEmptyIcon, {
|
|
1786
|
+
size: 20,
|
|
1787
|
+
className: "text-neutral-900"
|
|
1788
|
+
}),
|
|
1789
|
+
onClick: P.done.off
|
|
1790
|
+
}],
|
|
1791
|
+
read: [{
|
|
1792
|
+
id: "unread",
|
|
1793
|
+
tooltip: "Mark as unread",
|
|
1794
|
+
icon: /* @__PURE__ */ jsx(UnreadIcon, {
|
|
1795
|
+
size: 20,
|
|
1796
|
+
className: "text-primary-600-variant-1"
|
|
1797
|
+
}),
|
|
1798
|
+
onClick: P.read.on
|
|
1799
|
+
}, {
|
|
1800
|
+
id: "read",
|
|
1801
|
+
tooltip: "Mark as read",
|
|
1802
|
+
icon: /* @__PURE__ */ jsx(ReadIcon, {
|
|
1803
|
+
size: 20,
|
|
1804
|
+
className: "text-neutral-900"
|
|
1805
|
+
}),
|
|
1806
|
+
onClick: P.read.off
|
|
1807
|
+
}]
|
|
1808
|
+
}, X = [{
|
|
1809
|
+
value: "normal",
|
|
1810
|
+
tooltip: "Normal density",
|
|
1811
|
+
icon: /* @__PURE__ */ jsx(NormalDensityIcon, { size: 20 })
|
|
1812
|
+
}, {
|
|
1813
|
+
value: "compact",
|
|
1814
|
+
tooltip: "Compact density",
|
|
1815
|
+
icon: /* @__PURE__ */ jsx(CompactDensityIcon, { size: 20 })
|
|
1816
|
+
}];
|
|
1817
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
1818
|
+
className: cn("grid grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-4", L),
|
|
1819
|
+
children: [
|
|
1820
|
+
/* @__PURE__ */ jsx("div", {
|
|
1821
|
+
className: "contents",
|
|
1822
|
+
children: /* @__PURE__ */ jsx(Checkbox, {
|
|
1823
|
+
checked: z,
|
|
1824
|
+
indeterminate: B,
|
|
1825
|
+
onChange: W,
|
|
1826
|
+
icon: /* @__PURE__ */ jsx(CheckboxIcon, {
|
|
1827
|
+
size: 16,
|
|
1828
|
+
className: "text-white-variant-7"
|
|
1829
|
+
}),
|
|
1830
|
+
indeterminateIcon: /* @__PURE__ */ jsx(MinusIcon, {
|
|
1831
|
+
size: 12,
|
|
1832
|
+
className: "text-neutral-900"
|
|
1833
|
+
}),
|
|
1834
|
+
className: cn("[&_.checkbox-box]:rounded", "[&_.checkbox-box]:border", "[&_.checkbox-box]:border-neutral-600", "[&_.checkbox-box]:bg-white", "[&_.checkbox-box[data-state=checked]]:border-primary-500", "[&_.checkbox-box[data-state=checked]]:bg-primary-500", "[&_.checkbox-box[data-state=indeterminate]]:h-[18px]", "[&_.checkbox-box[data-state=indeterminate]]:w-[18px]", "[&_.checkbox-label]:flex", "[&_.checkbox-label]:items-center", "[&_.checkbox-label]:gap-1", "[&_.checkbox-label]:text-xs", "[&_.checkbox-label]:font-medium", "[&_.checkbox-label]:text-neutral-900"),
|
|
1835
|
+
children: V
|
|
1836
|
+
})
|
|
1837
|
+
}),
|
|
1838
|
+
/* @__PURE__ */ jsx("div", {
|
|
1839
|
+
className: "flex items-center divide-x divide-neutral-400-variant-1",
|
|
1840
|
+
children: M > 0 && /* @__PURE__ */ jsx(Fragment$1, { children: Object.entries(Y).map(([r, M]) => /* @__PURE__ */ jsx("div", {
|
|
1841
|
+
className: "flex items-center gap-2 px-1",
|
|
1842
|
+
children: M.map((r) => /* @__PURE__ */ jsx(InfoTooltip, {
|
|
1843
|
+
content: r.tooltip,
|
|
1844
|
+
className: "border-black",
|
|
1845
|
+
children: /* @__PURE__ */ jsx(IconButton, {
|
|
1846
|
+
className: "h-7 w-7 p-0",
|
|
1847
|
+
onClick: r.onClick,
|
|
1848
|
+
icon: r.icon
|
|
1849
|
+
})
|
|
1850
|
+
}, r.id))
|
|
1851
|
+
}, r)) })
|
|
1852
|
+
}),
|
|
1853
|
+
/* @__PURE__ */ jsx("div", {
|
|
1854
|
+
className: "flex items-center gap-2",
|
|
1855
|
+
children: X.map(({ value: r, tooltip: M, icon: N }) => {
|
|
1856
|
+
let P = H === r;
|
|
1857
|
+
return /* @__PURE__ */ jsx(InfoTooltip, {
|
|
1858
|
+
content: M,
|
|
1859
|
+
children: /* @__PURE__ */ jsx(IconButton, {
|
|
1860
|
+
className: cn("h-7 w-7 p-0 text-neutral-900", P && "bg-white-variant-4"),
|
|
1861
|
+
onClick: () => J(r),
|
|
1862
|
+
icon: N,
|
|
1863
|
+
"aria-pressed": P
|
|
1864
|
+
})
|
|
1865
|
+
}, r);
|
|
1866
|
+
})
|
|
1867
|
+
})
|
|
1868
|
+
]
|
|
1869
|
+
});
|
|
1870
|
+
}
|
|
1871
|
+
var filterButtonStyles = tv({
|
|
1872
|
+
slots: {
|
|
1873
|
+
root: "inline-flex w-fit items-center gap-1 rounded-full border px-2 py-1 transition-colors",
|
|
1874
|
+
label: "flex shrink-0 items-center gap-1 text-xs whitespace-nowrap"
|
|
1875
|
+
},
|
|
1876
|
+
variants: { selected: {
|
|
1877
|
+
false: {
|
|
1878
|
+
root: "border-neutral-300 bg-white hover:border-neutral-500-variant-4 hover:bg-neutral-100",
|
|
1879
|
+
label: "font-semibold text-neutral-800 opacity-80 group-hover:opacity-100"
|
|
1880
|
+
},
|
|
1881
|
+
true: {
|
|
1882
|
+
root: "border-primary-400 bg-primary-light hover:border-primary-400",
|
|
1883
|
+
label: "font-semibold text-neutral-900"
|
|
1884
|
+
}
|
|
1885
|
+
} },
|
|
1886
|
+
defaultVariants: { selected: !1 }
|
|
1887
|
+
}), FILTER_BUTTON_META = {
|
|
1888
|
+
fire: {
|
|
1889
|
+
icon: FireIcon,
|
|
1890
|
+
label: "Fire",
|
|
1891
|
+
iconColor: "text-tertiary-500"
|
|
1892
|
+
},
|
|
1893
|
+
unread: {
|
|
1894
|
+
icon: UnreadIcon,
|
|
1895
|
+
label: "Unread",
|
|
1896
|
+
iconColor: "text-primary-500"
|
|
1897
|
+
},
|
|
1898
|
+
insight: {
|
|
1899
|
+
icon: InsightIcon,
|
|
1900
|
+
label: "Insights",
|
|
1901
|
+
iconColor: "text-primary-600"
|
|
1902
|
+
},
|
|
1903
|
+
done: {
|
|
1904
|
+
icon: CheckCircleIcon,
|
|
1905
|
+
label: "Done",
|
|
1906
|
+
iconColor: "text-success-base"
|
|
1907
|
+
}
|
|
1908
|
+
};
|
|
1909
|
+
function renderIcon(r, M) {
|
|
1910
|
+
return typeof r == "function" ? /* @__PURE__ */ jsx(r, {
|
|
1911
|
+
size: 20,
|
|
1912
|
+
className: M
|
|
1913
|
+
}) : cloneElement(r, {
|
|
1914
|
+
size: r.props.size ?? 20,
|
|
1915
|
+
className: cn(M, r.props.className)
|
|
1916
|
+
});
|
|
1917
|
+
}
|
|
1918
|
+
function FilterButton({ variant: r = "custom", label: M, count: N, selected: P = !1, icon: F, classNames: I, disabled: L, ...R }) {
|
|
1919
|
+
let z = !!L, B = filterButtonStyles({ selected: !z && P }), V = r === "custom" ? void 0 : FILTER_BUTTON_META[r], H = F ?? V?.icon, U = M ?? V?.label, W = z ? "text-neutral-400" : P && V?.iconColor ? V.iconColor : "text-neutral-900 opacity-60 group-hover:opacity-80";
|
|
1920
|
+
return /* @__PURE__ */ jsxs(Button, {
|
|
1921
|
+
...R,
|
|
1922
|
+
disabled: L,
|
|
1923
|
+
"aria-label": R["aria-label"] ?? U,
|
|
1924
|
+
className: cn("group", B.root(), z && "border-neutral-300 bg-white hover:border-neutral-300", I?.root),
|
|
1925
|
+
children: [H && /* @__PURE__ */ jsx("span", {
|
|
1926
|
+
className: cn("flex items-center", I?.icon),
|
|
1927
|
+
children: renderIcon(H, cn("shrink-0", W))
|
|
1928
|
+
}), U && /* @__PURE__ */ jsxs("span", {
|
|
1929
|
+
className: cn(B.label(), z && "font-medium text-neutral-400", I?.label),
|
|
1930
|
+
children: [/* @__PURE__ */ jsx("span", { children: U }), typeof N == "number" && N > 0 && /* @__PURE__ */ jsxs("span", {
|
|
1931
|
+
"aria-label": `${N} items`,
|
|
1932
|
+
className: cn("font-medium", I?.count),
|
|
1933
|
+
children: [
|
|
1934
|
+
"(",
|
|
1935
|
+
N,
|
|
1936
|
+
")"
|
|
1937
|
+
]
|
|
1938
|
+
})]
|
|
1939
|
+
})]
|
|
1940
|
+
});
|
|
1941
|
+
}
|
|
1942
|
+
var iconCountButtonStyles = tv({
|
|
1943
|
+
slots: {
|
|
1944
|
+
root: "flex w-fit items-center",
|
|
1945
|
+
bubble: "flex size-8 items-center justify-center rounded-full border-[1.5px] transition-opacity hover:opacity-70",
|
|
1946
|
+
label: "flex items-center gap-1 transition-colors",
|
|
1947
|
+
count: "font-normal",
|
|
1948
|
+
icon: ""
|
|
1949
|
+
},
|
|
1950
|
+
variants: {
|
|
1951
|
+
variant: {
|
|
1952
|
+
primary: {},
|
|
1953
|
+
secondary: {},
|
|
1954
|
+
minimal: {
|
|
1955
|
+
bubble: "border-none text-primary-500",
|
|
1956
|
+
label: "text-primary-500"
|
|
1957
|
+
}
|
|
1958
|
+
},
|
|
1959
|
+
status: {
|
|
1960
|
+
active: {},
|
|
1961
|
+
inactive: {}
|
|
1962
|
+
},
|
|
1963
|
+
orientation: {
|
|
1964
|
+
vertical: {
|
|
1965
|
+
root: "flex-col gap-1",
|
|
1966
|
+
label: "text-[9px] font-semibold"
|
|
1967
|
+
},
|
|
1968
|
+
horizontal: {
|
|
1969
|
+
root: "flex-row gap-2",
|
|
1970
|
+
label: "text-xs font-semibold"
|
|
1971
|
+
}
|
|
1972
|
+
}
|
|
1973
|
+
},
|
|
1974
|
+
compoundVariants: [
|
|
1975
|
+
{
|
|
1976
|
+
variant: "primary",
|
|
1977
|
+
status: "active",
|
|
1978
|
+
class: {
|
|
1979
|
+
bubble: "border-primary-400-variant-1",
|
|
1980
|
+
label: "text-neutral-900"
|
|
1981
|
+
}
|
|
1982
|
+
},
|
|
1983
|
+
{
|
|
1984
|
+
variant: "primary",
|
|
1985
|
+
status: "inactive",
|
|
1986
|
+
class: {
|
|
1987
|
+
bubble: "border-neutral-300",
|
|
1988
|
+
label: "opacity-60",
|
|
1989
|
+
icon: "opacity-50 grayscale"
|
|
1990
|
+
}
|
|
1991
|
+
},
|
|
1992
|
+
{
|
|
1993
|
+
variant: "secondary",
|
|
1994
|
+
status: "active",
|
|
1995
|
+
class: {
|
|
1996
|
+
bubble: "border-primary-400-variant-1",
|
|
1997
|
+
label: "text-neutral-900",
|
|
1998
|
+
icon: "text-success-base"
|
|
1999
|
+
}
|
|
2000
|
+
},
|
|
2001
|
+
{
|
|
2002
|
+
variant: "secondary",
|
|
2003
|
+
status: "inactive",
|
|
2004
|
+
class: {
|
|
2005
|
+
bubble: "border-neutral-300",
|
|
2006
|
+
label: "text-neutral-900"
|
|
2007
|
+
}
|
|
2008
|
+
}
|
|
2009
|
+
],
|
|
2010
|
+
defaultVariants: {
|
|
2011
|
+
variant: "primary",
|
|
2012
|
+
orientation: "vertical",
|
|
2013
|
+
status: "active"
|
|
2014
|
+
}
|
|
2015
|
+
});
|
|
2016
|
+
function IconCountButton({ icon: r, label: M, count: N, variant: P = "primary", orientation: I = "vertical", status: L = "active", alwaysShowCount: R = !1, classNames: z, ...B }) {
|
|
2017
|
+
let V = iconCountButtonStyles({
|
|
2018
|
+
variant: P,
|
|
2019
|
+
orientation: I,
|
|
2020
|
+
status: L
|
|
2021
|
+
});
|
|
2022
|
+
return /* @__PURE__ */ jsxs(Button, {
|
|
2023
|
+
...B,
|
|
2024
|
+
className: cn(V.root(), z?.root),
|
|
2025
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
2026
|
+
className: cn(V.bubble(), z?.bubble),
|
|
2027
|
+
children: cloneElement(r, {
|
|
2028
|
+
size: r.props.size ?? 20,
|
|
2029
|
+
className: cn(V.icon(), r.props.className)
|
|
2030
|
+
})
|
|
2031
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
2032
|
+
className: cn(V.label(), z?.label),
|
|
2033
|
+
children: [/* @__PURE__ */ jsx("span", { children: M }), typeof N == "number" && N > 0 && (R || L === "active") && /* @__PURE__ */ jsxs("span", {
|
|
2034
|
+
"aria-label": `${N} items`,
|
|
2035
|
+
className: cn(V.count(), z?.count),
|
|
2036
|
+
children: [
|
|
2037
|
+
"(",
|
|
2038
|
+
N,
|
|
2039
|
+
")"
|
|
2040
|
+
]
|
|
2041
|
+
})]
|
|
2042
|
+
})]
|
|
2043
|
+
});
|
|
2044
|
+
}
|
|
2045
|
+
function ActionMenuItem({ icon: r, label: M, className: N, selected: P, ...I }) {
|
|
2046
|
+
return /* @__PURE__ */ jsxs(Button, {
|
|
2047
|
+
className: cn("flex items-center justify-start gap-2 bg-white px-3 py-2 hover:bg-neutral-100", P && "bg-primary-500 text-white hover:bg-primary-bright", N),
|
|
2048
|
+
...I,
|
|
2049
|
+
children: [r && cloneElement(r, {
|
|
2050
|
+
size: r.props.size ?? 16,
|
|
2051
|
+
className: cn(P ? "text-white" : "text-neutral-600-variant-7", r.props.className)
|
|
2052
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
2053
|
+
className: cn("text-xs font-medium transition-colors", P ? "text-white" : "text-neutral-900"),
|
|
2054
|
+
children: M
|
|
2055
|
+
})]
|
|
2056
|
+
});
|
|
2057
|
+
}
|
|
2058
|
+
function ActionMenu({ trigger: r, children: M, className: N, ...P }) {
|
|
2059
|
+
return /* @__PURE__ */ jsx(DropdownMenu, {
|
|
2060
|
+
trigger: r,
|
|
2061
|
+
className: cn("mt-1 min-w-20 overflow-hidden rounded border border-neutral-400 bg-white p-0 shadow-lg", N),
|
|
2062
|
+
...P,
|
|
2063
|
+
children: M
|
|
2064
|
+
});
|
|
2065
|
+
}
|
|
2066
|
+
function CalendarPanel({ mode: r, selectedDate: M, selectedRange: N, onDateSelect: P, onRangeSelect: F }) {
|
|
2067
|
+
let { close: I } = useDropdown(), L = useMemo(() => /* @__PURE__ */ new Date(), []), [R, z] = useState(null), V = useRef(M), H = useRef(N), [K, J] = useState(() => {
|
|
2068
|
+
let P = r === "single" ? M ?? L : N.startDate ?? N.endDate ?? L;
|
|
2069
|
+
return {
|
|
2070
|
+
year: P.getFullYear(),
|
|
2071
|
+
month: P.getMonth()
|
|
2072
|
+
};
|
|
2073
|
+
});
|
|
2074
|
+
useEffect(() => {
|
|
2075
|
+
(r === "single" && M && (!V.current || M.getTime() !== V.current.getTime()) || r === "range" && (N.startDate?.getTime() !== H.current.startDate?.getTime() || N.endDate?.getTime() !== H.current.endDate?.getTime())) && queueMicrotask(() => {
|
|
2076
|
+
if (r === "single" && M) J({
|
|
2077
|
+
year: M.getFullYear(),
|
|
2078
|
+
month: M.getMonth()
|
|
2079
|
+
});
|
|
2080
|
+
else if (r === "range") {
|
|
2081
|
+
let r = N.startDate ?? N.endDate;
|
|
2082
|
+
r && J({
|
|
2083
|
+
year: r.getFullYear(),
|
|
2084
|
+
month: r.getMonth()
|
|
2085
|
+
});
|
|
2086
|
+
}
|
|
2087
|
+
}), V.current = M, H.current = N;
|
|
2088
|
+
}, [
|
|
2089
|
+
r,
|
|
2090
|
+
M,
|
|
2091
|
+
N
|
|
2092
|
+
]);
|
|
2093
|
+
let Y = useMemo(() => generateCalendarDays(K.year, K.month), [K.year, K.month]);
|
|
2094
|
+
function X(M) {
|
|
2095
|
+
let L = M.getMonth(), R = M.getFullYear();
|
|
2096
|
+
if ((L !== K.month || R !== K.year) && J({
|
|
2097
|
+
year: R,
|
|
2098
|
+
month: L
|
|
2099
|
+
}), r === "single") P(M), I();
|
|
2100
|
+
else {
|
|
2101
|
+
let { startDate: r, endDate: P } = N;
|
|
2102
|
+
!r || P || isDateBefore(M, r) ? F({
|
|
2103
|
+
startDate: M,
|
|
2104
|
+
endDate: null
|
|
2105
|
+
}) : (F({
|
|
2106
|
+
startDate: r,
|
|
2107
|
+
endDate: M
|
|
2108
|
+
}), I());
|
|
2109
|
+
}
|
|
2110
|
+
}
|
|
2111
|
+
function Z() {
|
|
2112
|
+
J((r) => r.month === 0 ? {
|
|
2113
|
+
year: r.year - 1,
|
|
2114
|
+
month: 11
|
|
2115
|
+
} : {
|
|
2116
|
+
year: r.year,
|
|
2117
|
+
month: r.month - 1
|
|
2118
|
+
});
|
|
2119
|
+
}
|
|
2120
|
+
function Q() {
|
|
2121
|
+
J((r) => r.month === 11 ? {
|
|
2122
|
+
year: r.year + 1,
|
|
2123
|
+
month: 0
|
|
2124
|
+
} : {
|
|
2125
|
+
year: r.year,
|
|
2126
|
+
month: r.month + 1
|
|
2127
|
+
});
|
|
2128
|
+
}
|
|
2129
|
+
let $ = getWeekdays();
|
|
2130
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
2131
|
+
className: "mt-1 w-fit rounded-lg border border-neutral-400 bg-white p-2 shadow-lg",
|
|
2132
|
+
children: [
|
|
2133
|
+
/* @__PURE__ */ jsxs("div", {
|
|
2134
|
+
className: "mb-4 flex items-center justify-between border-b border-neutral-400 pb-2",
|
|
2135
|
+
children: [
|
|
2136
|
+
/* @__PURE__ */ jsx(IconButton, {
|
|
2137
|
+
icon: /* @__PURE__ */ jsx(ArrowIcon, {
|
|
2138
|
+
direction: "left",
|
|
2139
|
+
size: 20
|
|
2140
|
+
}),
|
|
2141
|
+
onClick: Z,
|
|
2142
|
+
className: "hover:opacity-60",
|
|
2143
|
+
"aria-label": "Previous month"
|
|
2144
|
+
}),
|
|
2145
|
+
/* @__PURE__ */ jsxs("div", {
|
|
2146
|
+
className: "text-[10px] font-bold text-neutral-900",
|
|
2147
|
+
children: [
|
|
2148
|
+
getMonthName(K.month),
|
|
2149
|
+
" ",
|
|
2150
|
+
K.year
|
|
2151
|
+
]
|
|
2152
|
+
}),
|
|
2153
|
+
/* @__PURE__ */ jsx(IconButton, {
|
|
2154
|
+
icon: /* @__PURE__ */ jsx(ArrowIcon, {
|
|
2155
|
+
direction: "right",
|
|
2156
|
+
size: 20
|
|
2157
|
+
}),
|
|
2158
|
+
onClick: Q,
|
|
2159
|
+
className: "hover:opacity-60",
|
|
2160
|
+
"aria-label": "Next month"
|
|
2161
|
+
})
|
|
2162
|
+
]
|
|
2163
|
+
}),
|
|
2164
|
+
/* @__PURE__ */ jsx("div", {
|
|
2165
|
+
className: "mb-2 grid grid-cols-7",
|
|
2166
|
+
children: $.map((r) => /* @__PURE__ */ jsx("div", {
|
|
2167
|
+
className: "flex items-center justify-center p-0.5 text-[9px] font-bold text-neutral-900",
|
|
2168
|
+
children: r
|
|
2169
|
+
}, r))
|
|
2170
|
+
}),
|
|
2171
|
+
/* @__PURE__ */ jsx("div", {
|
|
2172
|
+
className: "grid grid-cols-7",
|
|
2173
|
+
children: Y.map(({ day: P, date: F, isCurrentMonth: I }) => {
|
|
2174
|
+
let L = isToday(F), B = r === "single" && M && isSameDay(F, M), { startDate: V, endDate: H } = N, U = V && isSameDay(F, V), W = H && isSameDay(F, H), G = V, K = R;
|
|
2175
|
+
r === "range" && V && !H && R && !isDateBefore(R, V) ? (G = V, K = R) : (G = null, K = null);
|
|
2176
|
+
let q = r === "range" && (isDateInRange(F, V, H) || isDateInRange(F, G, K)), J = B || U || W;
|
|
2177
|
+
return /* @__PURE__ */ jsx(Button, {
|
|
2178
|
+
type: "button",
|
|
2179
|
+
onClick: () => X(F),
|
|
2180
|
+
onMouseEnter: () => {
|
|
2181
|
+
r === "range" && V && !H && !isDateBefore(F, V) && z(F);
|
|
2182
|
+
},
|
|
2183
|
+
onMouseLeave: () => {
|
|
2184
|
+
r === "range" && z(null);
|
|
2185
|
+
},
|
|
2186
|
+
className: "p-0.5",
|
|
2187
|
+
"aria-label": `Select ${formatDate(F)}`,
|
|
2188
|
+
"aria-selected": J || void 0,
|
|
2189
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
2190
|
+
className: cn("flex h-[26px] w-[26px] items-center justify-center rounded text-[9px] transition-colors", J && "bg-primary-500 font-semibold text-white-variant-1 hover:bg-primary-500", q && !J && "bg-primary-500/20 font-normal text-neutral-900 hover:bg-primary-500/30", L && !J && !q && "border border-primary-500 bg-primary-500/15 font-bold hover:bg-primary-500 hover:text-white", !J && !q && (I ? "text-neutral-900 hover:bg-neutral-300" : "text-neutral-600 hover:bg-neutral-200")),
|
|
2191
|
+
children: P
|
|
2192
|
+
})
|
|
2193
|
+
}, `${F.getFullYear()}-${F.getMonth()}-${P}`);
|
|
2194
|
+
})
|
|
2195
|
+
})
|
|
2196
|
+
]
|
|
2197
|
+
});
|
|
2198
|
+
}
|
|
2199
|
+
function DatePickerTrigger({ displayText: r, disabled: M, className: N, onClear: P }) {
|
|
2200
|
+
let { close: F } = useDropdown();
|
|
2201
|
+
function I() {
|
|
2202
|
+
P(), F();
|
|
2203
|
+
}
|
|
2204
|
+
return /* @__PURE__ */ jsxs(Pressable, {
|
|
2205
|
+
disabled: M,
|
|
2206
|
+
className: cn("flex items-center justify-start gap-1 rounded-full border border-neutral-300 bg-white px-2 py-1 text-left text-xs text-neutral-800 transition-colors hover:border-neutral-500", r && "border-primary-400 hover:border-primary-500 hover:bg-primary-light", N),
|
|
2207
|
+
children: [
|
|
2208
|
+
/* @__PURE__ */ jsx(CalendarIcon, {
|
|
2209
|
+
size: 20,
|
|
2210
|
+
className: "text-primary-600"
|
|
2211
|
+
}),
|
|
2212
|
+
/* @__PURE__ */ jsx("span", {
|
|
2213
|
+
className: "font-semibold",
|
|
2214
|
+
children: "Date"
|
|
2215
|
+
}),
|
|
2216
|
+
r && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("span", {
|
|
2217
|
+
className: "font-normal",
|
|
2218
|
+
children: [
|
|
2219
|
+
"(",
|
|
2220
|
+
r,
|
|
2221
|
+
")"
|
|
2222
|
+
]
|
|
2223
|
+
}), /* @__PURE__ */ jsx(StopPropagation, { children: /* @__PURE__ */ jsx(IconButton, {
|
|
2224
|
+
icon: /* @__PURE__ */ jsx(CloseIcon, { size: 16 }),
|
|
2225
|
+
onClick: I,
|
|
2226
|
+
className: "text-neutral-600 hover:opacity-70",
|
|
2227
|
+
"aria-label": "Close"
|
|
2228
|
+
}) })] })
|
|
2229
|
+
]
|
|
2230
|
+
});
|
|
2231
|
+
}
|
|
2232
|
+
function DatePicker({ mode: r = "single", value: M, defaultValue: N, onChange: P, disabled: F = !1, className: I }) {
|
|
2233
|
+
let [L, R] = useState(r === "single" && N ? N : null), [z, B] = useState(() => {
|
|
2234
|
+
if (r === "range" && N) {
|
|
2235
|
+
let r = N;
|
|
2236
|
+
return {
|
|
2237
|
+
startDate: r.startDate ?? null,
|
|
2238
|
+
endDate: r.endDate ?? null
|
|
2239
|
+
};
|
|
2240
|
+
}
|
|
2241
|
+
return {
|
|
2242
|
+
startDate: null,
|
|
2243
|
+
endDate: null
|
|
2244
|
+
};
|
|
2245
|
+
}), V = M !== void 0, H = r === "single" ? V ? M ?? null : L : null, U = r === "range" ? V ? M ?? {
|
|
2246
|
+
startDate: null,
|
|
2247
|
+
endDate: null
|
|
2248
|
+
} : z : {
|
|
2249
|
+
startDate: null,
|
|
2250
|
+
endDate: null
|
|
2251
|
+
};
|
|
2252
|
+
function W(M) {
|
|
2253
|
+
r === "single" && (V || R(M), P?.(M));
|
|
2254
|
+
}
|
|
2255
|
+
function q(M) {
|
|
2256
|
+
r === "range" && (V || B(M), P?.(M));
|
|
2257
|
+
}
|
|
2258
|
+
function J() {
|
|
2259
|
+
r === "single" ? W(null) : q({
|
|
2260
|
+
startDate: null,
|
|
2261
|
+
endDate: null
|
|
2262
|
+
});
|
|
2263
|
+
}
|
|
2264
|
+
return /* @__PURE__ */ jsx(Fragment$1, { children: /* @__PURE__ */ jsx(Dropdown, {
|
|
2265
|
+
trigger: /* @__PURE__ */ jsx(DatePickerTrigger, {
|
|
2266
|
+
displayText: r === "single" ? formatDate(H) : formatDateRange(U.startDate, U.endDate),
|
|
2267
|
+
disabled: F,
|
|
2268
|
+
className: I,
|
|
2269
|
+
onClear: J
|
|
2270
|
+
}),
|
|
2271
|
+
disabled: F,
|
|
2272
|
+
children: /* @__PURE__ */ jsx(CalendarPanel, {
|
|
2273
|
+
mode: r,
|
|
2274
|
+
selectedDate: H,
|
|
2275
|
+
selectedRange: U,
|
|
2276
|
+
onDateSelect: W,
|
|
2277
|
+
onRangeSelect: q
|
|
2278
|
+
})
|
|
2279
|
+
}) });
|
|
2280
|
+
}
|
|
2281
|
+
function FilterBar({ children: r, className: M }) {
|
|
2282
|
+
return /* @__PURE__ */ jsx("div", {
|
|
2283
|
+
className: cn("flex flex-wrap items-center gap-2", M),
|
|
2284
|
+
children: r.map((r) => cloneElement(r, {}))
|
|
2285
|
+
});
|
|
2286
|
+
}
|
|
2287
|
+
var dividerStyles = tv({
|
|
2288
|
+
base: "bg-neutral-400-variant-4",
|
|
2289
|
+
variants: {
|
|
2290
|
+
orientation: {
|
|
2291
|
+
horizontal: "h-px w-full",
|
|
2292
|
+
vertical: "h-full w-px"
|
|
2293
|
+
},
|
|
2294
|
+
inset: {
|
|
2295
|
+
none: "",
|
|
2296
|
+
sm: "",
|
|
2297
|
+
md: "",
|
|
2298
|
+
lg: ""
|
|
2299
|
+
}
|
|
2300
|
+
},
|
|
2301
|
+
compoundVariants: [
|
|
2302
|
+
{
|
|
2303
|
+
orientation: "horizontal",
|
|
2304
|
+
inset: "sm",
|
|
2305
|
+
class: "mx-2"
|
|
2306
|
+
},
|
|
2307
|
+
{
|
|
2308
|
+
orientation: "horizontal",
|
|
2309
|
+
inset: "md",
|
|
2310
|
+
class: "mx-4"
|
|
2311
|
+
},
|
|
2312
|
+
{
|
|
2313
|
+
orientation: "horizontal",
|
|
2314
|
+
inset: "lg",
|
|
2315
|
+
class: "mx-6"
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
orientation: "vertical",
|
|
2319
|
+
inset: "sm",
|
|
2320
|
+
class: "my-2"
|
|
2321
|
+
},
|
|
2322
|
+
{
|
|
2323
|
+
orientation: "vertical",
|
|
2324
|
+
inset: "md",
|
|
2325
|
+
class: "my-4"
|
|
2326
|
+
},
|
|
2327
|
+
{
|
|
2328
|
+
orientation: "vertical",
|
|
2329
|
+
inset: "lg",
|
|
2330
|
+
class: "my-6"
|
|
2331
|
+
}
|
|
2332
|
+
],
|
|
2333
|
+
defaultVariants: {
|
|
2334
|
+
orientation: "horizontal",
|
|
2335
|
+
inset: "none"
|
|
2336
|
+
}
|
|
2337
|
+
});
|
|
2338
|
+
function Divider({ className: r, ...M }) {
|
|
2339
|
+
return /* @__PURE__ */ jsx("div", { className: cn(dividerStyles(M), r) });
|
|
2340
|
+
}
|
|
2341
|
+
function IntegrationBar({ orientation: r = "vertical", children: M, onAddMore: N, className: P }) {
|
|
2342
|
+
return /* @__PURE__ */ jsx("div", {
|
|
2343
|
+
className: cn("size-full", r === "vertical" ? "overflow-x-hidden" : "overflow-y-hidden"),
|
|
2344
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
2345
|
+
className: cn("grid h-full w-full place-items-center gap-4", r === "vertical" ? "grid-cols-1" : "auto-cols-max grid-flow-col", P),
|
|
2346
|
+
children: [
|
|
2347
|
+
M.map((r) => cloneElement(r, {})),
|
|
2348
|
+
/* @__PURE__ */ jsx(Divider, { orientation: r === "vertical" ? "horizontal" : "vertical" }),
|
|
2349
|
+
/* @__PURE__ */ jsx(IconCountButton, {
|
|
2350
|
+
icon: /* @__PURE__ */ jsx(AddIcon, { size: 24 }),
|
|
2351
|
+
label: "Add",
|
|
2352
|
+
onClick: N,
|
|
2353
|
+
variant: "minimal",
|
|
2354
|
+
orientation: r
|
|
2355
|
+
})
|
|
2356
|
+
]
|
|
2357
|
+
})
|
|
2358
|
+
});
|
|
2359
|
+
}
|
|
2360
|
+
var PREVIEW_ACTION_CONFIG = {
|
|
2361
|
+
fire: {
|
|
2362
|
+
className: "group",
|
|
2363
|
+
icon: /* @__PURE__ */ jsx(FireIcon, {
|
|
2364
|
+
size: 20,
|
|
2365
|
+
className: "text-neutral-600 group-hover:text-tertiary-500-variant-2"
|
|
2366
|
+
})
|
|
2367
|
+
},
|
|
2368
|
+
done: {
|
|
2369
|
+
className: "group relative flex items-center justify-center w-6 h-6",
|
|
2370
|
+
icon: /* @__PURE__ */ jsxs("span", {
|
|
2371
|
+
className: "contents",
|
|
2372
|
+
children: [/* @__PURE__ */ jsx(CheckCircleEmptyIcon, {
|
|
2373
|
+
size: 24,
|
|
2374
|
+
className: "block text-neutral-600-variant-1 group-hover:hidden"
|
|
2375
|
+
}), /* @__PURE__ */ jsx(CheckCircleIcon, {
|
|
2376
|
+
size: 24,
|
|
2377
|
+
className: "hidden text-success-base group-hover:block"
|
|
2378
|
+
})]
|
|
2379
|
+
})
|
|
2380
|
+
},
|
|
2381
|
+
link: {
|
|
2382
|
+
className: "",
|
|
2383
|
+
icon: /* @__PURE__ */ jsx(ExternalLinkIcon, {
|
|
2384
|
+
size: 20,
|
|
2385
|
+
className: "text-primary-500"
|
|
2386
|
+
})
|
|
2387
|
+
}
|
|
2388
|
+
};
|
|
2389
|
+
function PreviewCard({ icon: r, sender: M, title: N, content: P, timestamp: F, workspace: I, read: L = !1, selected: R = !1, onSelect: z, checked: B = !1, onCheckedChange: V, statuses: H = {}, actions: U = {} }) {
|
|
2390
|
+
return /* @__PURE__ */ jsx(Card, {
|
|
2391
|
+
as: Pressable,
|
|
2392
|
+
onPress: z,
|
|
2393
|
+
className: cn("rounded-lg border-[1.5px] border-primary-400 bg-white-variant-5 p-4 hover:bg-primary-light", L && "border-neutral-400", R && "border-primary-500 bg-primary-light"),
|
|
2394
|
+
children: /* @__PURE__ */ jsxs(CardLayout, {
|
|
2395
|
+
className: "gap-x-2 gap-y-1",
|
|
2396
|
+
children: [
|
|
2397
|
+
/* @__PURE__ */ jsx(CardSidebar, { children: /* @__PURE__ */ jsx(StopPropagation, { children: /* @__PURE__ */ jsx(Checkbox, {
|
|
2398
|
+
checked: B,
|
|
2399
|
+
onChange: V,
|
|
2400
|
+
icon: /* @__PURE__ */ jsx(CheckboxIcon, {
|
|
2401
|
+
size: 16,
|
|
2402
|
+
className: "text-white-variant-7"
|
|
2403
|
+
}),
|
|
2404
|
+
className: cn("[&_.checkbox-box]:rounded", "[&_.checkbox-box]:border", "[&_.checkbox-box]:border-neutral-600", "[&_.checkbox-box]:bg-white", "[&_.checkbox-box[data-state=checked]]:border-primary-500", "[&_.checkbox-box[data-state=checked]]:bg-primary-500", "[&_.checkbox-box[data-state=indeterminate]]:h-[18px]", "[&_.checkbox-box[data-state=indeterminate]]:w-[18px]", "[&_.checkbox-label]:flex", "[&_.checkbox-label]:items-center", "[&_.checkbox-label]:gap-1", "[&_.checkbox-label]:text-xs", "[&_.checkbox-label]:font-medium", "[&_.checkbox-label]:text-neutral-900")
|
|
2405
|
+
}) }) }),
|
|
2406
|
+
/* @__PURE__ */ jsxs(CardHeader, {
|
|
2407
|
+
className: "grid grid-cols-[auto_minmax(0,1fr)_auto_auto] items-center gap-2",
|
|
2408
|
+
children: [
|
|
2409
|
+
r,
|
|
2410
|
+
/* @__PURE__ */ jsx("span", {
|
|
2411
|
+
className: cn("min-w-0 -translate-x-0.5 truncate text-sm font-bold text-neutral-900", L && "font-medium"),
|
|
2412
|
+
children: M
|
|
2413
|
+
}),
|
|
2414
|
+
/* @__PURE__ */ jsx("span", {
|
|
2415
|
+
className: "text-xs leading-tight font-semibold tracking-wide whitespace-nowrap text-neutral-800",
|
|
2416
|
+
children: F
|
|
2417
|
+
}),
|
|
2418
|
+
/* @__PURE__ */ jsx(InfoTooltip, {
|
|
2419
|
+
content: I,
|
|
2420
|
+
children: /* @__PURE__ */ jsx(Avatar, { name: I })
|
|
2421
|
+
})
|
|
2422
|
+
]
|
|
2423
|
+
}),
|
|
2424
|
+
/* @__PURE__ */ jsx(CardTitle, {
|
|
2425
|
+
className: cn("text-sm font-bold text-neutral-900", L && "font-medium"),
|
|
2426
|
+
children: N
|
|
2427
|
+
}),
|
|
2428
|
+
/* @__PURE__ */ jsx(CardContent, {
|
|
2429
|
+
className: "line-clamp-2 min-w-0 text-sm text-neutral-900",
|
|
2430
|
+
children: P
|
|
2431
|
+
}),
|
|
2432
|
+
/* @__PURE__ */ jsxs(CardFooter, {
|
|
2433
|
+
className: "mt-3 grid grid-cols-[minmax(0,1fr)_auto] items-center gap-1",
|
|
2434
|
+
children: [H && /* @__PURE__ */ jsx("div", {
|
|
2435
|
+
className: "flex gap-2",
|
|
2436
|
+
children: /* @__PURE__ */ jsx(StopPropagation, { children: Object.keys(H).map((r) => {
|
|
2437
|
+
let M = H[r];
|
|
2438
|
+
return M ? /* @__PURE__ */ jsx(StatusBadge, {
|
|
2439
|
+
status: r,
|
|
2440
|
+
label: M.label,
|
|
2441
|
+
onAction: M.onAction
|
|
2442
|
+
}, r) : null;
|
|
2443
|
+
}) })
|
|
2444
|
+
}), U && /* @__PURE__ */ jsx("div", {
|
|
2445
|
+
className: "flex gap-2",
|
|
2446
|
+
children: /* @__PURE__ */ jsx(StopPropagation, { children: Object.keys(U).map((r) => {
|
|
2447
|
+
let M = U[r];
|
|
2448
|
+
if (!M) return null;
|
|
2449
|
+
let N = PREVIEW_ACTION_CONFIG[r];
|
|
2450
|
+
return /* @__PURE__ */ jsx(IconButton, {
|
|
2451
|
+
...N,
|
|
2452
|
+
onClick: M.onClick
|
|
2453
|
+
}, r);
|
|
2454
|
+
}) })
|
|
2455
|
+
})]
|
|
2456
|
+
})
|
|
2457
|
+
]
|
|
2458
|
+
})
|
|
2459
|
+
});
|
|
2460
|
+
}
|
|
2461
|
+
function SearchInput({ value: r, defaultValue: M, placeholder: N = "Search...", onChange: P, onClear: F, disabled: I = !1, className: L }) {
|
|
2462
|
+
let [R, z] = useState(M ?? ""), B = typeof r == "string", V = B ? r : R, H = V.length > 0;
|
|
2463
|
+
function U(r) {
|
|
2464
|
+
B || z(r), P?.(r);
|
|
2465
|
+
}
|
|
2466
|
+
function W() {
|
|
2467
|
+
B || z(""), P?.(""), F?.();
|
|
2468
|
+
}
|
|
2469
|
+
return /* @__PURE__ */ jsxs("fieldset", {
|
|
2470
|
+
role: "search",
|
|
2471
|
+
className: cn("flex h-8 min-w-0 items-center gap-1.5 rounded-full border border-neutral-500-variant-3 bg-white px-2 py-1", I && "pointer-events-none bg-neutral-200 opacity-70", L),
|
|
2472
|
+
disabled: I,
|
|
2473
|
+
children: [
|
|
2474
|
+
/* @__PURE__ */ jsx(SearchIcon, {
|
|
2475
|
+
size: 20,
|
|
2476
|
+
className: "text-neutral-700"
|
|
2477
|
+
}),
|
|
2478
|
+
/* @__PURE__ */ jsx(Input, {
|
|
2479
|
+
type: "text",
|
|
2480
|
+
value: V,
|
|
2481
|
+
placeholder: N,
|
|
2482
|
+
onChange: U,
|
|
2483
|
+
className: cn("m-0 h-5 min-w-0 flex-1 border-0 p-0 text-xs text-neutral-800", "bg-transparent outline-none", "placeholder:text-neutral-700-alpha-60", I && "text-neutral-700-alpha-60")
|
|
2484
|
+
}),
|
|
2485
|
+
H && !I && /* @__PURE__ */ jsx(IconButton, {
|
|
2486
|
+
type: "button",
|
|
2487
|
+
icon: /* @__PURE__ */ jsx(CloseIcon, {
|
|
2488
|
+
size: 16,
|
|
2489
|
+
className: "text-neutral-700"
|
|
2490
|
+
}),
|
|
2491
|
+
onClick: W,
|
|
2492
|
+
"aria-label": "Clear search",
|
|
2493
|
+
className: "rounded p-0 transition-opacity hover:opacity-70"
|
|
2494
|
+
})
|
|
2495
|
+
]
|
|
2496
|
+
});
|
|
2497
|
+
}
|
|
2498
|
+
export { AVATAR_COLOR, AVATAR_COLOR_KEYS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountIcon, ActionMenu, ActionMenuItem, AddIcon, AirtableIcon, ArrowIcon, AsanaIcon, Avatar, Badge, BulkActions, Button, CalendarIcon, Card, CardContent, CardFooter, CardHeader, CardLayout, CardSidebar, CardTitle, CheckCircleEmptyIcon, CheckCircleIcon, Checkbox, CheckboxIcon, ClickUpIcon, CloseIcon, CompactDensityIcon, CopyIcon, DarkIcon, DatePicker, Divider, Dropdown, DropdownContext, DropdownMenu, DropdownMenuItem, ExternalLinkIcon, FilterBar, FilterButton, FireIcon, GmailIcon, GoogleCalendarIcon, Icon, IconButton, IconCountButton, InfoTooltip, Input, InsightIcon, IntegrationBar, JiraIcon, LightIcon, LogoIcon, MinusIcon, MoreIcon, NormalDensityIcon, NotFireIcon, OutlookCalendarIcon, OutlookIcon, Pressable, PreviewCard, ReadIcon, SearchIcon, SearchInput, SlackIcon, StatusBadge, StopPropagation, SummaryIcon, SystemIcon, TeamsIcon, Toaster, Tooltip, UnreadIcon, capitalize, cn, colors, formatDate, formatDateRange, generateCalendarDays, getDaysInMonth, getFirstDayOfMonth, getInitials, getMonthName, getWeekdays, isDateBefore, isDateInRange, isSameDay, isToday, parseDate, pickColorFromPalette, stringHash, toMondayBased, toast, toastStore, useAccordion, useDropdown, useLongPress };
|
|
2499
|
+
|
|
2500
|
+
//# sourceMappingURL=index.js.map
|