@handled-ai/design-system 0.10.0 → 0.11.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/dist/components/account-contacts-popover.d.ts +22 -0
- package/dist/components/account-contacts-popover.js +180 -0
- package/dist/components/account-contacts-popover.js.map +1 -0
- package/dist/components/draft-feedback-inline.d.ts +11 -0
- package/dist/components/draft-feedback-inline.js +153 -0
- package/dist/components/draft-feedback-inline.js.map +1 -0
- package/dist/components/suggested-actions.js +2 -304
- package/dist/components/suggested-actions.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/prototype/prototype-config.d.ts +6 -0
- package/dist/prototype/prototype-inbox-view.js +18 -12
- package/dist/prototype/prototype-inbox-view.js.map +1 -1
- package/package.json +1 -1
- package/src/components/account-contacts-popover.tsx +192 -0
- package/src/components/draft-feedback-inline.tsx +193 -0
- package/src/components/suggested-actions.tsx +2 -363
- package/src/index.ts +4 -0
- package/src/prototype/prototype-config.ts +6 -0
- package/src/prototype/prototype-inbox-view.tsx +16 -3
|
@@ -39,7 +39,6 @@ import {
|
|
|
39
39
|
ThumbsUp,
|
|
40
40
|
ThumbsDown,
|
|
41
41
|
Check,
|
|
42
|
-
RefreshCw,
|
|
43
42
|
ArrowLeft,
|
|
44
43
|
Mail,
|
|
45
44
|
Phone,
|
|
@@ -52,17 +51,8 @@ import {
|
|
|
52
51
|
Globe
|
|
53
52
|
} from "lucide-react";
|
|
54
53
|
import { Button } from "./button.js";
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"img",
|
|
58
|
-
{
|
|
59
|
-
src,
|
|
60
|
-
alt,
|
|
61
|
-
className: `${className != null ? className : ""} object-contain`,
|
|
62
|
-
draggable: false
|
|
63
|
-
}
|
|
64
|
-
);
|
|
65
|
-
}
|
|
54
|
+
import { DraftFeedbackInline } from "./draft-feedback-inline.js";
|
|
55
|
+
import { AccountContactsPopover, BrandIcon } from "./account-contacts-popover.js";
|
|
66
56
|
function getActionTypeIcon(type, className, iconMap) {
|
|
67
57
|
switch (type) {
|
|
68
58
|
case "email":
|
|
@@ -138,143 +128,6 @@ function AiEditPanel({ onApply }) {
|
|
|
138
128
|
] })
|
|
139
129
|
] });
|
|
140
130
|
}
|
|
141
|
-
const positivePills = ["Tone", "Personalization", "Length", "CTA", "Other"];
|
|
142
|
-
const negativePills = ["Too formal", "Too casual", "Too long", "Missing context", "Wrong angle", "Factual error", "Other"];
|
|
143
|
-
function DraftFeedbackInline({
|
|
144
|
-
onRegenerateRequest,
|
|
145
|
-
onSubmitFeedback,
|
|
146
|
-
onDiscardRequest
|
|
147
|
-
}) {
|
|
148
|
-
const [thumbState, setThumbState] = React.useState(null);
|
|
149
|
-
const [selectedPills, setSelectedPills] = React.useState([]);
|
|
150
|
-
const [detailText, setDetailText] = React.useState("");
|
|
151
|
-
const [noted, setNoted] = React.useState(false);
|
|
152
|
-
const [regenerated, setRegenerated] = React.useState(false);
|
|
153
|
-
const togglePill = React.useCallback((pill) => {
|
|
154
|
-
setSelectedPills((prev) => prev.includes(pill) ? prev.filter((p) => p !== pill) : [...prev, pill]);
|
|
155
|
-
}, []);
|
|
156
|
-
const handleSubmit = React.useCallback(() => {
|
|
157
|
-
if (!thumbState) return;
|
|
158
|
-
onSubmitFeedback == null ? void 0 : onSubmitFeedback(thumbState, selectedPills, detailText);
|
|
159
|
-
setNoted(true);
|
|
160
|
-
setTimeout(() => {
|
|
161
|
-
setThumbState(null);
|
|
162
|
-
setSelectedPills([]);
|
|
163
|
-
setDetailText("");
|
|
164
|
-
setNoted(false);
|
|
165
|
-
}, 3e3);
|
|
166
|
-
}, [thumbState, selectedPills, detailText, onSubmitFeedback]);
|
|
167
|
-
const handleRegenerate = React.useCallback(() => {
|
|
168
|
-
if (!thumbState) return;
|
|
169
|
-
onRegenerateRequest == null ? void 0 : onRegenerateRequest(selectedPills, detailText);
|
|
170
|
-
setRegenerated(true);
|
|
171
|
-
setTimeout(() => {
|
|
172
|
-
setThumbState(null);
|
|
173
|
-
setSelectedPills([]);
|
|
174
|
-
setDetailText("");
|
|
175
|
-
setRegenerated(false);
|
|
176
|
-
}, 3e3);
|
|
177
|
-
}, [thumbState, selectedPills, detailText, onRegenerateRequest]);
|
|
178
|
-
const handleDiscard = React.useCallback(() => {
|
|
179
|
-
if (!thumbState) return;
|
|
180
|
-
onDiscardRequest == null ? void 0 : onDiscardRequest(selectedPills, detailText);
|
|
181
|
-
}, [thumbState, selectedPills, detailText, onDiscardRequest]);
|
|
182
|
-
if (noted) {
|
|
183
|
-
return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 py-1 animate-in fade-in slide-in-from-top-1 duration-200", children: [
|
|
184
|
-
/* @__PURE__ */ jsx(Check, { className: "w-3.5 h-3.5 text-emerald-500" }),
|
|
185
|
-
/* @__PURE__ */ jsx("span", { className: "text-xs text-muted-foreground", children: "Feedback recorded" })
|
|
186
|
-
] });
|
|
187
|
-
}
|
|
188
|
-
if (regenerated) {
|
|
189
|
-
return /* @__PURE__ */ jsx("div", { className: "py-2 animate-in fade-in slide-in-from-top-1 duration-200", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 px-3 py-2 rounded-md bg-indigo-50 dark:bg-indigo-950/30 border border-indigo-200 dark:border-indigo-800", children: [
|
|
190
|
-
/* @__PURE__ */ jsx(RefreshCw, { className: "w-3 h-3 text-indigo-500 animate-spin" }),
|
|
191
|
-
/* @__PURE__ */ jsx("span", { className: "text-xs font-medium text-indigo-600 dark:text-indigo-400", children: "Regenerating draft..." })
|
|
192
|
-
] }) });
|
|
193
|
-
}
|
|
194
|
-
return /* @__PURE__ */ jsxs("div", { className: "space-y-0", children: [
|
|
195
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
196
|
-
/* @__PURE__ */ jsx("span", { className: "text-sm text-foreground font-medium", children: "How's this draft?" }),
|
|
197
|
-
/* @__PURE__ */ jsxs("div", { className: "flex gap-1", children: [
|
|
198
|
-
/* @__PURE__ */ jsx(
|
|
199
|
-
"button",
|
|
200
|
-
{
|
|
201
|
-
onClick: () => {
|
|
202
|
-
setThumbState(thumbState === "up" ? null : "up");
|
|
203
|
-
setSelectedPills([]);
|
|
204
|
-
setDetailText("");
|
|
205
|
-
},
|
|
206
|
-
className: `p-1.5 rounded transition-colors ${thumbState === "up" ? "bg-emerald-100 text-emerald-600 dark:bg-emerald-900/30 dark:text-emerald-400" : "hover:bg-muted text-muted-foreground hover:text-foreground"}`,
|
|
207
|
-
children: /* @__PURE__ */ jsx(ThumbsUp, { className: "w-4 h-4", fill: thumbState === "up" ? "currentColor" : "none" })
|
|
208
|
-
}
|
|
209
|
-
),
|
|
210
|
-
/* @__PURE__ */ jsx(
|
|
211
|
-
"button",
|
|
212
|
-
{
|
|
213
|
-
onClick: () => {
|
|
214
|
-
setThumbState(thumbState === "down" ? null : "down");
|
|
215
|
-
setSelectedPills([]);
|
|
216
|
-
setDetailText("");
|
|
217
|
-
},
|
|
218
|
-
className: `p-1.5 rounded transition-colors ${thumbState === "down" ? "bg-red-100 text-red-600 dark:bg-red-900/30 dark:text-red-400" : "hover:bg-muted text-muted-foreground hover:text-foreground"}`,
|
|
219
|
-
children: /* @__PURE__ */ jsx(ThumbsDown, { className: "w-4 h-4", fill: thumbState === "down" ? "currentColor" : "none" })
|
|
220
|
-
}
|
|
221
|
-
)
|
|
222
|
-
] })
|
|
223
|
-
] }),
|
|
224
|
-
thumbState && /* @__PURE__ */ jsxs("div", { className: "pt-3 space-y-3 animate-in fade-in slide-in-from-top-2 duration-200", children: [
|
|
225
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
226
|
-
/* @__PURE__ */ jsx("span", { className: "text-xs text-muted-foreground mb-2 block font-medium", children: thumbState === "up" ? "What worked well?" : "What needs improvement?" }),
|
|
227
|
-
/* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-1.5", children: (thumbState === "up" ? positivePills : negativePills).map((pill) => /* @__PURE__ */ jsx(
|
|
228
|
-
"button",
|
|
229
|
-
{
|
|
230
|
-
onClick: () => togglePill(pill),
|
|
231
|
-
className: `px-2.5 py-1 rounded-full text-[11px] font-medium border transition-colors ${selectedPills.includes(pill) ? thumbState === "up" ? "bg-emerald-100 text-emerald-700 border-emerald-200 dark:bg-emerald-900/30 dark:text-emerald-300 dark:border-emerald-800" : "bg-red-100 text-red-700 border-red-200 dark:bg-red-900/30 dark:text-red-300 dark:border-red-800" : "bg-background text-muted-foreground border-border hover:bg-muted/50 hover:text-foreground"}`,
|
|
232
|
-
children: pill
|
|
233
|
-
},
|
|
234
|
-
pill
|
|
235
|
-
)) })
|
|
236
|
-
] }),
|
|
237
|
-
/* @__PURE__ */ jsx(
|
|
238
|
-
"textarea",
|
|
239
|
-
{
|
|
240
|
-
value: detailText,
|
|
241
|
-
onChange: (e) => setDetailText(e.target.value),
|
|
242
|
-
placeholder: thumbState === "up" ? "Add specific praise (optional)..." : "Provide specific instructions (optional)...",
|
|
243
|
-
className: "w-full text-xs bg-background border border-border rounded-md px-2.5 py-2 text-foreground placeholder:text-muted-foreground/50 focus:outline-none focus:ring-1 focus:ring-indigo-500/50 focus:border-indigo-500/50 resize-none min-h-[60px]"
|
|
244
|
-
}
|
|
245
|
-
),
|
|
246
|
-
/* @__PURE__ */ jsx("div", { className: "flex items-center gap-2 pt-1", children: thumbState === "down" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
247
|
-
/* @__PURE__ */ jsxs(
|
|
248
|
-
"button",
|
|
249
|
-
{
|
|
250
|
-
onClick: handleRegenerate,
|
|
251
|
-
disabled: selectedPills.length === 0 && detailText.length === 0,
|
|
252
|
-
className: `flex-1 py-1.5 rounded-md text-xs font-semibold transition-colors flex items-center justify-center gap-1.5 ${selectedPills.length > 0 || detailText.length > 0 ? "bg-foreground text-background hover:bg-foreground/90" : "bg-muted text-muted-foreground cursor-not-allowed"}`,
|
|
253
|
-
children: [
|
|
254
|
-
/* @__PURE__ */ jsx(RefreshCw, { className: "w-3 h-3" }),
|
|
255
|
-
"Regenerate draft"
|
|
256
|
-
]
|
|
257
|
-
}
|
|
258
|
-
),
|
|
259
|
-
/* @__PURE__ */ jsx(
|
|
260
|
-
"button",
|
|
261
|
-
{
|
|
262
|
-
onClick: handleDiscard,
|
|
263
|
-
className: "flex-1 py-1.5 rounded-md text-xs font-medium transition-colors border bg-background text-foreground border-border hover:bg-muted/50 flex items-center justify-center gap-1.5",
|
|
264
|
-
children: "Discard draft"
|
|
265
|
-
}
|
|
266
|
-
)
|
|
267
|
-
] }) : /* @__PURE__ */ jsx(
|
|
268
|
-
"button",
|
|
269
|
-
{
|
|
270
|
-
onClick: handleSubmit,
|
|
271
|
-
className: "flex-1 py-1.5 rounded-md text-xs font-semibold transition-colors bg-foreground text-background hover:bg-foreground/90 border-transparent",
|
|
272
|
-
children: "Submit feedback"
|
|
273
|
-
}
|
|
274
|
-
) })
|
|
275
|
-
] })
|
|
276
|
-
] });
|
|
277
|
-
}
|
|
278
131
|
function EditorToolbar() {
|
|
279
132
|
return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1 px-4 py-2 border-t border-border bg-muted/5 flex-wrap", children: [
|
|
280
133
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center mr-2 gap-1 shrink-0", children: [
|
|
@@ -473,161 +326,6 @@ function ContactCard({
|
|
|
473
326
|
}
|
|
474
327
|
);
|
|
475
328
|
}
|
|
476
|
-
function AccountContactsPopover({
|
|
477
|
-
contacts,
|
|
478
|
-
onSelect,
|
|
479
|
-
onSelectTo,
|
|
480
|
-
onSelectCc,
|
|
481
|
-
onSelectBcc,
|
|
482
|
-
onViewAll,
|
|
483
|
-
onOpenRecentActivity,
|
|
484
|
-
trigger,
|
|
485
|
-
iconMap
|
|
486
|
-
}) {
|
|
487
|
-
const [open, setOpen] = React.useState(false);
|
|
488
|
-
const triggerRef = React.useRef(null);
|
|
489
|
-
const [popoverStyle, setPopoverStyle] = React.useState({});
|
|
490
|
-
React.useEffect(() => {
|
|
491
|
-
if (open && triggerRef.current) {
|
|
492
|
-
const rect = triggerRef.current.getBoundingClientRect();
|
|
493
|
-
const popoverWidth = Math.min(448, window.innerWidth - 32);
|
|
494
|
-
let left = rect.right - popoverWidth;
|
|
495
|
-
if (left < 16) left = 16;
|
|
496
|
-
if (left + popoverWidth > window.innerWidth - 16) left = window.innerWidth - 16 - popoverWidth;
|
|
497
|
-
setPopoverStyle({ position: "fixed", top: rect.bottom + 4, left });
|
|
498
|
-
}
|
|
499
|
-
}, [open]);
|
|
500
|
-
return /* @__PURE__ */ jsxs("div", { children: [
|
|
501
|
-
/* @__PURE__ */ jsx("div", { ref: triggerRef, onClick: () => setOpen(!open), children: trigger }),
|
|
502
|
-
open && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
503
|
-
/* @__PURE__ */ jsx("div", { className: "fixed inset-0 z-40", onClick: () => setOpen(false) }),
|
|
504
|
-
/* @__PURE__ */ jsxs("div", { style: popoverStyle, className: "fixed bg-background border border-border rounded-lg shadow-xl z-50 w-[28rem] max-w-[calc(100vw-2rem)] py-2 animate-in fade-in slide-in-from-top-1 duration-150", children: [
|
|
505
|
-
/* @__PURE__ */ jsx("div", { className: "px-3 py-1.5 text-[11px] font-medium text-muted-foreground/60 uppercase tracking-wide", children: "Account Contacts" }),
|
|
506
|
-
/* @__PURE__ */ jsx("div", { className: "max-h-48 overflow-y-auto", children: contacts.map((c, i) => {
|
|
507
|
-
var _a, _b, _c, _d, _e, _f;
|
|
508
|
-
return /* @__PURE__ */ jsxs(
|
|
509
|
-
"div",
|
|
510
|
-
{
|
|
511
|
-
role: "button",
|
|
512
|
-
onClick: () => {
|
|
513
|
-
(onSelectTo != null ? onSelectTo : onSelect)(c);
|
|
514
|
-
setOpen(false);
|
|
515
|
-
},
|
|
516
|
-
className: "flex items-center gap-3 w-full px-3 py-2 text-left hover:bg-muted/50 transition-colors cursor-pointer",
|
|
517
|
-
children: [
|
|
518
|
-
/* @__PURE__ */ jsx("div", { className: "w-7 h-7 rounded-full bg-muted flex items-center justify-center text-[10px] font-medium text-muted-foreground shrink-0", children: c.name.split(" ").map((n) => n[0]).join("") }),
|
|
519
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0 overflow-hidden", children: [
|
|
520
|
-
/* @__PURE__ */ jsx("div", { className: "truncate text-sm font-medium text-foreground", children: c.name }),
|
|
521
|
-
/* @__PURE__ */ jsxs("div", { className: "truncate text-xs text-muted-foreground leading-tight", children: [
|
|
522
|
-
c.role,
|
|
523
|
-
" \xB7 ",
|
|
524
|
-
(_f = (_e = (_c = (_b = c.email) != null ? _b : (_a = c.emails) == null ? void 0 : _a[0]) != null ? _c : c.phone) != null ? _e : (_d = c.phones) == null ? void 0 : _d[0]) != null ? _f : ""
|
|
525
|
-
] }),
|
|
526
|
-
c.lastActivity && /* @__PURE__ */ jsxs(
|
|
527
|
-
"button",
|
|
528
|
-
{
|
|
529
|
-
type: "button",
|
|
530
|
-
onClick: (e) => {
|
|
531
|
-
e.stopPropagation();
|
|
532
|
-
onOpenRecentActivity == null ? void 0 : onOpenRecentActivity();
|
|
533
|
-
setOpen(false);
|
|
534
|
-
},
|
|
535
|
-
className: "mt-1.5 flex max-w-full items-center gap-1.5 overflow-hidden rounded-md border border-border/70 bg-muted/30 px-2 py-1 text-[11px] text-muted-foreground hover:text-foreground hover:bg-muted/50 transition-colors",
|
|
536
|
-
children: [
|
|
537
|
-
/* @__PURE__ */ jsx(Clock, { className: "w-3 h-3 shrink-0" }),
|
|
538
|
-
/* @__PURE__ */ jsx("span", { className: "shrink-0 font-medium", children: "Last activity" }),
|
|
539
|
-
/* @__PURE__ */ jsx("span", { className: "shrink-0 text-muted-foreground/60", children: "\xB7" }),
|
|
540
|
-
/* @__PURE__ */ jsx("span", { className: "shrink-0", children: c.lastActivity.date }),
|
|
541
|
-
/* @__PURE__ */ jsx("span", { className: "shrink-0 text-muted-foreground/60", children: "\xB7" }),
|
|
542
|
-
/* @__PURE__ */ jsx("span", { className: "truncate capitalize", children: c.lastActivity.type })
|
|
543
|
-
]
|
|
544
|
-
}
|
|
545
|
-
)
|
|
546
|
-
] }),
|
|
547
|
-
/* @__PURE__ */ jsxs("div", { className: "ml-2 flex items-center gap-1.5 shrink-0", children: [
|
|
548
|
-
onSelectTo && /* @__PURE__ */ jsx(
|
|
549
|
-
"button",
|
|
550
|
-
{
|
|
551
|
-
type: "button",
|
|
552
|
-
onClick: (e) => {
|
|
553
|
-
e.stopPropagation();
|
|
554
|
-
onSelectTo(c);
|
|
555
|
-
setOpen(false);
|
|
556
|
-
},
|
|
557
|
-
className: "h-6 rounded border border-border bg-background px-1.5 text-[10px] text-muted-foreground hover:text-foreground hover:bg-muted/40",
|
|
558
|
-
children: "To"
|
|
559
|
-
}
|
|
560
|
-
),
|
|
561
|
-
onSelectCc && /* @__PURE__ */ jsx(
|
|
562
|
-
"button",
|
|
563
|
-
{
|
|
564
|
-
type: "button",
|
|
565
|
-
onClick: (e) => {
|
|
566
|
-
e.stopPropagation();
|
|
567
|
-
onSelectCc(c);
|
|
568
|
-
setOpen(false);
|
|
569
|
-
},
|
|
570
|
-
className: "h-6 rounded border border-border bg-background px-1.5 text-[10px] text-muted-foreground hover:text-foreground hover:bg-muted/40",
|
|
571
|
-
children: "Cc"
|
|
572
|
-
}
|
|
573
|
-
),
|
|
574
|
-
onSelectBcc && /* @__PURE__ */ jsx(
|
|
575
|
-
"button",
|
|
576
|
-
{
|
|
577
|
-
type: "button",
|
|
578
|
-
onClick: (e) => {
|
|
579
|
-
e.stopPropagation();
|
|
580
|
-
onSelectBcc(c);
|
|
581
|
-
setOpen(false);
|
|
582
|
-
},
|
|
583
|
-
className: "h-6 rounded border border-border bg-background px-1.5 text-[10px] text-muted-foreground hover:text-foreground hover:bg-muted/40",
|
|
584
|
-
children: "Bcc"
|
|
585
|
-
}
|
|
586
|
-
),
|
|
587
|
-
/* @__PURE__ */ jsx(
|
|
588
|
-
"button",
|
|
589
|
-
{
|
|
590
|
-
type: "button",
|
|
591
|
-
onClick: (e) => {
|
|
592
|
-
e.stopPropagation();
|
|
593
|
-
if (c.salesforceUrl) {
|
|
594
|
-
window.open(c.salesforceUrl, "_blank", "noopener,noreferrer");
|
|
595
|
-
} else {
|
|
596
|
-
onViewAll == null ? void 0 : onViewAll();
|
|
597
|
-
}
|
|
598
|
-
},
|
|
599
|
-
className: "h-7 w-7 inline-flex items-center justify-center rounded-md border border-border bg-background hover:bg-muted/40 transition-colors shrink-0",
|
|
600
|
-
"aria-label": `Open ${c.name} in Salesforce`,
|
|
601
|
-
children: (iconMap == null ? void 0 : iconMap.salesforce) ? /* @__PURE__ */ jsx(BrandIcon, { src: iconMap.salesforce, alt: "Salesforce", className: "w-3.5 h-3.5" }) : /* @__PURE__ */ jsx(ExternalLink, { className: "w-3.5 h-3.5 text-muted-foreground" })
|
|
602
|
-
}
|
|
603
|
-
)
|
|
604
|
-
] })
|
|
605
|
-
]
|
|
606
|
-
},
|
|
607
|
-
i
|
|
608
|
-
);
|
|
609
|
-
}) }),
|
|
610
|
-
onViewAll && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
611
|
-
/* @__PURE__ */ jsx("div", { className: "h-px bg-border mx-3 my-1" }),
|
|
612
|
-
/* @__PURE__ */ jsxs(
|
|
613
|
-
"button",
|
|
614
|
-
{
|
|
615
|
-
onClick: () => {
|
|
616
|
-
onViewAll();
|
|
617
|
-
setOpen(false);
|
|
618
|
-
},
|
|
619
|
-
className: "flex items-center gap-2 w-full px-3 py-2 text-left text-xs text-muted-foreground hover:text-foreground hover:bg-muted/50 transition-colors",
|
|
620
|
-
children: [
|
|
621
|
-
/* @__PURE__ */ jsx(ExternalLink, { className: "w-3 h-3" }),
|
|
622
|
-
"View all contacts"
|
|
623
|
-
]
|
|
624
|
-
}
|
|
625
|
-
)
|
|
626
|
-
] })
|
|
627
|
-
] })
|
|
628
|
-
] })
|
|
629
|
-
] });
|
|
630
|
-
}
|
|
631
329
|
function EmailHeader({
|
|
632
330
|
fromName,
|
|
633
331
|
fromEmail,
|