@wealthx/shadcn 1.5.24 → 1.5.26
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/.turbo/turbo-build.log +195 -195
- package/CHANGELOG.md +12 -0
- package/dist/{chunk-FGHM34AV.mjs → chunk-2CHH5QOA.mjs} +1 -1
- package/dist/{chunk-G6RCC2SF.mjs → chunk-36IN7YRM.mjs} +4 -4
- package/dist/{chunk-RYGZRDP6.mjs → chunk-6URIFQ63.mjs} +480 -422
- package/dist/{chunk-RGHKARAK.mjs → chunk-7PTRHNUV.mjs} +1 -1
- package/dist/{chunk-66NM4AX2.mjs → chunk-AAZSLTER.mjs} +11 -11
- package/dist/{chunk-OFQFD2E2.mjs → chunk-C35JMOII.mjs} +1 -1
- package/dist/{chunk-YV7XF32X.mjs → chunk-DSVKEVX6.mjs} +1 -1
- package/dist/{chunk-6HTE24TP.mjs → chunk-EVUY67CY.mjs} +5 -5
- package/dist/{chunk-5G2M45CA.mjs → chunk-FYZBGWYR.mjs} +1 -1
- package/dist/{chunk-RVDBYV2B.mjs → chunk-HONTZFLO.mjs} +1 -1
- package/dist/chunk-HSL23TOM.mjs +443 -0
- package/dist/{chunk-JGUC3KCA.mjs → chunk-HSXMTFIM.mjs} +9 -9
- package/dist/{chunk-2VTOF7PW.mjs → chunk-I433SC7S.mjs} +3 -3
- package/dist/{chunk-ONYADWSO.mjs → chunk-KGVVK6OS.mjs} +7 -7
- package/dist/{chunk-3HFOSFOM.mjs → chunk-KI57CBJR.mjs} +11 -11
- package/dist/{chunk-IT3QJF3D.mjs → chunk-LBXIYS34.mjs} +4 -4
- package/dist/{chunk-K35TFQUB.mjs → chunk-LSSIWLYU.mjs} +1 -1
- package/dist/{chunk-RJHE3V4M.mjs → chunk-M32QNCD3.mjs} +8 -8
- package/dist/{chunk-AADJ5IT6.mjs → chunk-MD66TGX7.mjs} +7 -7
- package/dist/{chunk-ZSMQZ3VN.mjs → chunk-NGKTJRFN.mjs} +7 -7
- package/dist/{chunk-A43XIVO6.mjs → chunk-OG2VM34K.mjs} +4 -4
- package/dist/{chunk-BWG7AX6X.mjs → chunk-OKIWXOJL.mjs} +5 -5
- package/dist/{chunk-4UCRTTVL.mjs → chunk-RNLIZRAK.mjs} +1 -1
- package/dist/{chunk-WIDZVCH3.mjs → chunk-S7SBLNX4.mjs} +7 -7
- package/dist/{chunk-2SDEURIQ.mjs → chunk-SYJ6LVJ6.mjs} +7 -7
- package/dist/{chunk-OIETBBXQ.mjs → chunk-T5FRVEJQ.mjs} +1 -1
- package/dist/{chunk-ETT5JAXF.mjs → chunk-T5HU4S4X.mjs} +2 -2
- package/dist/{chunk-DK55HZPN.mjs → chunk-ULQ53FRJ.mjs} +10 -10
- package/dist/{chunk-NTIFG5A7.mjs → chunk-USIRKDYQ.mjs} +4 -4
- package/dist/{chunk-QJ3RSZF4.mjs → chunk-VVURVETY.mjs} +4 -4
- package/dist/{chunk-NXZ2F4JA.mjs → chunk-ZA37ZWZW.mjs} +5 -5
- package/dist/components/ui/about-you-form.mjs +4 -4
- package/dist/components/ui/add-column-modal.js +1 -1
- package/dist/components/ui/add-column-modal.mjs +2 -2
- package/dist/components/ui/add-lead-modal.js +1 -1
- package/dist/components/ui/add-lead-modal.mjs +2 -2
- package/dist/components/ui/advisor-card.mjs +2 -2
- package/dist/components/ui/ai-assistant-drawer.mjs +2 -2
- package/dist/components/ui/{ai-builder.js → ai-builder/index.js} +288 -187
- package/dist/components/ui/ai-builder/index.mjs +26 -0
- package/dist/components/ui/{ai-conversations.js → ai-conversations/index.js} +819 -764
- package/dist/components/ui/ai-conversations/index.mjs +42 -0
- package/dist/components/ui/appointment-action-dialogs.js +1 -1
- package/dist/components/ui/appointment-action-dialogs.mjs +3 -3
- package/dist/components/ui/appointment-availability-settings.js +1 -1
- package/dist/components/ui/appointment-availability-settings.mjs +5 -5
- package/dist/components/ui/appointment-book-dialog.js +1 -1
- package/dist/components/ui/appointment-book-dialog.mjs +6 -6
- package/dist/components/ui/appointment-calendar-view.mjs +2 -2
- package/dist/components/ui/appointment-detail-sheet.js +1 -1
- package/dist/components/ui/appointment-detail-sheet.mjs +6 -6
- package/dist/components/ui/appointment-upcoming-card.js +1 -1
- package/dist/components/ui/appointment-upcoming-card.mjs +4 -4
- package/dist/components/ui/assets-liabilities-side-card.mjs +6 -6
- package/dist/components/ui/backoffice-signup-steps.mjs +4 -4
- package/dist/components/ui/bank-statement-generate-dialog.js +1 -1
- package/dist/components/ui/bank-statement-generate-dialog.mjs +7 -7
- package/dist/components/ui/bank-statement-pdf-viewer.mjs +2 -2
- package/dist/components/ui/cash-balance-line-chart.mjs +2 -2
- package/dist/components/ui/category-edit-dialog.js +1 -1
- package/dist/components/ui/category-edit-dialog.mjs +2 -2
- package/dist/components/ui/chat-widget.mjs +1 -1
- package/dist/components/ui/contact-alert-dialog/index.js +1 -1
- package/dist/components/ui/contact-alert-dialog/index.mjs +3 -3
- package/dist/components/ui/create-contact-modal.js +1 -1
- package/dist/components/ui/create-contact-modal.mjs +4 -4
- package/dist/components/ui/csv-import-modal.js +1 -1
- package/dist/components/ui/csv-import-modal.mjs +2 -2
- package/dist/components/ui/dashboard-expense-categories.mjs +3 -3
- package/dist/components/ui/dashboard-transactions-table.js +1 -1
- package/dist/components/ui/dashboard-transactions-table.mjs +5 -5
- package/dist/components/ui/date-picker.mjs +2 -2
- package/dist/components/ui/dialog.js +1 -1
- package/dist/components/ui/dialog.mjs +1 -1
- package/dist/components/ui/document-checklist-template.mjs +2 -2
- package/dist/components/ui/expense-detail-item.mjs +4 -4
- package/dist/components/ui/expense-work-details.mjs +4 -4
- package/dist/components/ui/file-preview-dialog.js +1 -1
- package/dist/components/ui/file-preview-dialog.mjs +3 -3
- package/dist/components/ui/financial-drawers.mjs +2 -2
- package/dist/components/ui/form-primitives.mjs +2 -2
- package/dist/components/ui/frontend-signup-steps.mjs +5 -5
- package/dist/components/ui/income-sources-card.mjs +3 -3
- package/dist/components/ui/income-work-details.mjs +4 -4
- package/dist/components/ui/kanban-column.mjs +6 -6
- package/dist/components/ui/opportunity-card.mjs +3 -3
- package/dist/components/ui/opportunity-edit-modals.js +1 -1
- package/dist/components/ui/opportunity-edit-modals.mjs +7 -7
- package/dist/components/ui/opportunity-summary-tab.js +1 -1
- package/dist/components/ui/opportunity-summary-tab.mjs +9 -9
- package/dist/components/ui/pipeline-board.mjs +8 -8
- package/dist/components/ui/pipeline-dialogs.js +1 -1
- package/dist/components/ui/pipeline-dialogs.mjs +6 -6
- package/dist/components/ui/pipeline-primitives.mjs +2 -2
- package/dist/components/ui/property-report-dialog.js +1 -1
- package/dist/components/ui/property-report-dialog.mjs +5 -5
- package/dist/components/ui/resource-center/index.js +1 -1
- package/dist/components/ui/resource-center/index.mjs +2 -2
- package/dist/components/ui/review-alerts-dialog.js +1 -1
- package/dist/components/ui/review-alerts-dialog.mjs +2 -2
- package/dist/components/ui/savings-goal-modal.js +1 -1
- package/dist/components/ui/savings-goal-modal.mjs +5 -5
- package/dist/components/ui/share-details-dialog.js +1 -1
- package/dist/components/ui/share-details-dialog.mjs +3 -3
- package/dist/components/ui/signup-form-primitives.mjs +1 -1
- package/dist/components/ui/stage-timeline.mjs +3 -3
- package/dist/components/ui/transactions-income-expense-bar-chart.mjs +2 -2
- package/dist/index.js +5491 -5376
- package/dist/index.mjs +243 -243
- package/dist/styles.css +1 -1
- package/package.json +7 -7
- package/src/components/index.tsx +2 -0
- package/src/components/ui/ai-builder/agent-card.tsx +181 -0
- package/src/components/ui/ai-builder/index.tsx +21 -0
- package/src/components/ui/ai-builder/integration-card.tsx +144 -0
- package/src/components/ui/ai-builder/service-config-modal.tsx +283 -0
- package/src/components/ui/ai-builder/types.ts +34 -0
- package/src/components/ui/ai-conversations/helpers.tsx +31 -0
- package/src/components/ui/ai-conversations/index.tsx +468 -0
- package/src/components/ui/ai-conversations/lead-panel.tsx +517 -0
- package/src/components/ui/ai-conversations/list.tsx +335 -0
- package/src/components/ui/ai-conversations/thread.tsx +919 -0
- package/src/components/ui/ai-conversations/types.ts +83 -0
- package/src/components/ui/dialog.tsx +1 -1
- package/src/styles/styles-css.ts +1 -1
- package/tsup.config.ts +2 -2
- package/dist/chunk-INGYBZGU.mjs +0 -394
- package/dist/components/ui/ai-builder.mjs +0 -25
- package/dist/components/ui/ai-conversations.mjs +0 -42
- package/src/components/ui/ai-builder.tsx +0 -558
- package/src/components/ui/ai-conversations.tsx +0 -2270
- package/dist/{chunk-PSBQ4I3M.mjs → chunk-53ZB2JWT.mjs} +6 -6
- package/dist/{chunk-G2W754UJ.mjs → chunk-6UKOJLXO.mjs} +3 -3
- package/dist/{chunk-H5NI6ZIU.mjs → chunk-734FOOJC.mjs} +3 -3
- package/dist/{chunk-S6AYZJYO.mjs → chunk-CZ6IEOM5.mjs} +3 -3
- package/dist/{chunk-57QES5LX.mjs → chunk-JHS2T6JZ.mjs} +3 -3
- package/dist/{chunk-EXI64H46.mjs → chunk-L6LE4OIM.mjs} +3 -3
- package/dist/{chunk-ET4MTPIY.mjs → chunk-LDC6V6DJ.mjs} +3 -3
- package/dist/{chunk-DCKT635J.mjs → chunk-LHQACMZY.mjs} +3 -3
- package/dist/{chunk-3S4XQTAL.mjs → chunk-SO4RB3XB.mjs} +9 -9
- package/dist/{chunk-V23CBULF.mjs → chunk-SZLAPJKD.mjs} +3 -3
- package/dist/{chunk-UMF6LLQK.mjs → chunk-TRM3KIHT.mjs} +3 -3
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
export type AiConvStatus =
|
|
2
|
+
| "ai-active"
|
|
3
|
+
| "manual"
|
|
4
|
+
| "needs-attention"
|
|
5
|
+
| "closed";
|
|
6
|
+
|
|
7
|
+
export type AiConvMessageRole = "bot" | "visitor" | "advisor" | "system";
|
|
8
|
+
|
|
9
|
+
export type AiConvFieldConfidence = "confirmed" | "estimated";
|
|
10
|
+
|
|
11
|
+
export type AiConvFilterTab =
|
|
12
|
+
| "all"
|
|
13
|
+
| "emails"
|
|
14
|
+
| "ai-active"
|
|
15
|
+
| "needs-attention"
|
|
16
|
+
| "closed";
|
|
17
|
+
|
|
18
|
+
export type AiConvMode = "ai" | "manual";
|
|
19
|
+
|
|
20
|
+
export type AiConvChannel = "chat" | "email";
|
|
21
|
+
|
|
22
|
+
export type AiConvChannelFilter = "all" | AiConvChannel;
|
|
23
|
+
|
|
24
|
+
export type AiConvMeetingType = "video" | "phone" | "in-person";
|
|
25
|
+
|
|
26
|
+
export interface AiConvContact {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
email?: string;
|
|
30
|
+
phone?: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface AiConvAdvisor {
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
initials: string;
|
|
37
|
+
role?: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface AiConvListItemData {
|
|
41
|
+
id: string;
|
|
42
|
+
contact: AiConvContact;
|
|
43
|
+
status: AiConvStatus;
|
|
44
|
+
lastMessage: string;
|
|
45
|
+
lastMessageRole?: AiConvMessageRole;
|
|
46
|
+
timestamp: string;
|
|
47
|
+
unreadCount?: number;
|
|
48
|
+
/** Assigned advisor display name. */
|
|
49
|
+
assignedTo?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Conversation topic tag — e.g. "Buy a Home", "Refinance", "Investment".
|
|
52
|
+
* Shown as a small secondary badge so the broker can categorise conversations
|
|
53
|
+
* at a glance without opening each thread.
|
|
54
|
+
*/
|
|
55
|
+
topic?: string;
|
|
56
|
+
/** Channel this conversation is using — "chat" (default) or "email". */
|
|
57
|
+
channel?: AiConvChannel;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export interface AiConvMessage {
|
|
61
|
+
id: string;
|
|
62
|
+
role: AiConvMessageRole;
|
|
63
|
+
content: string;
|
|
64
|
+
timestamp?: string;
|
|
65
|
+
/** Display name shown above the bubble. */
|
|
66
|
+
senderName?: string;
|
|
67
|
+
/** Email subject line — shown as a header in the bubble for email-channel messages. */
|
|
68
|
+
subject?: string;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export interface AiConvDataField {
|
|
72
|
+
label: string;
|
|
73
|
+
value: string;
|
|
74
|
+
confidence: AiConvFieldConfidence;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export interface AiConvAppointmentData {
|
|
78
|
+
datetime: string;
|
|
79
|
+
meetingType: AiConvMeetingType;
|
|
80
|
+
/** Meeting link (video), phone number (phone), or address (in-person). */
|
|
81
|
+
meetingDetail?: string;
|
|
82
|
+
status: "requested" | "confirmed" | "pending" | "cancelled";
|
|
83
|
+
}
|
|
@@ -235,7 +235,7 @@ export type DialogTitleProps = React.ComponentProps<
|
|
|
235
235
|
function DialogTitle({ className, ...props }: DialogTitleProps): ReactElement {
|
|
236
236
|
return (
|
|
237
237
|
<DialogPrimitive.Title
|
|
238
|
-
className={cn("text-h5
|
|
238
|
+
className={cn("text-h5", className)}
|
|
239
239
|
data-slot="dialog-title"
|
|
240
240
|
{...props}
|
|
241
241
|
/>
|