@wealthx/shadcn 1.5.25 → 1.5.27
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 +165 -165
- package/CHANGELOG.md +12 -0
- package/dist/{chunk-7JVKSZ4O.mjs → chunk-2CHH5QOA.mjs} +1 -1
- package/dist/{chunk-5ST6BK7R.mjs → chunk-36IN7YRM.mjs} +1 -1
- package/dist/{chunk-RGHKARAK.mjs → chunk-7PTRHNUV.mjs} +1 -1
- package/dist/{chunk-QM7LU2BR.mjs → chunk-AAZSLTER.mjs} +7 -7
- package/dist/{chunk-OFQFD2E2.mjs → chunk-C35JMOII.mjs} +1 -1
- package/dist/{chunk-4FJC64FV.mjs → chunk-CE2WONIY.mjs} +15 -14
- package/dist/{chunk-YV7XF32X.mjs → chunk-DSVKEVX6.mjs} +1 -1
- package/dist/{chunk-EY5YPFKX.mjs → chunk-EVUY67CY.mjs} +4 -4
- 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-VNB5E7SI.mjs → chunk-HSXMTFIM.mjs} +4 -4
- package/dist/{chunk-ABVCQWDY.mjs → chunk-KGVVK6OS.mjs} +5 -5
- package/dist/{chunk-IG7DEIWU.mjs → chunk-KI57CBJR.mjs} +7 -7
- package/dist/{chunk-IT3QJF3D.mjs → chunk-LBXIYS34.mjs} +4 -4
- package/dist/{chunk-K35TFQUB.mjs → chunk-LSSIWLYU.mjs} +1 -1
- package/dist/{chunk-UMR3HVZF.mjs → chunk-M32QNCD3.mjs} +7 -7
- package/dist/{chunk-ECC2LLZM.mjs → chunk-MD66TGX7.mjs} +7 -7
- package/dist/{chunk-ZSMQZ3VN.mjs → chunk-NGKTJRFN.mjs} +7 -7
- package/dist/{chunk-2PWTXE66.mjs → chunk-OG2VM34K.mjs} +1 -1
- package/dist/{chunk-SQ54W3JH.mjs → chunk-OKIWXOJL.mjs} +4 -4
- package/dist/{chunk-WIDZVCH3.mjs → chunk-S7SBLNX4.mjs} +7 -7
- package/dist/{chunk-PX2B3Q3A.mjs → chunk-SYJ6LVJ6.mjs} +1 -1
- package/dist/{chunk-OIETBBXQ.mjs → chunk-T5FRVEJQ.mjs} +1 -1
- package/dist/{chunk-Z5QI7CW2.mjs → chunk-T5HU4S4X.mjs} +1 -1
- package/dist/{chunk-KENLXFJ7.mjs → chunk-ULQ53FRJ.mjs} +4 -4
- package/dist/{chunk-NTIFG5A7.mjs → chunk-USIRKDYQ.mjs} +4 -4
- package/dist/{chunk-QJ3RSZF4.mjs → chunk-VVURVETY.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-builder.js → ai-builder/index.js} +288 -187
- package/dist/components/ui/ai-builder/index.mjs +26 -0
- package/dist/components/ui/ai-conversations/index.js +4 -3
- package/dist/components/ui/ai-conversations/index.mjs +3 -3
- package/dist/components/ui/appointment-action-dialogs.js +1 -1
- package/dist/components/ui/appointment-action-dialogs.mjs +2 -2
- package/dist/components/ui/appointment-availability-settings.js +1 -1
- package/dist/components/ui/appointment-availability-settings.mjs +3 -3
- package/dist/components/ui/appointment-book-dialog.js +1 -1
- package/dist/components/ui/appointment-book-dialog.mjs +3 -3
- 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 +4 -4
- package/dist/components/ui/appointment-upcoming-card.js +1 -1
- package/dist/components/ui/appointment-upcoming-card.mjs +3 -3
- package/dist/components/ui/bank-statement-generate-dialog.js +1 -1
- package/dist/components/ui/bank-statement-generate-dialog.mjs +2 -2
- 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 +2 -2
- package/dist/components/ui/create-contact-modal.js +1 -1
- package/dist/components/ui/create-contact-modal.mjs +2 -2
- 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/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 +2 -2
- package/dist/components/ui/expense-work-details.mjs +8 -8
- package/dist/components/ui/file-preview-dialog.js +1 -1
- package/dist/components/ui/file-preview-dialog.mjs +2 -2
- package/dist/components/ui/income-sources-card.mjs +3 -3
- package/dist/components/ui/income-work-details.mjs +2 -2
- package/dist/components/ui/kanban-column.mjs +4 -4
- 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 +2 -2
- package/dist/components/ui/opportunity-summary-tab.js +1 -1
- package/dist/components/ui/opportunity-summary-tab.mjs +4 -4
- package/dist/components/ui/pipeline-board.mjs +5 -5
- package/dist/components/ui/pipeline-dialogs.js +1 -1
- package/dist/components/ui/pipeline-dialogs.mjs +2 -2
- 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 +2 -2
- 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 +1 -1
- package/dist/components/ui/share-details-dialog.js +1 -1
- package/dist/components/ui/share-details-dialog.mjs +2 -2
- 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 +4302 -4241
- package/dist/index.mjs +114 -114
- package/package.json +4 -4
- package/src/components/index.tsx +1 -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/thread.tsx +14 -9
- package/src/components/ui/dialog.tsx +1 -1
- package/tsup.config.ts +1 -1
- package/dist/chunk-INGYBZGU.mjs +0 -394
- package/dist/components/ui/ai-builder.mjs +0 -25
- package/src/components/ui/ai-builder.tsx +0 -558
- package/dist/{chunk-G2W754UJ.mjs → chunk-6UKOJLXO.mjs} +3 -3
- package/dist/{chunk-S6AYZJYO.mjs → chunk-CZ6IEOM5.mjs} +3 -3
- package/dist/{chunk-K2KX3NX7.mjs → chunk-I433SC7S.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-DCKT635J.mjs → chunk-LHQACMZY.mjs} +3 -3
- package/dist/{chunk-V23CBULF.mjs → chunk-SZLAPJKD.mjs} +3 -3
- package/dist/{chunk-KGBLORCQ.mjs → chunk-ZA37ZWZW.mjs} +4 -4
package/dist/index.mjs
CHANGED
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
ConversationStatusChip,
|
|
10
10
|
ConversationsPage,
|
|
11
11
|
LeadInfoPanel
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CE2WONIY.mjs";
|
|
13
13
|
import {
|
|
14
14
|
ALERT_QUERY_FIELDS,
|
|
15
15
|
AlertSharingType,
|
|
16
16
|
ContactAlertDialog,
|
|
17
17
|
ContactAlertQueryBuilder,
|
|
18
18
|
createAlertTree
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-36IN7YRM.mjs";
|
|
20
20
|
import {
|
|
21
21
|
ResourceCarousel,
|
|
22
22
|
ResourceCenterHeader,
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
ResourceEmailTemplateCard,
|
|
26
26
|
ResourceModal,
|
|
27
27
|
ResourceVideoCard
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-FYZBGWYR.mjs";
|
|
29
29
|
import {
|
|
30
30
|
TransactionsExpenseCategoriesDoughnutChart
|
|
31
31
|
} from "./chunk-FGMDBJCF.mjs";
|
|
32
32
|
import {
|
|
33
33
|
TransactionsIncomeExpenseBarChart
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-6UKOJLXO.mjs";
|
|
35
35
|
import {
|
|
36
36
|
TransactionsLiabilitiesBreakdownChart
|
|
37
37
|
} from "./chunk-77L3UPBW.mjs";
|
|
@@ -41,6 +41,13 @@ import {
|
|
|
41
41
|
import {
|
|
42
42
|
VideoBackground
|
|
43
43
|
} from "./chunk-ZGQIVGIN.mjs";
|
|
44
|
+
import {
|
|
45
|
+
AgentCard,
|
|
46
|
+
AgentMenuModal,
|
|
47
|
+
IntegrationInstructionCard,
|
|
48
|
+
IntegrationServiceCard,
|
|
49
|
+
ServiceConfigurationModal
|
|
50
|
+
} from "./chunk-HSL23TOM.mjs";
|
|
44
51
|
import {
|
|
45
52
|
FrontendShell,
|
|
46
53
|
SignupShell,
|
|
@@ -51,7 +58,7 @@ import {
|
|
|
51
58
|
} from "./chunk-WZ6UJCBL.mjs";
|
|
52
59
|
import {
|
|
53
60
|
StageTimeline
|
|
54
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-LSSIWLYU.mjs";
|
|
55
62
|
import {
|
|
56
63
|
SelectableCard
|
|
57
64
|
} from "./chunk-3Z75IKFO.mjs";
|
|
@@ -59,25 +66,19 @@ import {
|
|
|
59
66
|
EmailTemplateDialog,
|
|
60
67
|
ShareContactDialog,
|
|
61
68
|
ShareDetailsDialog
|
|
62
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-MD66TGX7.mjs";
|
|
63
70
|
import {
|
|
64
71
|
SidebarNav
|
|
65
72
|
} from "./chunk-RSEVIQEO.mjs";
|
|
66
|
-
import {
|
|
67
|
-
PropertyDebtEquityDoughnutChart
|
|
68
|
-
} from "./chunk-GYWOD2YI.mjs";
|
|
69
73
|
import {
|
|
70
74
|
PropertyMobileEstimateLineChart
|
|
71
75
|
} from "./chunk-JUMEIPII.mjs";
|
|
72
76
|
import {
|
|
73
77
|
PropertyReportDialog
|
|
74
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-M32QNCD3.mjs";
|
|
75
79
|
import {
|
|
76
80
|
ReviewAlertsDialog
|
|
77
|
-
} from "./chunk-
|
|
78
|
-
import {
|
|
79
|
-
PipelineBoard
|
|
80
|
-
} from "./chunk-7JVKSZ4O.mjs";
|
|
81
|
+
} from "./chunk-HONTZFLO.mjs";
|
|
81
82
|
import {
|
|
82
83
|
PipelineChart
|
|
83
84
|
} from "./chunk-PCULNQWA.mjs";
|
|
@@ -85,13 +86,16 @@ import {
|
|
|
85
86
|
ChangePriorityDialog,
|
|
86
87
|
DeleteOpportunityDialog,
|
|
87
88
|
PutOnHoldDialog
|
|
88
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-T5HU4S4X.mjs";
|
|
89
90
|
import {
|
|
90
91
|
PropertyCashflowDoughnutChart
|
|
91
92
|
} from "./chunk-VLVEZHFE.mjs";
|
|
93
|
+
import {
|
|
94
|
+
PropertyDebtEquityDoughnutChart
|
|
95
|
+
} from "./chunk-GYWOD2YI.mjs";
|
|
92
96
|
import {
|
|
93
97
|
OpportunitySummaryTab
|
|
94
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-SYJ6LVJ6.mjs";
|
|
95
99
|
import {
|
|
96
100
|
EditAboutApplicantModal,
|
|
97
101
|
EditAssetsModal,
|
|
@@ -99,7 +103,7 @@ import {
|
|
|
99
103
|
EditExpensesModal,
|
|
100
104
|
EditIncomeModal,
|
|
101
105
|
EditLoanScenarioModal
|
|
102
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-HSXMTFIM.mjs";
|
|
103
107
|
import {
|
|
104
108
|
PageHeader
|
|
105
109
|
} from "./chunk-NT4FX27K.mjs";
|
|
@@ -109,6 +113,9 @@ import {
|
|
|
109
113
|
import {
|
|
110
114
|
PipelineAlerts
|
|
111
115
|
} from "./chunk-KFH36NKF.mjs";
|
|
116
|
+
import {
|
|
117
|
+
PipelineBoard
|
|
118
|
+
} from "./chunk-2CHH5QOA.mjs";
|
|
112
119
|
import {
|
|
113
120
|
LoanWizardShell
|
|
114
121
|
} from "./chunk-PUJ42INK.mjs";
|
|
@@ -126,30 +133,23 @@ import {
|
|
|
126
133
|
} from "./chunk-TCE5L44O.mjs";
|
|
127
134
|
import {
|
|
128
135
|
KanbanColumn
|
|
129
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-OG2VM34K.mjs";
|
|
130
137
|
import {
|
|
131
138
|
LeadCard,
|
|
132
139
|
OpportunityCard
|
|
133
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-DSVKEVX6.mjs";
|
|
134
141
|
import {
|
|
135
142
|
TaskCheckItem
|
|
136
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-L6LE4OIM.mjs";
|
|
137
144
|
import {
|
|
138
145
|
LoanApplicationBadge
|
|
139
146
|
} from "./chunk-K4VWSDJJ.mjs";
|
|
140
147
|
import {
|
|
141
148
|
LoanEntryShell
|
|
142
149
|
} from "./chunk-623YVI5O.mjs";
|
|
143
|
-
import {
|
|
144
|
-
IncomeWorkDetails
|
|
145
|
-
} from "./chunk-KGBLORCQ.mjs";
|
|
146
150
|
import {
|
|
147
151
|
IntegrationCard
|
|
148
152
|
} from "./chunk-67DGIPQ4.mjs";
|
|
149
|
-
import {
|
|
150
|
-
OpportunityDetailsDrawer,
|
|
151
|
-
SummaryReportDrawer
|
|
152
|
-
} from "./chunk-53ZB2JWT.mjs";
|
|
153
153
|
import {
|
|
154
154
|
AlertAccordion,
|
|
155
155
|
DebtSection,
|
|
@@ -175,6 +175,9 @@ import {
|
|
|
175
175
|
InputOTPSeparator,
|
|
176
176
|
InputOTPSlot
|
|
177
177
|
} from "./chunk-HK4HUQTV.mjs";
|
|
178
|
+
import {
|
|
179
|
+
IncomeWorkDetails
|
|
180
|
+
} from "./chunk-ZA37ZWZW.mjs";
|
|
178
181
|
import {
|
|
179
182
|
IncomeBarChart
|
|
180
183
|
} from "./chunk-IRZWYTGV.mjs";
|
|
@@ -183,7 +186,7 @@ import {
|
|
|
183
186
|
} from "./chunk-4LLTZ45R.mjs";
|
|
184
187
|
import {
|
|
185
188
|
FilePreviewDialog
|
|
186
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-ULQ53FRJ.mjs";
|
|
187
190
|
import {
|
|
188
191
|
Progress
|
|
189
192
|
} from "./chunk-JPGL36WQ.mjs";
|
|
@@ -206,12 +209,16 @@ import {
|
|
|
206
209
|
FinancialSubtotalBlock,
|
|
207
210
|
FinancialSubtotalFrame
|
|
208
211
|
} from "./chunk-DQB4EPIS.mjs";
|
|
212
|
+
import {
|
|
213
|
+
OpportunityDetailsDrawer,
|
|
214
|
+
SummaryReportDrawer
|
|
215
|
+
} from "./chunk-53ZB2JWT.mjs";
|
|
209
216
|
import {
|
|
210
217
|
DeleteContactComponent
|
|
211
218
|
} from "./chunk-5DAQU3B6.mjs";
|
|
212
219
|
import {
|
|
213
220
|
DocumentChecklistTemplate
|
|
214
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-JHS2T6JZ.mjs";
|
|
215
222
|
import {
|
|
216
223
|
Drawer,
|
|
217
224
|
DrawerClose,
|
|
@@ -224,25 +231,12 @@ import {
|
|
|
224
231
|
DrawerTitle,
|
|
225
232
|
DrawerTrigger
|
|
226
233
|
} from "./chunk-EHQ35FYA.mjs";
|
|
227
|
-
import {
|
|
228
|
-
Combobox,
|
|
229
|
-
ComboboxContent,
|
|
230
|
-
ComboboxEmpty,
|
|
231
|
-
ComboboxGroup,
|
|
232
|
-
ComboboxGroupLabel,
|
|
233
|
-
ComboboxInput,
|
|
234
|
-
ComboboxItem,
|
|
235
|
-
ComboboxList,
|
|
236
|
-
ComboboxSeparator,
|
|
237
|
-
ComboboxTrigger,
|
|
238
|
-
ComboboxValue
|
|
239
|
-
} from "./chunk-OEOOYMC2.mjs";
|
|
240
234
|
import {
|
|
241
235
|
CreateContactModal
|
|
242
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-OKIWXOJL.mjs";
|
|
243
237
|
import {
|
|
244
238
|
CsvImportModal
|
|
245
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-7PTRHNUV.mjs";
|
|
246
240
|
import {
|
|
247
241
|
InputGroup,
|
|
248
242
|
InputGroupAddon,
|
|
@@ -259,9 +253,6 @@ import {
|
|
|
259
253
|
DataTableToolbar,
|
|
260
254
|
getSelectionColumn
|
|
261
255
|
} from "./chunk-IG7JBQZO.mjs";
|
|
262
|
-
import {
|
|
263
|
-
CashBalanceLineChart
|
|
264
|
-
} from "./chunk-DCKT635J.mjs";
|
|
265
256
|
import {
|
|
266
257
|
CashflowBarChart
|
|
267
258
|
} from "./chunk-D3HKFRQO.mjs";
|
|
@@ -285,11 +276,21 @@ import {
|
|
|
285
276
|
Chip
|
|
286
277
|
} from "./chunk-MPA2HV5U.mjs";
|
|
287
278
|
import {
|
|
288
|
-
|
|
289
|
-
|
|
279
|
+
Combobox,
|
|
280
|
+
ComboboxContent,
|
|
281
|
+
ComboboxEmpty,
|
|
282
|
+
ComboboxGroup,
|
|
283
|
+
ComboboxGroupLabel,
|
|
284
|
+
ComboboxInput,
|
|
285
|
+
ComboboxItem,
|
|
286
|
+
ComboboxList,
|
|
287
|
+
ComboboxSeparator,
|
|
288
|
+
ComboboxTrigger,
|
|
289
|
+
ComboboxValue
|
|
290
|
+
} from "./chunk-OEOOYMC2.mjs";
|
|
290
291
|
import {
|
|
291
|
-
|
|
292
|
-
} from "./chunk-
|
|
292
|
+
CashBalanceLineChart
|
|
293
|
+
} from "./chunk-LHQACMZY.mjs";
|
|
293
294
|
import {
|
|
294
295
|
BackofficeSuccessStep,
|
|
295
296
|
BrandingInfoStep,
|
|
@@ -325,7 +326,7 @@ import {
|
|
|
325
326
|
} from "./chunk-7N6O3VPJ.mjs";
|
|
326
327
|
import {
|
|
327
328
|
BankStatementGenerateDialog
|
|
328
|
-
} from "./chunk-
|
|
329
|
+
} from "./chunk-EVUY67CY.mjs";
|
|
329
330
|
import {
|
|
330
331
|
Field,
|
|
331
332
|
FieldContent,
|
|
@@ -340,10 +341,10 @@ import {
|
|
|
340
341
|
} from "./chunk-KPGARKFC.mjs";
|
|
341
342
|
import {
|
|
342
343
|
BankStatementPDFViewer
|
|
343
|
-
} from "./chunk-
|
|
344
|
+
} from "./chunk-LBXIYS34.mjs";
|
|
344
345
|
import {
|
|
345
|
-
|
|
346
|
-
} from "./chunk-
|
|
346
|
+
BorrowingCapacityLineChart
|
|
347
|
+
} from "./chunk-UTCW5YUX.mjs";
|
|
347
348
|
import {
|
|
348
349
|
AuthPageLayout
|
|
349
350
|
} from "./chunk-6OSULDEO.mjs";
|
|
@@ -362,6 +363,9 @@ import {
|
|
|
362
363
|
import {
|
|
363
364
|
BackofficeContactHistoryChart
|
|
364
365
|
} from "./chunk-BAONSY54.mjs";
|
|
366
|
+
import {
|
|
367
|
+
BackofficeContactMatchingChart
|
|
368
|
+
} from "./chunk-ZFKAYRFQ.mjs";
|
|
365
369
|
import {
|
|
366
370
|
Skeleton
|
|
367
371
|
} from "./chunk-GTAVSBDO.mjs";
|
|
@@ -374,12 +378,9 @@ import {
|
|
|
374
378
|
EmptyMedia,
|
|
375
379
|
EmptyTitle
|
|
376
380
|
} from "./chunk-R2ON6CAN.mjs";
|
|
377
|
-
import {
|
|
378
|
-
AppointmentCalendarView
|
|
379
|
-
} from "./chunk-V23CBULF.mjs";
|
|
380
381
|
import {
|
|
381
382
|
AppointmentDetailSheet
|
|
382
|
-
} from "./chunk-
|
|
383
|
+
} from "./chunk-KGVVK6OS.mjs";
|
|
383
384
|
import {
|
|
384
385
|
AppointmentGmailConnect
|
|
385
386
|
} from "./chunk-7TMPOZDE.mjs";
|
|
@@ -388,7 +389,7 @@ import {
|
|
|
388
389
|
} from "./chunk-4Z66LMIQ.mjs";
|
|
389
390
|
import {
|
|
390
391
|
AppointmentUpcomingCard
|
|
391
|
-
} from "./chunk-
|
|
392
|
+
} from "./chunk-S7SBLNX4.mjs";
|
|
392
393
|
import {
|
|
393
394
|
Tooltip,
|
|
394
395
|
TooltipContent,
|
|
@@ -396,28 +397,34 @@ import {
|
|
|
396
397
|
TooltipTrigger
|
|
397
398
|
} from "./chunk-3S6KVFF5.mjs";
|
|
398
399
|
import {
|
|
399
|
-
|
|
400
|
-
|
|
400
|
+
Card,
|
|
401
|
+
CardAction,
|
|
402
|
+
CardContent,
|
|
403
|
+
CardDescription,
|
|
404
|
+
CardFooter,
|
|
405
|
+
CardHeader,
|
|
406
|
+
CardTitle
|
|
407
|
+
} from "./chunk-3VDET466.mjs";
|
|
408
|
+
import {
|
|
409
|
+
AuthLogo
|
|
410
|
+
} from "./chunk-Y2MTAVAK.mjs";
|
|
401
411
|
import {
|
|
402
412
|
ApplicationMobileLayout
|
|
403
413
|
} from "./chunk-QQSOZQOC.mjs";
|
|
404
414
|
import {
|
|
405
415
|
AppointmentConfirmDialog,
|
|
406
416
|
AppointmentRescheduleDialog
|
|
407
|
-
} from "./chunk-
|
|
417
|
+
} from "./chunk-NGKTJRFN.mjs";
|
|
408
418
|
import {
|
|
409
419
|
AppointmentAvailabilitySettings
|
|
410
|
-
} from "./chunk-
|
|
420
|
+
} from "./chunk-AAZSLTER.mjs";
|
|
411
421
|
import {
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
TabsTrigger,
|
|
416
|
-
tabsListVariants
|
|
417
|
-
} from "./chunk-WE4YKBDE.mjs";
|
|
422
|
+
Switch,
|
|
423
|
+
SwitchCard
|
|
424
|
+
} from "./chunk-PNSYFE3K.mjs";
|
|
418
425
|
import {
|
|
419
426
|
AppointmentBookDialog
|
|
420
|
-
} from "./chunk-
|
|
427
|
+
} from "./chunk-KI57CBJR.mjs";
|
|
421
428
|
import {
|
|
422
429
|
RadioGroup,
|
|
423
430
|
RadioGroupCard,
|
|
@@ -436,12 +443,22 @@ import {
|
|
|
436
443
|
AppointmentSlotSection,
|
|
437
444
|
AppointmentTimeSlotPicker
|
|
438
445
|
} from "./chunk-CQ7HKBEX.mjs";
|
|
446
|
+
import {
|
|
447
|
+
AppointmentCalendarView
|
|
448
|
+
} from "./chunk-SZLAPJKD.mjs";
|
|
449
|
+
import {
|
|
450
|
+
Tabs,
|
|
451
|
+
TabsContent,
|
|
452
|
+
TabsList,
|
|
453
|
+
TabsTrigger,
|
|
454
|
+
tabsListVariants
|
|
455
|
+
} from "./chunk-WE4YKBDE.mjs";
|
|
439
456
|
import {
|
|
440
457
|
AddColumnModal
|
|
441
|
-
} from "./chunk-
|
|
458
|
+
} from "./chunk-VVURVETY.mjs";
|
|
442
459
|
import {
|
|
443
460
|
AddLeadModal
|
|
444
|
-
} from "./chunk-
|
|
461
|
+
} from "./chunk-USIRKDYQ.mjs";
|
|
445
462
|
import {
|
|
446
463
|
Pagination,
|
|
447
464
|
PaginationContent,
|
|
@@ -480,10 +497,22 @@ import {
|
|
|
480
497
|
SelectTrigger,
|
|
481
498
|
SelectValue
|
|
482
499
|
} from "./chunk-K6VCC2MK.mjs";
|
|
500
|
+
import {
|
|
501
|
+
Dialog,
|
|
502
|
+
DialogClose,
|
|
503
|
+
DialogContent,
|
|
504
|
+
DialogDescription,
|
|
505
|
+
DialogFooter,
|
|
506
|
+
DialogHeader,
|
|
507
|
+
DialogOverlay,
|
|
508
|
+
DialogPortal,
|
|
509
|
+
DialogTitle,
|
|
510
|
+
DialogTrigger
|
|
511
|
+
} from "./chunk-T5FRVEJQ.mjs";
|
|
483
512
|
import {
|
|
484
513
|
AdvisorCard,
|
|
485
514
|
AdvisorInviteCard
|
|
486
|
-
} from "./chunk-
|
|
515
|
+
} from "./chunk-CZ6IEOM5.mjs";
|
|
487
516
|
import {
|
|
488
517
|
DropdownMenu,
|
|
489
518
|
DropdownMenuCheckboxItem,
|
|
@@ -501,6 +530,14 @@ import {
|
|
|
501
530
|
DropdownMenuSubTrigger,
|
|
502
531
|
DropdownMenuTrigger
|
|
503
532
|
} from "./chunk-H5DTKPJ2.mjs";
|
|
533
|
+
import {
|
|
534
|
+
Avatar,
|
|
535
|
+
AvatarBadge,
|
|
536
|
+
AvatarFallback,
|
|
537
|
+
AvatarGroup,
|
|
538
|
+
AvatarGroupCount,
|
|
539
|
+
AvatarImage
|
|
540
|
+
} from "./chunk-H6NQTIF4.mjs";
|
|
504
541
|
import {
|
|
505
542
|
Separator
|
|
506
543
|
} from "./chunk-2GIYVERS.mjs";
|
|
@@ -529,46 +566,6 @@ import {
|
|
|
529
566
|
Spinner,
|
|
530
567
|
spinnerVariants
|
|
531
568
|
} from "./chunk-JVMXMFBB.mjs";
|
|
532
|
-
import {
|
|
533
|
-
AgentCard,
|
|
534
|
-
AgentMenuModal,
|
|
535
|
-
IntegrationInstructionCard,
|
|
536
|
-
IntegrationServiceCard,
|
|
537
|
-
ServiceConfigurationModal
|
|
538
|
-
} from "./chunk-INGYBZGU.mjs";
|
|
539
|
-
import {
|
|
540
|
-
Card,
|
|
541
|
-
CardAction,
|
|
542
|
-
CardContent,
|
|
543
|
-
CardDescription,
|
|
544
|
-
CardFooter,
|
|
545
|
-
CardHeader,
|
|
546
|
-
CardTitle
|
|
547
|
-
} from "./chunk-3VDET466.mjs";
|
|
548
|
-
import {
|
|
549
|
-
Switch,
|
|
550
|
-
SwitchCard
|
|
551
|
-
} from "./chunk-PNSYFE3K.mjs";
|
|
552
|
-
import {
|
|
553
|
-
Dialog,
|
|
554
|
-
DialogClose,
|
|
555
|
-
DialogContent,
|
|
556
|
-
DialogDescription,
|
|
557
|
-
DialogFooter,
|
|
558
|
-
DialogHeader,
|
|
559
|
-
DialogOverlay,
|
|
560
|
-
DialogPortal,
|
|
561
|
-
DialogTitle,
|
|
562
|
-
DialogTrigger
|
|
563
|
-
} from "./chunk-OIETBBXQ.mjs";
|
|
564
|
-
import {
|
|
565
|
-
Avatar,
|
|
566
|
-
AvatarBadge,
|
|
567
|
-
AvatarFallback,
|
|
568
|
-
AvatarGroup,
|
|
569
|
-
AvatarGroupCount,
|
|
570
|
-
AvatarImage
|
|
571
|
-
} from "./chunk-H6NQTIF4.mjs";
|
|
572
569
|
import {
|
|
573
570
|
Badge,
|
|
574
571
|
badgeVariants
|
|
@@ -592,6 +589,9 @@ import {
|
|
|
592
589
|
AlertDescription,
|
|
593
590
|
AlertTitle
|
|
594
591
|
} from "./chunk-MDUKXXIL.mjs";
|
|
592
|
+
import {
|
|
593
|
+
ApplicantDocumentChecklist
|
|
594
|
+
} from "./chunk-UTCQN6XU.mjs";
|
|
595
595
|
import {
|
|
596
596
|
FONT_FAMILY_SANS,
|
|
597
597
|
TYPOGRAPHY,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wealthx/shadcn",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.27",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -302,9 +302,9 @@
|
|
|
302
302
|
"require": "./dist/components/ui/accordion.js"
|
|
303
303
|
},
|
|
304
304
|
"./ai-builder": {
|
|
305
|
-
"types": "./src/components/ui/ai-builder.tsx",
|
|
306
|
-
"import": "./dist/components/ui/ai-builder.mjs",
|
|
307
|
-
"require": "./dist/components/ui/ai-builder.js"
|
|
305
|
+
"types": "./src/components/ui/ai-builder/index.tsx",
|
|
306
|
+
"import": "./dist/components/ui/ai-builder/index.mjs",
|
|
307
|
+
"require": "./dist/components/ui/ai-builder/index.js"
|
|
308
308
|
},
|
|
309
309
|
"./empty": {
|
|
310
310
|
"types": "./src/components/ui/empty.tsx",
|
package/src/components/index.tsx
CHANGED
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { MoreHorizontal } from "lucide-react";
|
|
3
|
+
import { Badge } from "@/components/ui/badge";
|
|
4
|
+
import { Button } from "@/components/ui/button";
|
|
5
|
+
import { Card } from "@/components/ui/card";
|
|
6
|
+
import {
|
|
7
|
+
Dialog,
|
|
8
|
+
DialogContent,
|
|
9
|
+
DialogDescription,
|
|
10
|
+
DialogHeader,
|
|
11
|
+
DialogTitle,
|
|
12
|
+
} from "@/components/ui/dialog";
|
|
13
|
+
import { Switch } from "@/components/ui/switch";
|
|
14
|
+
import { cn } from "@/lib/utils";
|
|
15
|
+
import type { AiBuilderAgentItem } from "./types";
|
|
16
|
+
|
|
17
|
+
// ---------------------------------------------------------------------------
|
|
18
|
+
// AgentCard
|
|
19
|
+
// ---------------------------------------------------------------------------
|
|
20
|
+
|
|
21
|
+
export type AgentCardProps = {
|
|
22
|
+
agent: AiBuilderAgentItem;
|
|
23
|
+
onToggle: (agentId: string, enabled: boolean) => void;
|
|
24
|
+
onMenuClick: (agentId: string) => void;
|
|
25
|
+
className?: string;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
const AGENT_FEATURES = [
|
|
29
|
+
{
|
|
30
|
+
title: "Lead Capture",
|
|
31
|
+
description:
|
|
32
|
+
"Automatically collect and qualify leads from website visitors.",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
title: "Initial Engagement",
|
|
36
|
+
description:
|
|
37
|
+
"Instantly respond to inquiries with personalised mortgage guidance.",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
title: "Smart Follow-Up",
|
|
41
|
+
description:
|
|
42
|
+
"Re-engage cold leads with timely, context-aware follow-up messages.",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
title: "Appointment Scheduling",
|
|
46
|
+
description:
|
|
47
|
+
"Book qualified leads directly into advisor calendars without manual coordination.",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
title: "Performance Tracking",
|
|
51
|
+
description:
|
|
52
|
+
"Monitor agent activity, response rates, and conversion metrics.",
|
|
53
|
+
},
|
|
54
|
+
];
|
|
55
|
+
|
|
56
|
+
export function AgentCard({
|
|
57
|
+
agent,
|
|
58
|
+
onToggle,
|
|
59
|
+
onMenuClick,
|
|
60
|
+
className,
|
|
61
|
+
}: AgentCardProps) {
|
|
62
|
+
const { id, title, description, tags, isEnabled, infoBadge, isComingSoon } =
|
|
63
|
+
agent;
|
|
64
|
+
|
|
65
|
+
return (
|
|
66
|
+
<Card
|
|
67
|
+
className={cn(
|
|
68
|
+
"flex flex-col gap-3 p-4 transition-opacity",
|
|
69
|
+
isComingSoon && "opacity-60",
|
|
70
|
+
className,
|
|
71
|
+
)}
|
|
72
|
+
>
|
|
73
|
+
<div className="flex items-start justify-between gap-2">
|
|
74
|
+
<div className="flex flex-1 items-center gap-2 min-w-0">
|
|
75
|
+
<span
|
|
76
|
+
className={cn(
|
|
77
|
+
"mt-0.5 size-2 shrink-0 rounded-full",
|
|
78
|
+
isEnabled && !isComingSoon
|
|
79
|
+
? "bg-success"
|
|
80
|
+
: "bg-muted-foreground/40",
|
|
81
|
+
)}
|
|
82
|
+
/>
|
|
83
|
+
<span className="truncate text-sm font-semibold leading-tight">
|
|
84
|
+
{title}
|
|
85
|
+
</span>
|
|
86
|
+
{isComingSoon && (
|
|
87
|
+
<Badge variant="outline" className="shrink-0 text-xs">
|
|
88
|
+
Coming Soon
|
|
89
|
+
</Badge>
|
|
90
|
+
)}
|
|
91
|
+
</div>
|
|
92
|
+
<div className="flex shrink-0 items-center gap-1">
|
|
93
|
+
<Switch
|
|
94
|
+
checked={isEnabled}
|
|
95
|
+
disabled={isComingSoon}
|
|
96
|
+
onCheckedChange={(checked) => onToggle(id, checked)}
|
|
97
|
+
aria-label={`Toggle ${title}`}
|
|
98
|
+
/>
|
|
99
|
+
<Button
|
|
100
|
+
variant="ghost"
|
|
101
|
+
size="icon"
|
|
102
|
+
className="h-7 w-7"
|
|
103
|
+
onClick={() => onMenuClick(id)}
|
|
104
|
+
aria-label={`View details for ${title}`}
|
|
105
|
+
>
|
|
106
|
+
<MoreHorizontal className="h-4 w-4" />
|
|
107
|
+
</Button>
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
|
|
111
|
+
<p className="text-muted-foreground text-xs leading-relaxed flex-1">
|
|
112
|
+
{description}
|
|
113
|
+
</p>
|
|
114
|
+
|
|
115
|
+
<div className="flex flex-col gap-2">
|
|
116
|
+
{infoBadge && (
|
|
117
|
+
<p className="bg-info/10 text-info px-2 py-1 text-xs">{infoBadge}</p>
|
|
118
|
+
)}
|
|
119
|
+
{tags.length > 0 && (
|
|
120
|
+
<div className="flex flex-wrap gap-1">
|
|
121
|
+
{tags.map((tag) => (
|
|
122
|
+
<Badge key={tag} variant="secondary" className="text-xs">
|
|
123
|
+
{tag}
|
|
124
|
+
</Badge>
|
|
125
|
+
))}
|
|
126
|
+
</div>
|
|
127
|
+
)}
|
|
128
|
+
</div>
|
|
129
|
+
</Card>
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// ---------------------------------------------------------------------------
|
|
134
|
+
// AgentMenuModal
|
|
135
|
+
// ---------------------------------------------------------------------------
|
|
136
|
+
|
|
137
|
+
export type AgentMenuModalProps = {
|
|
138
|
+
open: boolean;
|
|
139
|
+
onOpenChange: (open: boolean) => void;
|
|
140
|
+
agentTitle: string;
|
|
141
|
+
description?: string;
|
|
142
|
+
features?: Array<{ title: string; description: string }>;
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
export function AgentMenuModal({
|
|
146
|
+
open,
|
|
147
|
+
onOpenChange,
|
|
148
|
+
agentTitle,
|
|
149
|
+
description = "AI-powered lead management that works around the clock to grow your mortgage business.",
|
|
150
|
+
features = AGENT_FEATURES,
|
|
151
|
+
}: AgentMenuModalProps) {
|
|
152
|
+
return (
|
|
153
|
+
<Dialog open={open} onOpenChange={onOpenChange}>
|
|
154
|
+
<DialogContent className="max-w-lg">
|
|
155
|
+
<DialogHeader>
|
|
156
|
+
<DialogTitle>{agentTitle}</DialogTitle>
|
|
157
|
+
<DialogDescription>{description}</DialogDescription>
|
|
158
|
+
</DialogHeader>
|
|
159
|
+
|
|
160
|
+
<div className="flex flex-col gap-3 py-2">
|
|
161
|
+
{features.map((feature, index) => (
|
|
162
|
+
<div key={feature.title} className="flex gap-3">
|
|
163
|
+
<Badge
|
|
164
|
+
variant="default"
|
|
165
|
+
className="h-6 w-6 shrink-0 p-0 text-xs font-bold"
|
|
166
|
+
>
|
|
167
|
+
{index + 1}
|
|
168
|
+
</Badge>
|
|
169
|
+
<div className="flex flex-col gap-0.5">
|
|
170
|
+
<p className="text-sm font-semibold">{feature.title}</p>
|
|
171
|
+
<p className="text-muted-foreground text-xs leading-relaxed">
|
|
172
|
+
{feature.description}
|
|
173
|
+
</p>
|
|
174
|
+
</div>
|
|
175
|
+
</div>
|
|
176
|
+
))}
|
|
177
|
+
</div>
|
|
178
|
+
</DialogContent>
|
|
179
|
+
</Dialog>
|
|
180
|
+
);
|
|
181
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type {
|
|
2
|
+
AiBuilderAgentItem,
|
|
3
|
+
AiBuilderEmailCategories,
|
|
4
|
+
AiBuilderServiceData,
|
|
5
|
+
AiBuilderServiceType,
|
|
6
|
+
} from "./types";
|
|
7
|
+
|
|
8
|
+
export { AgentCard, AgentMenuModal } from "./agent-card";
|
|
9
|
+
export type { AgentCardProps, AgentMenuModalProps } from "./agent-card";
|
|
10
|
+
|
|
11
|
+
export {
|
|
12
|
+
IntegrationInstructionCard,
|
|
13
|
+
IntegrationServiceCard,
|
|
14
|
+
} from "./integration-card";
|
|
15
|
+
export type {
|
|
16
|
+
IntegrationInstructionCardProps,
|
|
17
|
+
IntegrationServiceCardProps,
|
|
18
|
+
} from "./integration-card";
|
|
19
|
+
|
|
20
|
+
export { ServiceConfigurationModal } from "./service-config-modal";
|
|
21
|
+
export type { ServiceConfigurationModalProps } from "./service-config-modal";
|