@nivaro/react 0.3.44 → 0.3.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/full.css +1 -1
- package/dist/hooks/useSessionRecorder.js +1 -1
- package/dist/index.d.ts +75 -7
- package/dist/shared/components/BaseMap.js +149 -103
- package/dist/shared/components/CollectionBrowserView.js +1390 -1358
- package/dist/shared/components/DataTable.js +356 -334
- package/dist/shared/components/ProfileView.js +16 -21
- package/dist/shared/components/command-center/CommandCenterView.js +331 -352
- package/dist/shared/components/command-center/Customize.js +353 -0
- package/dist/shared/components/command-center/Header.js +296 -0
- package/dist/shared/components/command-center/KioskLinks.js +198 -0
- package/dist/shared/components/command-center/PeekPanel.js +146 -0
- package/dist/shared/components/command-center/announce.js +13 -0
- package/dist/shared/components/command-center/api.js +26 -0
- package/dist/shared/components/command-center/board-prefs.js +99 -0
- package/dist/shared/components/command-center/freshness.js +29 -0
- package/dist/shared/components/command-center/layout.js +56 -0
- package/dist/shared/components/command-center/panels/AttentionPanel.js +135 -0
- package/dist/shared/components/command-center/panels/Banner.js +75 -0
- package/dist/shared/components/command-center/panels/BoardSettings.js +223 -0
- package/dist/shared/components/command-center/panels/FeedPanel.js +149 -0
- package/dist/shared/components/command-center/panels/FlowPanel.js +159 -0
- package/dist/shared/components/command-center/panels/ForecastPanel.js +247 -0
- package/dist/shared/components/command-center/panels/MapLegend.js +266 -0
- package/dist/shared/components/command-center/panels/MapPanel.js +224 -0
- package/dist/shared/components/command-center/panels/PartnersPanel.js +52 -0
- package/dist/shared/components/command-center/panels/PeoplePanel.js +264 -0
- package/dist/shared/components/command-center/panels/RegionPicker.js +91 -0
- package/dist/shared/components/command-center/panels/SystemPanel.js +173 -0
- package/dist/shared/components/command-center/panels/ThroughputPanel.js +310 -0
- package/dist/shared/components/command-center/panels/TimeBar.js +231 -0
- package/dist/shared/components/command-center/panels/TrafficPanel.js +15 -0
- package/dist/shared/components/command-center/panels/WorkloadPanel.js +85 -0
- package/dist/shared/components/command-center/panels/attention-actions.js +267 -0
- package/dist/shared/components/command-center/panels/map-shared.js +95 -0
- package/dist/shared/components/command-center/panels/registry.js +96 -0
- package/dist/shared/components/command-center/shell-hooks.js +118 -0
- package/dist/shared/components/command-center/shortcuts.js +37 -0
- package/dist/shared/components/command-center/state.js +12 -0
- package/dist/shared/components/command-center/theme.js +84 -0
- package/dist/shared/components/command-center/time.js +52 -0
- package/dist/shared/components/command-center/url-state.js +54 -0
- package/dist/shared/components/command-center/work-links.js +32 -0
- package/dist/shared/components/imports/ImportConsole.js +48 -47
- package/dist/shared/components/monitoring/TrafficMiniMap.js +111 -70
- package/dist/shared/components/notifications/TestMyRules.js +39 -38
- package/dist/shared/components/profile/TeamsConnect.js +2 -2
- package/dist/shared/components/queue/QueueQuickFilters.js +81 -63
- package/dist/shared/components/queue/QueueWorklist.js +598 -586
- package/dist/shared/lib/quick-filter-cascade.js +29 -0
- package/package.json +1 -1
|
@@ -1,60 +1,61 @@
|
|
|
1
1
|
import { jsxs as r, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { useMutation as
|
|
2
|
+
import { useMutation as w } from "@tanstack/react-query";
|
|
3
3
|
import { FlaskConical as N } from "lucide-react";
|
|
4
4
|
import { useState as x } from "react";
|
|
5
5
|
import { useNivaroClient as v } from "../../context.js";
|
|
6
|
-
import { post as
|
|
7
|
-
import { cn as
|
|
8
|
-
import { Popover as
|
|
6
|
+
import { post as T } from "../../lib/commands.js";
|
|
7
|
+
import { cn as C } from "../../lib/utils.js";
|
|
8
|
+
import { Popover as S, PopoverTrigger as _, PopoverContent as E } from "../ui/popover.js";
|
|
9
9
|
import { SimpleSelectXs as f } from "../ui/SimpleSelect.js";
|
|
10
|
-
import { NOTIFY_RULE_CATS as
|
|
11
|
-
import { WHY_LAYER_LABELS as
|
|
12
|
-
const
|
|
10
|
+
import { NOTIFY_RULE_CATS as A } from "./NotificationRulesEditor.js";
|
|
11
|
+
import { WHY_LAYER_LABELS as L } from "./why-lines.js";
|
|
12
|
+
const P = [
|
|
13
13
|
{ value: "now", label: "Right now" },
|
|
14
14
|
{ value: "night", label: "Tonight at 11 PM" }
|
|
15
15
|
];
|
|
16
|
-
function
|
|
17
|
-
const
|
|
16
|
+
function D(d = /* @__PURE__ */ new Date()) {
|
|
17
|
+
const m = new Intl.DateTimeFormat("en-CA", {
|
|
18
18
|
timeZone: "America/New_York",
|
|
19
19
|
year: "numeric",
|
|
20
20
|
month: "2-digit",
|
|
21
21
|
day: "2-digit"
|
|
22
22
|
}).format(d);
|
|
23
|
-
for (const
|
|
24
|
-
const
|
|
25
|
-
if (
|
|
23
|
+
for (const l of [4, 5]) {
|
|
24
|
+
const n = /* @__PURE__ */ new Date(`${m}T23:00:00Z`);
|
|
25
|
+
if (n.setUTCHours(n.getUTCHours() + l), new Intl.DateTimeFormat("en-US", {
|
|
26
26
|
timeZone: "America/New_York",
|
|
27
27
|
hour: "2-digit",
|
|
28
28
|
hour12: !1
|
|
29
|
-
}).format(
|
|
29
|
+
}).format(n) === "23") return n.toISOString();
|
|
30
30
|
}
|
|
31
31
|
return d.toISOString();
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function $({ category: d = "workflow" }) {
|
|
34
34
|
var c;
|
|
35
|
-
const
|
|
36
|
-
mutationFn: () =>
|
|
37
|
-
|
|
35
|
+
const m = v(), [l, n] = x(d), [u, g] = x("now"), i = w({
|
|
36
|
+
mutationFn: () => m.request(
|
|
37
|
+
T("/notifications/test-my-rules", {
|
|
38
38
|
category: l,
|
|
39
39
|
email: !0,
|
|
40
|
-
...
|
|
40
|
+
...u === "night" ? { at: D() } : {}
|
|
41
41
|
})
|
|
42
42
|
).then((t) => t.data)
|
|
43
|
-
}), e = i.data,
|
|
44
|
-
return /* @__PURE__ */ r(
|
|
43
|
+
}), e = i.data, b = (t) => e ? t === "email" ? e.decision.email === "send" ? "Emailed now" : e.decision.email === "deferred" ? "Daily summary" : e.decision.email === "no_address" ? "No address on file" : "No email" : t === "push" && e.decision.push && e.push_subscriptions === 0 ? "Allowed, but no device registered" : e.decision[t] ? "Yes" : "No" : null, y = (t) => (e == null ? void 0 : e.decision.reasons.find((o) => o.channel === t)) ?? (e == null ? void 0 : e.decision.reasons.find((o) => o.channel === "all")), k = !!(e != null && e.decision.reasons.some((t) => t.channel === "teams"));
|
|
44
|
+
return /* @__PURE__ */ r(S, { children: [
|
|
45
45
|
/* @__PURE__ */ a(_, { asChild: !0, children: /* @__PURE__ */ r(
|
|
46
46
|
"button",
|
|
47
47
|
{
|
|
48
48
|
type: "button",
|
|
49
49
|
"data-test-my-rules": !0,
|
|
50
|
-
|
|
50
|
+
"data-tip": "See what would happen to a notification for you right now, and which rule decides it",
|
|
51
|
+
className: "inline-flex h-6 items-center gap-1 whitespace-nowrap rounded-md border border-slate-200 px-2 text-[11.5px] font-medium text-slate-600 hover:border-slate-400 hover:text-slate-800 dark:border-border dark:text-muted-foreground dark:hover:text-foreground",
|
|
51
52
|
children: [
|
|
52
53
|
/* @__PURE__ */ a(N, { className: "h-3.5 w-3.5" }),
|
|
53
54
|
"Test my rules"
|
|
54
55
|
]
|
|
55
56
|
}
|
|
56
57
|
) }),
|
|
57
|
-
/* @__PURE__ */ r(
|
|
58
|
+
/* @__PURE__ */ r(E, { align: "start", className: "w-[380px] p-3 text-[12px]", children: [
|
|
58
59
|
/* @__PURE__ */ a("p", { className: "font-semibold text-slate-800 dark:text-slate-100", children: "Test my rules" }),
|
|
59
60
|
/* @__PURE__ */ a("p", { className: "mt-0.5 text-[11px] text-slate-500 dark:text-muted-foreground", children: "What would happen to a notification for you, and which rule decides each channel. Nothing is sent." }),
|
|
60
61
|
/* @__PURE__ */ r("div", { className: "mt-2 flex flex-wrap items-center gap-2", children: [
|
|
@@ -63,17 +64,17 @@ function Z() {
|
|
|
63
64
|
{
|
|
64
65
|
ariaLabel: "Category to test",
|
|
65
66
|
value: l,
|
|
66
|
-
options:
|
|
67
|
-
onChange: (t) =>
|
|
67
|
+
options: A.map((t) => ({ value: t.key, label: t.label })),
|
|
68
|
+
onChange: (t) => n(t)
|
|
68
69
|
}
|
|
69
70
|
),
|
|
70
71
|
/* @__PURE__ */ a(
|
|
71
72
|
f,
|
|
72
73
|
{
|
|
73
74
|
ariaLabel: "When",
|
|
74
|
-
value:
|
|
75
|
-
options:
|
|
76
|
-
onChange: (t) =>
|
|
75
|
+
value: u,
|
|
76
|
+
options: P,
|
|
77
|
+
onChange: (t) => g(t)
|
|
77
78
|
}
|
|
78
79
|
),
|
|
79
80
|
/* @__PURE__ */ a(
|
|
@@ -92,29 +93,29 @@ function Z() {
|
|
|
92
93
|
e.decision.dropped ? /* @__PURE__ */ r("p", { className: "rounded border border-red-200 bg-red-50 px-2 py-1 text-red-800 dark:border-red-500/30 dark:bg-red-500/10 dark:text-red-300", children: [
|
|
93
94
|
"Nothing would be delivered — ",
|
|
94
95
|
(c = e.decision.reasons[0]) == null ? void 0 : c.text
|
|
95
|
-
] }) : /* @__PURE__ */ a("ul", { className: "divide-y divide-slate-100 rounded border border-slate-100 dark:divide-border/60 dark:border-border/60", children: ["inapp", "push", "email", ...
|
|
96
|
+
] }) : /* @__PURE__ */ a("ul", { className: "divide-y divide-slate-100 rounded border border-slate-100 dark:divide-border/60 dark:border-border/60", children: ["inapp", "push", "email", ...k ? ["teams"] : []].map(
|
|
96
97
|
(t) => {
|
|
97
98
|
var p, h;
|
|
98
|
-
const o =
|
|
99
|
+
const o = y(t), s = (o == null ? void 0 : o.layer) ?? ((p = e.layers) == null ? void 0 : p[t]);
|
|
99
100
|
return /* @__PURE__ */ r("li", { className: "px-2 py-1", "data-test-channel": t, children: [
|
|
100
101
|
/* @__PURE__ */ r("span", { className: "font-medium text-slate-700 dark:text-slate-200", children: [
|
|
101
102
|
t === "inapp" ? "In-app" : t === "push" ? "Push" : t === "email" ? "Email" : "Teams",
|
|
102
103
|
":"
|
|
103
104
|
] }),
|
|
104
105
|
" ",
|
|
105
|
-
|
|
106
|
-
|
|
106
|
+
b(t),
|
|
107
|
+
s && /* @__PURE__ */ r(
|
|
107
108
|
"span",
|
|
108
109
|
{
|
|
109
|
-
className:
|
|
110
|
+
className: C(
|
|
110
111
|
"ml-1 rounded px-1 text-[10px]",
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
s === "person" && "bg-sky-50 text-sky-700 dark:bg-sky-500/15 dark:text-sky-300",
|
|
113
|
+
s === "role" && "bg-violet-50 text-violet-700 dark:bg-violet-500/15 dark:text-violet-300",
|
|
114
|
+
s === "system" && "bg-slate-100 text-slate-500 dark:bg-muted dark:text-slate-400"
|
|
114
115
|
),
|
|
115
116
|
children: [
|
|
116
|
-
|
|
117
|
-
|
|
117
|
+
L[s],
|
|
118
|
+
s === "role" && ((h = e.role) != null && h.name) ? ` · ${e.role.name}` : ""
|
|
118
119
|
]
|
|
119
120
|
}
|
|
120
121
|
),
|
|
@@ -133,5 +134,5 @@ function Z() {
|
|
|
133
134
|
] });
|
|
134
135
|
}
|
|
135
136
|
export {
|
|
136
|
-
|
|
137
|
+
$ as TestMyRules
|
|
137
138
|
};
|
|
@@ -17,7 +17,7 @@ function P({ linked: a, linkedAt: r }) {
|
|
|
17
17
|
/* @__PURE__ */ t(
|
|
18
18
|
"span",
|
|
19
19
|
{
|
|
20
|
-
className: "inline-flex
|
|
20
|
+
className: "inline-flex items-center justify-center gap-1 whitespace-nowrap text-[10.5px] font-normal normal-case tracking-normal text-emerald-700 dark:text-emerald-400",
|
|
21
21
|
"data-teams-connected": "",
|
|
22
22
|
title: r ? `Connected ${new Date(r).toLocaleString()}` : void 0,
|
|
23
23
|
children: [
|
|
@@ -52,7 +52,7 @@ function P({ linked: a, linkedAt: r }) {
|
|
|
52
52
|
{
|
|
53
53
|
type: "button",
|
|
54
54
|
"data-teams-connect": "",
|
|
55
|
-
className: "rounded border border-slate-200 px-1.5 py-0.5 text-[10.5px] font-medium normal-case tracking-normal text-slate-600 hover:border-slate-400 hover:text-slate-800 dark:border-border dark:text-muted-foreground dark:hover:text-foreground",
|
|
55
|
+
className: "whitespace-nowrap rounded border border-slate-200 px-1.5 py-0.5 text-[10.5px] font-medium normal-case tracking-normal text-slate-600 hover:border-slate-400 hover:text-slate-800 dark:border-border dark:text-muted-foreground dark:hover:text-foreground",
|
|
56
56
|
children: "Connect Teams"
|
|
57
57
|
}
|
|
58
58
|
) }),
|
|
@@ -1,116 +1,134 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useQuery as
|
|
3
|
-
import { useState as
|
|
4
|
-
import { MultiPick as
|
|
5
|
-
const
|
|
6
|
-
function
|
|
7
|
-
def:
|
|
8
|
-
selected:
|
|
9
|
-
onChange:
|
|
10
|
-
badge:
|
|
1
|
+
import { jsxs as f, jsx as i, Fragment as S } from "react/jsx-runtime";
|
|
2
|
+
import { useQuery as N } from "@tanstack/react-query";
|
|
3
|
+
import { useState as x, useEffect as O, useMemo as C } from "react";
|
|
4
|
+
import { MultiPick as q } from "../CollectionBrowserView.js";
|
|
5
|
+
const d = (r) => Array.isArray(r) ? r : r ? [r] : [];
|
|
6
|
+
function v({
|
|
7
|
+
def: r,
|
|
8
|
+
selected: n,
|
|
9
|
+
onChange: h,
|
|
10
|
+
badge: y,
|
|
11
|
+
narrowBy: p
|
|
11
12
|
}) {
|
|
12
|
-
const [
|
|
13
|
-
queryKey: ["queue-quick-facet",
|
|
14
|
-
queryFn: () =>
|
|
15
|
-
enabled: !!
|
|
13
|
+
const [c, g] = x(!1), [o, m] = x(""), u = r.loadOptions, e = JSON.stringify(p), { data: a = [], isLoading: l } = N({
|
|
14
|
+
queryKey: ["queue-quick-facet", r.key, o, e],
|
|
15
|
+
queryFn: () => u ? u(o, { narrowBy: p }) : Promise.resolve([]),
|
|
16
|
+
enabled: !!u && (c || n.length > 0),
|
|
16
17
|
staleTime: 6e4
|
|
17
|
-
}),
|
|
18
|
-
const
|
|
19
|
-
return [...
|
|
20
|
-
}, [
|
|
21
|
-
return /* @__PURE__ */
|
|
22
|
-
|
|
18
|
+
}), k = C(() => {
|
|
19
|
+
const s = new Set(a.map((t) => t.value));
|
|
20
|
+
return [...a, ...n.filter((t) => !s.has(t)).map((t) => ({ label: t, value: t }))];
|
|
21
|
+
}, [a, n]);
|
|
22
|
+
return /* @__PURE__ */ i(
|
|
23
|
+
q,
|
|
23
24
|
{
|
|
24
|
-
label:
|
|
25
|
-
options:
|
|
26
|
-
selected:
|
|
27
|
-
onChange: (
|
|
28
|
-
loading:
|
|
29
|
-
badge:
|
|
30
|
-
onSearch:
|
|
31
|
-
onOpenChange: (
|
|
32
|
-
|
|
25
|
+
label: r.placeholder,
|
|
26
|
+
options: k,
|
|
27
|
+
selected: n,
|
|
28
|
+
onChange: (s) => h(s.map(String)),
|
|
29
|
+
loading: l,
|
|
30
|
+
badge: y,
|
|
31
|
+
onSearch: m,
|
|
32
|
+
onOpenChange: (s) => {
|
|
33
|
+
s && g(!0);
|
|
33
34
|
}
|
|
34
35
|
}
|
|
35
36
|
);
|
|
36
37
|
}
|
|
37
38
|
function Q({
|
|
38
|
-
defs:
|
|
39
|
-
values:
|
|
40
|
-
seededKeys:
|
|
41
|
-
onApply:
|
|
42
|
-
onClear:
|
|
43
|
-
right:
|
|
39
|
+
defs: r,
|
|
40
|
+
values: n,
|
|
41
|
+
seededKeys: h,
|
|
42
|
+
onApply: y,
|
|
43
|
+
onClear: p,
|
|
44
|
+
right: c
|
|
44
45
|
}) {
|
|
45
|
-
const
|
|
46
|
-
|
|
46
|
+
const g = JSON.stringify(r.map((e) => [e.key, d(n[e.key])])), [o, m] = x({});
|
|
47
|
+
O(() => {
|
|
47
48
|
const e = {};
|
|
48
|
-
for (const
|
|
49
|
-
|
|
50
|
-
}, [
|
|
51
|
-
const u =
|
|
52
|
-
(e) => JSON.stringify(
|
|
49
|
+
for (const a of r) e[a.key] = d(n[a.key]);
|
|
50
|
+
m(e);
|
|
51
|
+
}, [g]);
|
|
52
|
+
const u = r.some(
|
|
53
|
+
(e) => JSON.stringify(o[e.key] ?? []) !== JSON.stringify(d(n[e.key]))
|
|
53
54
|
);
|
|
54
|
-
return
|
|
55
|
+
return r.length === 0 && !c ? null : /* @__PURE__ */ f(
|
|
55
56
|
"div",
|
|
56
57
|
{
|
|
57
58
|
className: "flex shrink-0 flex-wrap items-center gap-1.5 border-b border-slate-100 bg-white px-4 py-1.5 dark:border-slate-800 dark:bg-slate-900",
|
|
58
59
|
"data-queue-quick-filters": !0,
|
|
59
60
|
children: [
|
|
60
|
-
|
|
61
|
-
const
|
|
61
|
+
r.map((e) => {
|
|
62
|
+
const a = o[e.key] ?? [], l = e.restricted ? {
|
|
62
63
|
label: "restricted",
|
|
63
64
|
cls: "bg-amber-500/15 text-amber-700 dark:text-amber-300",
|
|
64
65
|
title: `Options limited to your restricted ${e.placeholder} scope`
|
|
65
|
-
} :
|
|
66
|
+
} : h.has(e.key) && a.length > 0 ? {
|
|
66
67
|
label: "your default",
|
|
67
68
|
cls: "bg-nvr-cyan/[0.12] text-[#0284a8] dark:text-nvr-cyan",
|
|
68
69
|
title: `Pre-selected from your default ${e.placeholder} scope — adjust freely`
|
|
69
|
-
} : null,
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
} : null, k = (t) => {
|
|
71
|
+
m((b) => ({ ...b, [e.key]: t })), t.length === 0 && d(n[e.key]).length > 0 && y({ [e.key]: e.multi || e.type === "combobox" ? [] : "" });
|
|
72
|
+
}, s = r.filter((t) => {
|
|
73
|
+
var b;
|
|
74
|
+
return t.key !== e.key && t.cascade && (((b = o[t.key]) == null ? void 0 : b.length) ?? 0) > 0;
|
|
75
|
+
}).map((t) => ({
|
|
76
|
+
collection: t.cascade.collection,
|
|
77
|
+
field: t.cascade.field,
|
|
78
|
+
values: o[t.key] ?? []
|
|
79
|
+
}));
|
|
80
|
+
return e.loadOptions ? /* @__PURE__ */ i(
|
|
81
|
+
v,
|
|
82
|
+
{
|
|
83
|
+
def: e,
|
|
84
|
+
selected: a,
|
|
85
|
+
onChange: k,
|
|
86
|
+
badge: l,
|
|
87
|
+
narrowBy: s
|
|
88
|
+
},
|
|
89
|
+
e.key
|
|
90
|
+
) : /* @__PURE__ */ i(
|
|
91
|
+
q,
|
|
74
92
|
{
|
|
75
93
|
label: e.placeholder,
|
|
76
94
|
options: e.options ?? [],
|
|
77
|
-
selected:
|
|
78
|
-
onChange: (
|
|
79
|
-
badge:
|
|
95
|
+
selected: a,
|
|
96
|
+
onChange: (t) => k(t.map(String)),
|
|
97
|
+
badge: l
|
|
80
98
|
},
|
|
81
99
|
e.key
|
|
82
100
|
);
|
|
83
101
|
}),
|
|
84
|
-
|
|
85
|
-
/* @__PURE__ */
|
|
102
|
+
r.length > 0 && /* @__PURE__ */ f(S, { children: [
|
|
103
|
+
/* @__PURE__ */ i(
|
|
86
104
|
"button",
|
|
87
105
|
{
|
|
88
106
|
type: "button",
|
|
89
107
|
onClick: () => {
|
|
90
108
|
const e = {};
|
|
91
|
-
for (const
|
|
92
|
-
const
|
|
93
|
-
e[
|
|
109
|
+
for (const a of r) {
|
|
110
|
+
const l = o[a.key] ?? [];
|
|
111
|
+
e[a.key] = a.multi || a.type === "combobox" ? l : l[0] ?? "";
|
|
94
112
|
}
|
|
95
|
-
|
|
113
|
+
y(e);
|
|
96
114
|
},
|
|
97
115
|
className: `h-6 rounded px-2.5 text-[11px] font-semibold text-white transition-[filter] hover:brightness-110 ${u ? "bg-nvr-cyan" : "bg-nvr-cyan opacity-60"}`,
|
|
98
116
|
"data-queue-quick-apply": !0,
|
|
99
117
|
children: "Apply"
|
|
100
118
|
}
|
|
101
119
|
),
|
|
102
|
-
/* @__PURE__ */
|
|
120
|
+
/* @__PURE__ */ i(
|
|
103
121
|
"button",
|
|
104
122
|
{
|
|
105
123
|
type: "button",
|
|
106
|
-
onClick:
|
|
124
|
+
onClick: p,
|
|
107
125
|
className: "h-6 rounded border border-slate-200 px-2 text-[11px] text-slate-500 hover:text-slate-700 dark:border-slate-700 dark:text-slate-400 dark:hover:text-slate-200",
|
|
108
126
|
"data-queue-quick-clear": !0,
|
|
109
127
|
children: "Clear"
|
|
110
128
|
}
|
|
111
129
|
)
|
|
112
130
|
] }),
|
|
113
|
-
|
|
131
|
+
c && /* @__PURE__ */ i("div", { className: "ml-auto flex items-center gap-2", children: c })
|
|
114
132
|
]
|
|
115
133
|
}
|
|
116
134
|
);
|