@nivaro/react 0.3.137 → 0.3.138
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 +95 -4
- package/dist/index.js +748 -743
- package/dist/shared/components/CollectionBrowserView.js +392 -389
- package/dist/shared/components/DelegateCoverLine.js +80 -87
- package/dist/shared/components/ItemEditForm.js +589 -588
- package/dist/shared/components/MyWorkView.js +284 -286
- package/dist/shared/components/NotificationBell.js +251 -205
- package/dist/shared/components/ai/AiAnalyticsView.js +878 -417
- package/dist/shared/components/ai/AiPlanCard.js +164 -122
- package/dist/shared/components/ai/AiPlanUndo.js +291 -0
- package/dist/shared/components/ai/call-log/CallDrawer.js +357 -0
- package/dist/shared/components/ai/call-log/RawJson.js +126 -0
- package/dist/shared/components/ai/call-log/ThreadView.js +223 -0
- package/dist/shared/components/ai/call-log/TranscriptView.js +227 -0
- package/dist/shared/components/ai/call-log/controls.js +364 -0
- package/dist/shared/components/ai/call-log/format.js +46 -0
- package/dist/shared/components/ai/call-log/url.js +105 -0
- package/dist/shared/components/chat/chat-core.js +422 -346
- package/dist/shared/components/integrations/IntegrationObligationsView.js +98 -98
- package/dist/shared/components/integrations/RecordIntegrationPreview.js +102 -93
- package/dist/shared/components/integrations/console/api.js +11 -1
- package/dist/shared/components/item-edit/HeaderRollupExplainer.js +5 -1
- package/dist/shared/components/item-edit/RecordLiveSync.js +241 -229
- package/dist/shared/components/item-edit/RecordRecapChanges.js +166 -0
- package/dist/shared/components/item-edit/RecordRecapStrip.js +254 -84
- package/dist/shared/components/item-edit/live-related.js +34 -18
- package/dist/shared/components/panels/RevisionsPanel.js +735 -683
- package/dist/shared/components/queue/QueueWorklist.js +323 -316
- package/dist/shared/components/support/SupportRequestDialog.js +198 -181
- package/dist/shared/components/trackers/use-tracker-link.js +74 -65
- package/dist/shared/lib/config-update-refresh.js +34 -0
- package/dist/shared/lib/config-watch.js +17 -17
- package/dist/shared/lib/gap-refresh.js +49 -0
- package/dist/shared/lib/integration-dots.js +8 -8
- package/dist/shared/lib/live-ops.js +26 -23
- package/dist/shared/lib/live-pickers.js +1 -1
- package/dist/shared/lib/live-queries.js +223 -195
- package/dist/shared/lib/live.js +56 -51
- package/dist/shared/lib/obligation-banner.js +11 -10
- package/dist/shared/lib/obligation-filters.js +22 -18
- package/dist/shared/lib/obligation-reason-text.js +18 -8
- package/dist/shared/lib/presence-hooks.js +133 -132
- package/dist/shared/lib/reconnect-resync.js +90 -0
- package/dist/shared/lib/record-room-holds.js +43 -0
- package/dist/shared/lib/socket-realtime.js +116 -105
- package/dist/shared/lib/user-sync.js +1 -6
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
2
|
import { useQueryClient as z, useQuery as G, useMutation as H } from "@tanstack/react-query";
|
|
3
|
-
import { Loader2 as
|
|
4
|
-
import { useState as
|
|
3
|
+
import { Loader2 as $, Paperclip as X, X as B } from "lucide-react";
|
|
4
|
+
import { useState as s, useRef as L, useEffect as A } from "react";
|
|
5
5
|
import { useNivaroClient as J } from "../../context.js";
|
|
6
6
|
import { get as V, post as Z } from "../../lib/commands.js";
|
|
7
7
|
import { invalidateRecordTasks as O } from "../../lib/record-tasks.js";
|
|
@@ -10,43 +10,43 @@ import { installReplayTail as te } from "../../lib/replay-tail.js";
|
|
|
10
10
|
import { Dialog as re, DialogContent as ae, DialogHeader as ne, DialogTitle as le, DialogDescription as se } from "../ui/dialog.js";
|
|
11
11
|
import { collectSupportContext as oe } from "./support-context.js";
|
|
12
12
|
function be({
|
|
13
|
-
open:
|
|
13
|
+
open: o,
|
|
14
14
|
onOpenChange: c,
|
|
15
15
|
collection: d,
|
|
16
16
|
item: p,
|
|
17
|
-
recordLabel:
|
|
18
|
-
initialTitle:
|
|
19
|
-
initialDescription:
|
|
17
|
+
recordLabel: T,
|
|
18
|
+
initialTitle: g,
|
|
19
|
+
initialDescription: y,
|
|
20
20
|
source: Q,
|
|
21
|
-
onCreated:
|
|
21
|
+
onCreated: b
|
|
22
22
|
}) {
|
|
23
|
-
const m = J(), i = z(),
|
|
24
|
-
|
|
23
|
+
const m = J(), i = z(), l = !!d && p != null && p !== "", [u, E] = s(null), [v, k] = s(""), [F, w] = s(""), [N, q] = s([]), [K, M] = s(!1), [P, x] = s(null), [j, U] = s(!0), S = L(null), C = L(!1);
|
|
24
|
+
A(() => {
|
|
25
25
|
te();
|
|
26
|
-
}, []),
|
|
27
|
-
|
|
28
|
-
}, [
|
|
29
|
-
if (!
|
|
30
|
-
|
|
26
|
+
}, []), A(() => {
|
|
27
|
+
o && (g && k((e) => e || g), y && w((e) => e || y));
|
|
28
|
+
}, [o, g, y]), A(() => {
|
|
29
|
+
if (!o) {
|
|
30
|
+
S.current = null;
|
|
31
31
|
return;
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
S.current = {
|
|
34
34
|
clip: ee("support"),
|
|
35
35
|
route: typeof window < "u" ? window.location.pathname : ""
|
|
36
36
|
};
|
|
37
|
-
}, [
|
|
38
|
-
const { data:
|
|
39
|
-
queryKey: ["support-categories",
|
|
37
|
+
}, [o]);
|
|
38
|
+
const { data: R = [] } = G({
|
|
39
|
+
queryKey: ["support-categories", l ? d : null],
|
|
40
40
|
queryFn: () => m.request(
|
|
41
|
-
V("/support/categories",
|
|
41
|
+
V("/support/categories", l ? { collection: d } : void 0)
|
|
42
42
|
).then((e) => e.data ?? []),
|
|
43
|
-
enabled:
|
|
44
|
-
}),
|
|
45
|
-
|
|
43
|
+
enabled: o
|
|
44
|
+
}), D = () => {
|
|
45
|
+
E(null), k(""), w(""), q([]), x(null), U(!0);
|
|
46
46
|
};
|
|
47
|
-
async function
|
|
48
|
-
if (!
|
|
49
|
-
const e =
|
|
47
|
+
async function Y() {
|
|
48
|
+
if (!j) return { fileId: null, replay: null };
|
|
49
|
+
const e = S.current;
|
|
50
50
|
return oe({
|
|
51
51
|
clip: (e == null ? void 0 : e.clip) ?? null,
|
|
52
52
|
route: (e == null ? void 0 : e.route) ?? (typeof window < "u" ? window.location.pathname : ""),
|
|
@@ -54,30 +54,30 @@ function be({
|
|
|
54
54
|
userAgent: typeof navigator < "u" ? navigator.userAgent : null
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
const
|
|
57
|
+
const I = H({
|
|
58
58
|
mutationFn: async () => {
|
|
59
|
-
const e = await
|
|
59
|
+
const e = await Y();
|
|
60
60
|
return m.request(
|
|
61
61
|
Z("/support/tickets", {
|
|
62
|
-
title:
|
|
63
|
-
description:
|
|
62
|
+
title: v.trim(),
|
|
63
|
+
description: F.trim() || null,
|
|
64
64
|
category_id: u,
|
|
65
|
-
collection:
|
|
66
|
-
item:
|
|
67
|
-
attachments: [...
|
|
65
|
+
collection: l ? d : null,
|
|
66
|
+
item: l ? String(p) : null,
|
|
67
|
+
attachments: [...N.map((r) => r.id), ...e.fileId ? [e.fileId] : []],
|
|
68
68
|
...e.replay ? { replay: e.replay } : {},
|
|
69
69
|
...Q ? { source: Q } : {}
|
|
70
70
|
})
|
|
71
71
|
);
|
|
72
72
|
},
|
|
73
73
|
onSuccess: (e) => {
|
|
74
|
-
i.invalidateQueries({ queryKey: ["support-tickets"] }), i.invalidateQueries({ queryKey: ["support-summary"] }),
|
|
74
|
+
i.invalidateQueries({ queryKey: ["support-tickets"] }), i.invalidateQueries({ queryKey: ["support-summary"] }), l && O(i, d, p), b == null || b(e.data), D(), c(!1);
|
|
75
75
|
},
|
|
76
76
|
onError: (e) => {
|
|
77
|
-
var
|
|
77
|
+
var n;
|
|
78
78
|
const r = e.response;
|
|
79
|
-
if ((((
|
|
80
|
-
i.invalidateQueries({ queryKey: ["support-tickets"] }), i.invalidateQueries({ queryKey: ["support-summary"] }),
|
|
79
|
+
if ((((n = r == null ? void 0 : r.data) == null ? void 0 : n.code) ?? (r == null ? void 0 : r.code)) === "DUPLICATE_REQUEST") {
|
|
80
|
+
i.invalidateQueries({ queryKey: ["support-tickets"] }), i.invalidateQueries({ queryKey: ["support-summary"] }), D(), c(!1);
|
|
81
81
|
return;
|
|
82
82
|
}
|
|
83
83
|
x(e.message || "Could not send the request");
|
|
@@ -86,175 +86,192 @@ function be({
|
|
|
86
86
|
C.current = !1;
|
|
87
87
|
}
|
|
88
88
|
});
|
|
89
|
-
async function
|
|
89
|
+
async function _(e) {
|
|
90
90
|
if (e != null && e.length) {
|
|
91
|
-
|
|
91
|
+
M(!0), x(null);
|
|
92
92
|
try {
|
|
93
93
|
for (const r of Array.from(e).slice(0, 10)) {
|
|
94
|
-
const
|
|
95
|
-
|
|
94
|
+
const n = await m.upload(r);
|
|
95
|
+
q((h) => [...h, { id: String(n.id), name: r.name }]);
|
|
96
96
|
}
|
|
97
97
|
} catch {
|
|
98
98
|
x("A file could not be uploaded");
|
|
99
99
|
} finally {
|
|
100
|
-
|
|
100
|
+
M(!1);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
const
|
|
104
|
+
const f = R.find((e) => e.id === u) ?? null, W = v.trim().length > 0 && !I.isPending && !K;
|
|
105
105
|
return /* @__PURE__ */ t(
|
|
106
106
|
re,
|
|
107
107
|
{
|
|
108
|
-
open:
|
|
108
|
+
open: o,
|
|
109
109
|
onOpenChange: (e) => {
|
|
110
|
-
e ||
|
|
110
|
+
e || D(), c(e);
|
|
111
111
|
},
|
|
112
|
-
children: /* @__PURE__ */ a(
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
e.
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
)
|
|
168
|
-
] }),
|
|
169
|
-
/* @__PURE__ */ a("div", { children: [
|
|
170
|
-
/* @__PURE__ */ a("label", { className: "inline-flex cursor-pointer items-center gap-1.5 text-[12px] font-medium text-slate-600 hover:text-slate-900 dark:text-slate-300 dark:hover:text-slate-100", children: [
|
|
171
|
-
K ? /* @__PURE__ */ t(W, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ t(X, { className: "h-3.5 w-3.5" }),
|
|
172
|
-
"Attach files",
|
|
173
|
-
/* @__PURE__ */ t(
|
|
174
|
-
"input",
|
|
175
|
-
{
|
|
176
|
-
type: "file",
|
|
177
|
-
multiple: !0,
|
|
178
|
-
className: "hidden",
|
|
179
|
-
"data-support-files": !0,
|
|
180
|
-
onChange: (e) => {
|
|
181
|
-
Y(e.target.files), e.target.value = "";
|
|
112
|
+
children: /* @__PURE__ */ a(
|
|
113
|
+
ae,
|
|
114
|
+
{
|
|
115
|
+
className: "max-w-xl dark:bg-card",
|
|
116
|
+
"data-support-request": !0,
|
|
117
|
+
onOpenAutoFocus: (e) => {
|
|
118
|
+
var h;
|
|
119
|
+
const r = (h = e.currentTarget) == null ? void 0 : h.querySelector(
|
|
120
|
+
"input[data-support-title]"
|
|
121
|
+
);
|
|
122
|
+
if (!r) return;
|
|
123
|
+
e.preventDefault(), r.focus({ preventScroll: !0 });
|
|
124
|
+
const n = r.value.length;
|
|
125
|
+
r.setSelectionRange(n, n);
|
|
126
|
+
},
|
|
127
|
+
children: [
|
|
128
|
+
/* @__PURE__ */ a(ne, { className: "px-6 pt-5", children: [
|
|
129
|
+
/* @__PURE__ */ t(le, { className: "text-[15px] font-semibold text-slate-900 dark:text-slate-100", children: l ? `Request a change${T ? ` · ${T}` : ""}` : "Get help" }),
|
|
130
|
+
/* @__PURE__ */ t(se, { className: "text-[12.5px] text-slate-500 dark:text-muted-foreground", children: l ? "Tell the administrators what needs to change on this record. You can follow the request under My requests." : "Ask the administrators for help. You can follow the request under My requests." })
|
|
131
|
+
] }),
|
|
132
|
+
/* @__PURE__ */ a(
|
|
133
|
+
"form",
|
|
134
|
+
{
|
|
135
|
+
className: "space-y-4 px-6 pb-5 pt-3",
|
|
136
|
+
onSubmit: (e) => {
|
|
137
|
+
e.preventDefault(), !(!W || C.current) && (C.current = !0, I.mutate());
|
|
138
|
+
},
|
|
139
|
+
children: [
|
|
140
|
+
R.length > 0 && /* @__PURE__ */ a("fieldset", { children: [
|
|
141
|
+
/* @__PURE__ */ t("legend", { className: "mb-1.5 text-[12px] font-medium text-slate-700 dark:text-slate-200", children: "What kind of request?" }),
|
|
142
|
+
/* @__PURE__ */ t("div", { className: "flex flex-wrap gap-1.5", "data-support-types": !0, children: R.map((e) => /* @__PURE__ */ t(
|
|
143
|
+
"button",
|
|
144
|
+
{
|
|
145
|
+
type: "button",
|
|
146
|
+
"data-support-type": e.id,
|
|
147
|
+
"aria-pressed": u === e.id,
|
|
148
|
+
onClick: () => E(u === e.id ? null : e.id),
|
|
149
|
+
className: u === e.id ? "rounded-full border border-nvr-cyan/60 bg-nvr-cyan/10 px-2.5 py-1 text-[12px] font-medium text-nvr-navy dark:text-nvr-cyan" : "rounded-full border border-slate-200 px-2.5 py-1 text-[12px] text-slate-600 hover:border-slate-300 dark:border-border dark:text-slate-300",
|
|
150
|
+
children: e.name
|
|
151
|
+
},
|
|
152
|
+
e.id
|
|
153
|
+
)) }),
|
|
154
|
+
(f == null ? void 0 : f.description) && /* @__PURE__ */ t("p", { className: "mt-1.5 text-[11.5px] text-slate-500 dark:text-muted-foreground", children: f.description })
|
|
155
|
+
] }),
|
|
156
|
+
/* @__PURE__ */ a("label", { className: "block", children: [
|
|
157
|
+
/* @__PURE__ */ t("span", { className: "mb-1 block text-[12px] font-medium text-slate-700 dark:text-slate-200", children: "Summary" }),
|
|
158
|
+
/* @__PURE__ */ t(
|
|
159
|
+
"input",
|
|
160
|
+
{
|
|
161
|
+
"data-support-title": !0,
|
|
162
|
+
value: v,
|
|
163
|
+
onChange: (e) => k(e.target.value),
|
|
164
|
+
maxLength: 200,
|
|
165
|
+
placeholder: l ? "e.g. Move to funding year 2027" : "e.g. I need access to the National zone",
|
|
166
|
+
className: "h-9 w-full rounded-md border border-slate-200 bg-white px-3 text-[13px] text-slate-900 outline-none focus:border-nvr-cyan dark:border-border dark:bg-background dark:text-slate-100"
|
|
182
167
|
}
|
|
183
|
-
|
|
184
|
-
)
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
168
|
+
)
|
|
169
|
+
] }),
|
|
170
|
+
/* @__PURE__ */ a("label", { className: "block", children: [
|
|
171
|
+
/* @__PURE__ */ t("span", { className: "mb-1 block text-[12px] font-medium text-slate-700 dark:text-slate-200", children: "Details" }),
|
|
172
|
+
/* @__PURE__ */ t(
|
|
173
|
+
"textarea",
|
|
174
|
+
{
|
|
175
|
+
"data-support-description": !0,
|
|
176
|
+
value: F,
|
|
177
|
+
onChange: (e) => w(e.target.value),
|
|
178
|
+
rows: 5,
|
|
179
|
+
placeholder: "What should change, and why",
|
|
180
|
+
className: "w-full rounded-md border border-slate-200 bg-white px-3 py-2 text-[13px] text-slate-900 outline-none focus:border-nvr-cyan dark:border-border dark:bg-background dark:text-slate-100"
|
|
181
|
+
}
|
|
182
|
+
)
|
|
183
|
+
] }),
|
|
184
|
+
/* @__PURE__ */ a("div", { children: [
|
|
185
|
+
/* @__PURE__ */ a("label", { className: "inline-flex cursor-pointer items-center gap-1.5 text-[12px] font-medium text-slate-600 hover:text-slate-900 dark:text-slate-300 dark:hover:text-slate-100", children: [
|
|
186
|
+
K ? /* @__PURE__ */ t($, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ t(X, { className: "h-3.5 w-3.5" }),
|
|
187
|
+
"Attach files",
|
|
192
188
|
/* @__PURE__ */ t(
|
|
193
|
-
"
|
|
189
|
+
"input",
|
|
194
190
|
{
|
|
195
|
-
type: "
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
191
|
+
type: "file",
|
|
192
|
+
multiple: !0,
|
|
193
|
+
className: "hidden",
|
|
194
|
+
"data-support-files": !0,
|
|
195
|
+
onChange: (e) => {
|
|
196
|
+
_(e.target.files), e.target.value = "";
|
|
197
|
+
}
|
|
200
198
|
}
|
|
201
199
|
)
|
|
202
|
-
]
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
200
|
+
] }),
|
|
201
|
+
N.length > 0 && /* @__PURE__ */ t("ul", { className: "mt-1.5 flex flex-wrap gap-1.5", children: N.map((e) => /* @__PURE__ */ a(
|
|
202
|
+
"li",
|
|
203
|
+
{
|
|
204
|
+
className: "inline-flex items-center gap-1 rounded bg-slate-100 px-2 py-0.5 text-[11.5px] text-slate-700 dark:bg-white/10 dark:text-slate-200",
|
|
205
|
+
children: [
|
|
206
|
+
e.name,
|
|
207
|
+
/* @__PURE__ */ t(
|
|
208
|
+
"button",
|
|
209
|
+
{
|
|
210
|
+
type: "button",
|
|
211
|
+
"aria-label": `Remove ${e.name}`,
|
|
212
|
+
onClick: () => q((r) => r.filter((n) => n.id !== e.id)),
|
|
213
|
+
className: "text-slate-400 hover:text-slate-700 dark:hover:text-slate-100",
|
|
214
|
+
children: /* @__PURE__ */ t(B, { className: "h-3 w-3" })
|
|
215
|
+
}
|
|
216
|
+
)
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
e.id
|
|
220
|
+
)) })
|
|
221
|
+
] }),
|
|
222
|
+
/* @__PURE__ */ a(
|
|
223
|
+
"label",
|
|
224
|
+
{
|
|
225
|
+
className: "flex items-start gap-2 text-[12px] text-slate-600 dark:text-slate-300",
|
|
226
|
+
"data-support-context": !0,
|
|
227
|
+
children: [
|
|
228
|
+
/* @__PURE__ */ t(
|
|
229
|
+
"input",
|
|
230
|
+
{
|
|
231
|
+
type: "checkbox",
|
|
232
|
+
checked: j,
|
|
233
|
+
onChange: (e) => U(e.target.checked),
|
|
234
|
+
className: "mt-0.5 accent-[#00ceff]"
|
|
235
|
+
}
|
|
236
|
+
),
|
|
237
|
+
/* @__PURE__ */ a("span", { children: [
|
|
238
|
+
"Include what I was doing",
|
|
239
|
+
/* @__PURE__ */ t("span", { className: "block text-[11px] text-slate-400", children: "The page, recent errors and requests, and (when replay is on) the last minute of this screen with every typed value hidden." })
|
|
240
|
+
] })
|
|
241
|
+
]
|
|
242
|
+
}
|
|
243
|
+
),
|
|
244
|
+
P && /* @__PURE__ */ t("p", { className: "text-[12px] text-red-600 dark:text-red-400", role: "alert", children: P }),
|
|
245
|
+
/* @__PURE__ */ a("div", { className: "flex justify-end gap-2 pt-1", children: [
|
|
213
246
|
/* @__PURE__ */ t(
|
|
214
|
-
"
|
|
247
|
+
"button",
|
|
215
248
|
{
|
|
216
|
-
type: "
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
249
|
+
type: "button",
|
|
250
|
+
onClick: () => c(!1),
|
|
251
|
+
className: "h-8 rounded-md border border-slate-200 px-3 text-[12.5px] text-slate-700 hover:bg-slate-50 dark:border-border dark:text-slate-200 dark:hover:bg-white/5",
|
|
252
|
+
children: "Cancel"
|
|
220
253
|
}
|
|
221
254
|
),
|
|
222
|
-
/* @__PURE__ */ a(
|
|
223
|
-
"
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
{
|
|
243
|
-
type: "submit",
|
|
244
|
-
"data-support-send": !0,
|
|
245
|
-
disabled: !U,
|
|
246
|
-
className: "inline-flex h-8 items-center gap-1.5 rounded-md border border-nvr-cyan/60 bg-nvr-cyan/10 px-3 text-[12.5px] font-medium text-nvr-navy hover:bg-nvr-cyan/15 disabled:opacity-50 dark:text-nvr-cyan",
|
|
247
|
-
children: [
|
|
248
|
-
D.isPending && /* @__PURE__ */ t(W, { className: "h-3.5 w-3.5 animate-spin" }),
|
|
249
|
-
"Send request"
|
|
250
|
-
]
|
|
251
|
-
}
|
|
252
|
-
)
|
|
253
|
-
] })
|
|
254
|
-
]
|
|
255
|
-
}
|
|
256
|
-
)
|
|
257
|
-
] })
|
|
255
|
+
/* @__PURE__ */ a(
|
|
256
|
+
"button",
|
|
257
|
+
{
|
|
258
|
+
type: "submit",
|
|
259
|
+
"data-support-send": !0,
|
|
260
|
+
disabled: !W,
|
|
261
|
+
className: "inline-flex h-8 items-center gap-1.5 rounded-md border border-nvr-cyan/60 bg-nvr-cyan/10 px-3 text-[12.5px] font-medium text-nvr-navy hover:bg-nvr-cyan/15 disabled:opacity-50 dark:text-nvr-cyan",
|
|
262
|
+
children: [
|
|
263
|
+
I.isPending && /* @__PURE__ */ t($, { className: "h-3.5 w-3.5 animate-spin" }),
|
|
264
|
+
"Send request"
|
|
265
|
+
]
|
|
266
|
+
}
|
|
267
|
+
)
|
|
268
|
+
] })
|
|
269
|
+
]
|
|
270
|
+
}
|
|
271
|
+
)
|
|
272
|
+
]
|
|
273
|
+
}
|
|
274
|
+
)
|
|
258
275
|
}
|
|
259
276
|
);
|
|
260
277
|
}
|