@wealthx/shadcn 1.5.11 → 1.5.12
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 +67 -67
- package/CHANGELOG.md +6 -0
- package/dist/{chunk-O5CP6VP6.mjs → chunk-CPM6P63C.mjs} +56 -44
- package/dist/{chunk-ZMTCMP2G.mjs → chunk-EB626HVW.mjs} +70 -3
- package/dist/components/ui/ai-conversations.js +70 -3
- package/dist/components/ui/ai-conversations.mjs +1 -1
- package/dist/components/ui/bank-statement-generate-dialog.js +61 -46
- package/dist/components/ui/bank-statement-generate-dialog.mjs +1 -1
- package/dist/index.js +126 -44
- package/dist/index.mjs +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/ui/ai-conversations.tsx +157 -23
- package/src/components/ui/bank-statement-generate-dialog.tsx +84 -61
- package/src/styles/styles-css.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -14,7 +14,7 @@ npm warn Unknown project config "auto-install-peers". This will stop working in
|
|
|
14
14
|
npm warn Unknown project config "public-hoist-pattern". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
|
|
15
15
|
[3m[1m[34m≈[39m[22m[23m tailwindcss [34mv4.2.2[39m
|
|
16
16
|
|
|
17
|
-
Done in [
|
|
17
|
+
Done in [33m344ms[39m
|
|
18
18
|
Built dist/styles.css and src/styles/styles-css.ts
|
|
19
19
|
warning package.json: No license field
|
|
20
20
|
$ tsup
|
|
@@ -75,6 +75,9 @@ $ tsup
|
|
|
75
75
|
[32mESM[39m [1mdist/chunk-TLLD5IU6.mjs [22m[32m7.46 KB[39m
|
|
76
76
|
[32mESM[39m [1mdist/chunk-EHQL64B7.mjs [22m[32m14.00 KB[39m
|
|
77
77
|
[32mESM[39m [1mdist/chunk-7LN5OGC2.mjs [22m[32m26.92 KB[39m
|
|
78
|
+
[32mESM[39m [1mdist/chunk-DQB4EPIS.mjs [22m[32m5.13 KB[39m
|
|
79
|
+
[32mESM[39m [1mdist/chunk-JGBV3XMQ.mjs [22m[32m15.87 KB[39m
|
|
80
|
+
[32mESM[39m [1mdist/chunk-HK4HUQTV.mjs [22m[32m2.68 KB[39m
|
|
78
81
|
[32mESM[39m [1mdist/chunk-IRZWYTGV.mjs [22m[32m7.33 KB[39m
|
|
79
82
|
[32mESM[39m [1mdist/chunk-4LLTZ45R.mjs [22m[32m7.37 KB[39m
|
|
80
83
|
[32mESM[39m [1mdist/chunk-UBHBIWIA.mjs [22m[32m12.72 KB[39m
|
|
@@ -96,15 +99,12 @@ $ tsup
|
|
|
96
99
|
[32mESM[39m [1mdist/chunk-BAONSY54.mjs [22m[32m7.81 KB[39m
|
|
97
100
|
[32mESM[39m [1mdist/chunk-ZFKAYRFQ.mjs [22m[32m8.57 KB[39m
|
|
98
101
|
[32mESM[39m [1mdist/chunk-FW4U543X.mjs [22m[32m22.25 KB[39m
|
|
99
|
-
[32mESM[39m [1mdist/chunk-DQB4EPIS.mjs [22m[32m5.13 KB[39m
|
|
100
|
-
[32mESM[39m [1mdist/chunk-JGBV3XMQ.mjs [22m[32m15.87 KB[39m
|
|
101
|
-
[32mESM[39m [1mdist/chunk-HK4HUQTV.mjs [22m[32m2.68 KB[39m
|
|
102
102
|
[32mESM[39m [1mdist/chunk-UJMVXREM.mjs [22m[32m4.71 KB[39m
|
|
103
103
|
[32mESM[39m [1mdist/chunk-WHIW6KOB.mjs [22m[32m1.83 KB[39m
|
|
104
104
|
[32mESM[39m [1mdist/chunk-IW33VLL5.mjs [22m[32m6.95 KB[39m
|
|
105
105
|
[32mESM[39m [1mdist/chunk-I4KVSZCH.mjs [22m[32m2.28 KB[39m
|
|
106
106
|
[32mESM[39m [1mdist/chunk-TC43SMIN.mjs [22m[32m5.11 KB[39m
|
|
107
|
-
[32mESM[39m [1mdist/chunk-
|
|
107
|
+
[32mESM[39m [1mdist/chunk-CPM6P63C.mjs [22m[32m11.35 KB[39m
|
|
108
108
|
[32mESM[39m [1mdist/chunk-MUV4EGDW.mjs [22m[32m6.90 KB[39m
|
|
109
109
|
[32mESM[39m [1mdist/chunk-BXL74CM2.mjs [22m[32m6.29 KB[39m
|
|
110
110
|
[32mESM[39m [1mdist/chunk-Y2MTAVAK.mjs [22m[32m1.30 KB[39m
|
|
@@ -145,7 +145,7 @@ $ tsup
|
|
|
145
145
|
[32mESM[39m [1mdist/chunk-GAXNO4JB.mjs [22m[32m15.81 KB[39m
|
|
146
146
|
[32mESM[39m [1mdist/chunk-3VDET466.mjs [22m[32m2.46 KB[39m
|
|
147
147
|
[32mESM[39m [1mdist/chunk-PNSYFE3K.mjs [22m[32m3.80 KB[39m
|
|
148
|
-
[32mESM[39m [1mdist/chunk-
|
|
148
|
+
[32mESM[39m [1mdist/chunk-EB626HVW.mjs [22m[32m56.34 KB[39m
|
|
149
149
|
[32mESM[39m [1mdist/chunk-3S6KVFF5.mjs [22m[32m2.37 KB[39m
|
|
150
150
|
[32mESM[39m [1mdist/chunk-WE4YKBDE.mjs [22m[32m4.01 KB[39m
|
|
151
151
|
[32mESM[39m [1mdist/chunk-H5DTKPJ2.mjs [22m[32m9.03 KB[39m
|
|
@@ -167,6 +167,9 @@ $ tsup
|
|
|
167
167
|
[32mESM[39m [1mdist/chunk-P7CEBZM6.mjs [22m[32m819.00 B[39m
|
|
168
168
|
[32mESM[39m [1mdist/chunk-OWFQSXVD.mjs [22m[32m2.45 KB[39m
|
|
169
169
|
[32mESM[39m [1mdist/chunk-6QAFGZC2.mjs [22m[32m1.76 KB[39m
|
|
170
|
+
[32mESM[39m [1mdist/chunk-LBTHZSBT.mjs [22m[32m1.14 KB[39m
|
|
171
|
+
[32mESM[39m [1mdist/chunk-XYSRRDBH.mjs [22m[32m3.58 KB[39m
|
|
172
|
+
[32mESM[39m [1mdist/chunk-FRCTOAKZ.mjs [22m[32m3.10 KB[39m
|
|
170
173
|
[32mESM[39m [1mdist/chunk-UNACI2YK.mjs [22m[32m2.53 KB[39m
|
|
171
174
|
[32mESM[39m [1mdist/chunk-5FHBC6DY.mjs [22m[32m2.10 KB[39m
|
|
172
175
|
[32mESM[39m [1mdist/chunk-MN5NYQCL.mjs [22m[32m931.00 B[39m
|
|
@@ -175,18 +178,15 @@ $ tsup
|
|
|
175
178
|
[32mESM[39m [1mdist/chunk-AFML43VJ.mjs [22m[32m988.00 B[39m
|
|
176
179
|
[32mESM[39m [1mdist/chunk-WNQUEZJF.mjs [22m[32m1.85 KB[39m
|
|
177
180
|
[32mESM[39m [1mdist/components/ui/contact-alert-dialog/index.mjs [22m[32m925.00 B[39m
|
|
178
|
-
[32mESM[39m [1mdist/chunk-LBTHZSBT.mjs [22m[32m1.14 KB[39m
|
|
179
|
-
[32mESM[39m [1mdist/chunk-XYSRRDBH.mjs [22m[32m3.58 KB[39m
|
|
180
|
-
[32mESM[39m [1mdist/chunk-FRCTOAKZ.mjs [22m[32m3.10 KB[39m
|
|
181
181
|
[32mESM[39m [1mdist/components/ui/upload-card.mjs [22m[32m196.00 B[39m
|
|
182
182
|
[32mESM[39m [1mdist/components/ui/video-background.mjs [22m[32m162.00 B[39m
|
|
183
|
-
[32mESM[39m [1mdist/components/ui/toggle.mjs [22m[32m180.00 B[39m
|
|
184
183
|
[32mESM[39m [1mdist/components/ui/tooltip.mjs [22m[32m326.00 B[39m
|
|
184
|
+
[32mESM[39m [1mdist/components/ui/toggle.mjs [22m[32m180.00 B[39m
|
|
185
185
|
[32mESM[39m [1mdist/components/ui/top-three-product.mjs [22m[32m5.06 KB[39m
|
|
186
186
|
[32mESM[39m [1mdist/components/ui/transactions-expense-categories-doughnut-chart.mjs [22m[32m531.00 B[39m
|
|
187
187
|
[32mESM[39m [1mdist/components/ui/transactions-income-expense-bar-chart.mjs [22m[32m513.00 B[39m
|
|
188
|
-
[32mESM[39m [1mdist/components/ui/transactions-summary-block.mjs [22m[32m1.11 KB[39m
|
|
189
188
|
[32mESM[39m [1mdist/components/ui/transactions-liabilities-breakdown-doughnut-chart.mjs [22m[32m521.00 B[39m
|
|
189
|
+
[32mESM[39m [1mdist/components/ui/transactions-summary-block.mjs [22m[32m1.11 KB[39m
|
|
190
190
|
[32mESM[39m [1mdist/components/ui/two-fa-setup-form.mjs [22m[32m440.00 B[39m
|
|
191
191
|
[32mESM[39m [1mdist/components/ui/stage-timeline.mjs [22m[32m438.00 B[39m
|
|
192
192
|
[32mESM[39m [1mdist/components/ui/stepper.mjs [22m[32m276.00 B[39m
|
|
@@ -205,8 +205,8 @@ $ tsup
|
|
|
205
205
|
[32mESM[39m [1mdist/components/ui/sonner.mjs [22m[32m111.00 B[39m
|
|
206
206
|
[32mESM[39m [1mdist/components/ui/spinner.mjs [22m[32m184.00 B[39m
|
|
207
207
|
[32mESM[39m [1mdist/components/ui/savings-goal-modal.mjs [22m[32m5.80 KB[39m
|
|
208
|
-
[32mESM[39m [1mdist/components/ui/scenario-item.mjs [22m[32m261.00 B[39m
|
|
209
208
|
[32mESM[39m [1mdist/components/ui/scenario-drawer.mjs [22m[32m9.64 KB[39m
|
|
209
|
+
[32mESM[39m [1mdist/components/ui/scenario-item.mjs [22m[32m261.00 B[39m
|
|
210
210
|
[32mESM[39m [1mdist/components/ui/scenario-list.mjs [22m[32m3.24 KB[39m
|
|
211
211
|
[32mESM[39m [1mdist/components/ui/select.mjs [22m[32m538.00 B[39m
|
|
212
212
|
[32mESM[39m [1mdist/components/ui/selectable-card.mjs [22m[32m195.00 B[39m
|
|
@@ -273,6 +273,9 @@ $ tsup
|
|
|
273
273
|
[32mESM[39m [1mdist/components/ui/empty.mjs [22m[32m300.00 B[39m
|
|
274
274
|
[32mESM[39m [1mdist/components/ui/expense-bar-chart.mjs [22m[32m477.00 B[39m
|
|
275
275
|
[32mESM[39m [1mdist/components/ui/expense-detail-item.mjs [22m[32m411.00 B[39m
|
|
276
|
+
[32mESM[39m [1mdist/components/ui/expense-work-details.mjs [22m[32m5.99 KB[39m
|
|
277
|
+
[32mESM[39m [1mdist/components/ui/field.mjs [22m[32m486.00 B[39m
|
|
278
|
+
[32mESM[39m [1mdist/components/ui/file-preview-dialog.mjs [22m[32m551.00 B[39m
|
|
276
279
|
[32mESM[39m [1mdist/components/ui/data-table.mjs [22m[32m757.00 B[39m
|
|
277
280
|
[32mESM[39m [1mdist/components/ui/date-picker.mjs [22m[32m432.00 B[39m
|
|
278
281
|
[32mESM[39m [1mdist/components/ui/debt-accordion.mjs [22m[32m7.40 KB[39m
|
|
@@ -309,6 +312,7 @@ $ tsup
|
|
|
309
312
|
[32mESM[39m [1mdist/components/ui/backoffice-contact-matching-chart.mjs [22m[32m577.00 B[39m
|
|
310
313
|
[32mESM[39m [1mdist/components/ui/backoffice-signup-steps.mjs [22m[32m954.00 B[39m
|
|
311
314
|
[32mESM[39m [1mdist/components/ui/badge.mjs [22m[32m211.00 B[39m
|
|
315
|
+
[32mESM[39m [1mdist/components/ui/bank-statement-document-table.mjs [22m[32m324.00 B[39m
|
|
312
316
|
[32mESM[39m [1mdist/components/ui/bank-statement-generate-dialog.mjs [22m[32m851.00 B[39m
|
|
313
317
|
[32mESM[39m [1mdist/components/ui/bank-statement-pdf-viewer.mjs [22m[32m386.00 B[39m
|
|
314
318
|
[32mESM[39m [1mdist/components/ui/banking-accounts-connect.mjs [22m[32m4.53 KB[39m
|
|
@@ -317,11 +321,11 @@ $ tsup
|
|
|
317
321
|
[32mESM[39m [1mdist/components/ui/auth-page-layout.mjs [22m[32m160.00 B[39m
|
|
318
322
|
[32mESM[39m [1mdist/components/ui/avatar.mjs [22m[32m310.00 B[39m
|
|
319
323
|
[32mESM[39m [1mdist/components/ui/backoffice-alert-history-chart.mjs [22m[32m501.00 B[39m
|
|
320
|
-
[32mESM[39m [1mdist/components/ui/backoffice-alert-matching-chart.mjs [22m[32m573.00 B[39m
|
|
321
324
|
[32mESM[39m [1mdist/components/ui/backoffice-alerts-chart.mjs [22m[32m559.00 B[39m
|
|
322
325
|
[32mESM[39m [1mdist/components/ui/backoffice-connections-chart.mjs [22m[32m569.00 B[39m
|
|
323
326
|
[32mESM[39m [1mdist/components/ui/appointment-book-dialog.mjs [22m[32m874.00 B[39m
|
|
324
327
|
[32mESM[39m [1mdist/components/ui/appointment-calendar-view.mjs [22m[32m423.00 B[39m
|
|
328
|
+
[32mESM[39m [1mdist/components/ui/backoffice-alert-matching-chart.mjs [22m[32m573.00 B[39m
|
|
325
329
|
[32mESM[39m [1mdist/components/ui/appointment-detail-sheet.mjs [22m[32m771.00 B[39m
|
|
326
330
|
[32mESM[39m [1mdist/components/ui/appointment-gmail-connect.mjs [22m[32m353.00 B[39m
|
|
327
331
|
[32mESM[39m [1mdist/components/ui/appointment-mini-card.mjs [22m[32m275.00 B[39m
|
|
@@ -339,22 +343,18 @@ $ tsup
|
|
|
339
343
|
[32mESM[39m [1mdist/components/ui/add-column-modal.mjs [22m[32m440.00 B[39m
|
|
340
344
|
[32mESM[39m [1mdist/components/ui/add-lead-modal.mjs [22m[32m541.00 B[39m
|
|
341
345
|
[32mESM[39m [1mdist/components/ui/advisor-card.mjs [22m[32m476.00 B[39m
|
|
346
|
+
[32mESM[39m [1mdist/components/ui/agent-evaluation-toast.mjs [22m[32m296.00 B[39m
|
|
342
347
|
[32mESM[39m [1mdist/components/ui/ai-assistant-drawer.mjs [22m[32m446.00 B[39m
|
|
343
|
-
[32mESM[39m [1mdist/components/ui/bank-statement-document-table.mjs [22m[32m324.00 B[39m
|
|
344
|
-
[32mESM[39m [1mdist/components/ui/ai-conversations.mjs [22m[32m1.04 KB[39m
|
|
345
348
|
[32mESM[39m [1mdist/components/ui/ai-builder.mjs [22m[32m671.00 B[39m
|
|
349
|
+
[32mESM[39m [1mdist/components/ui/ai-conversations.mjs [22m[32m1.04 KB[39m
|
|
346
350
|
[32mESM[39m [1mdist/components/ui/alert-dialog.mjs [22m[32m768.00 B[39m
|
|
347
|
-
[32mESM[39m [1mdist/components/ui/accordion.mjs [22m[32m264.00 B[39m
|
|
348
351
|
[32mESM[39m [1mdist/components/ui/about-you-form.mjs [22m[32m11.05 KB[39m
|
|
352
|
+
[32mESM[39m [1mdist/components/ui/accordion.mjs [22m[32m264.00 B[39m
|
|
349
353
|
[32mESM[39m [1mdist/components/ui/account-list-carousel.mjs [22m[32m275.00 B[39m
|
|
350
|
-
[32mESM[39m
|
|
351
|
-
[32mESM[39m [1mdist/components/ui/expense-work-details.mjs [22m[32m5.99 KB[39m
|
|
352
|
-
[32mESM[39m [1mdist/components/ui/field.mjs [22m[32m486.00 B[39m
|
|
353
|
-
[32mESM[39m [1mdist/components/ui/file-preview-dialog.mjs [22m[32m551.00 B[39m
|
|
354
|
-
[32mESM[39m ⚡️ Build success in 753ms
|
|
355
|
-
[32mCJS[39m [1mdist/lib/colors.js [22m[32m4.33 KB[39m
|
|
354
|
+
[32mESM[39m ⚡️ Build success in 758ms
|
|
356
355
|
[32mCJS[39m [1mdist/lib/theme-provider.js [22m[32m8.19 KB[39m
|
|
357
356
|
[32mCJS[39m [1mdist/lib/typography.js [22m[32m5.74 KB[39m
|
|
357
|
+
[32mCJS[39m [1mdist/lib/colors.js [22m[32m4.33 KB[39m
|
|
358
358
|
[32mCJS[39m [1mdist/lib/utils.js [22m[32m2.02 KB[39m
|
|
359
359
|
[32mCJS[39m [1mdist/components/ui/about-you-form.js [22m[32m41.31 KB[39m
|
|
360
360
|
[32mCJS[39m [1mdist/components/ui/accordion.js [22m[32m5.75 KB[39m
|
|
@@ -365,12 +365,12 @@ $ tsup
|
|
|
365
365
|
[32mCJS[39m [1mdist/components/ui/agent-evaluation-toast.js [22m[32m11.15 KB[39m
|
|
366
366
|
[32mCJS[39m [1mdist/components/ui/ai-assistant-drawer.js [22m[32m28.64 KB[39m
|
|
367
367
|
[32mCJS[39m [1mdist/components/ui/ai-builder.js [22m[32m40.00 KB[39m
|
|
368
|
-
[32mCJS[39m [1mdist/components/ui/ai-conversations.js [22m[
|
|
368
|
+
[32mCJS[39m [1mdist/components/ui/ai-conversations.js [22m[32m98.05 KB[39m
|
|
369
369
|
[32mCJS[39m [1mdist/components/ui/alert-dialog.js [22m[32m16.03 KB[39m
|
|
370
|
-
[32mCJS[39m [1mdist/components/ui/alert.js [22m[32m5.17 KB[39m
|
|
371
370
|
[32mCJS[39m [1mdist/components/ui/applicant-document-checklist.js [22m[32m13.68 KB[39m
|
|
372
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
371
|
+
[32mCJS[39m [1mdist/components/ui/alert.js [22m[32m5.17 KB[39m
|
|
373
372
|
[32mCJS[39m [1mdist/components/ui/applicant-expenses-section.js [22m[32m17.30 KB[39m
|
|
373
|
+
[32mCJS[39m [1mdist/components/ui/applicant-navigation-bar.js [22m[32m11.35 KB[39m
|
|
374
374
|
[32mCJS[39m [1mdist/components/ui/applicant-switcher.js [22m[32m9.80 KB[39m
|
|
375
375
|
[32mCJS[39m [1mdist/components/ui/application-mobile-layout.js [22m[32m2.58 KB[39m
|
|
376
376
|
[32mCJS[39m [1mdist/components/ui/appointment-action-dialogs.js [22m[32m45.60 KB[39m
|
|
@@ -378,85 +378,86 @@ $ tsup
|
|
|
378
378
|
[32mCJS[39m [1mdist/components/ui/appointment-book-dialog.js [22m[32m75.66 KB[39m
|
|
379
379
|
[32mCJS[39m [1mdist/components/ui/appointment-calendar-view.js [22m[32m33.58 KB[39m
|
|
380
380
|
[32mCJS[39m [1mdist/components/ui/appointment-detail-sheet.js [22m[32m65.27 KB[39m
|
|
381
|
-
[32mCJS[39m [1mdist/components/ui/appointment-gmail-connect.js [22m[32m19.27 KB[39m
|
|
382
|
-
[32mCJS[39m [1mdist/components/ui/appointment-time-slot-picker.js [22m[32m11.33 KB[39m
|
|
383
|
-
[32mCJS[39m [1mdist/components/ui/appointment-upcoming-card.js [22m[32m55.99 KB[39m
|
|
384
381
|
[32mCJS[39m [1mdist/components/ui/appointment-mini-card.js [22m[32m12.50 KB[39m
|
|
382
|
+
[32mCJS[39m [1mdist/components/ui/appointment-gmail-connect.js [22m[32m19.27 KB[39m
|
|
385
383
|
[32mCJS[39m [1mdist/components/ui/asset-accordion.js [22m[32m19.18 KB[39m
|
|
384
|
+
[32mCJS[39m [1mdist/components/ui/appointment-time-slot-picker.js [22m[32m11.33 KB[39m
|
|
386
385
|
[32mCJS[39m [1mdist/components/ui/assets-liabilities-side-card.js [22m[32m12.56 KB[39m
|
|
386
|
+
[32mCJS[39m [1mdist/components/ui/appointment-upcoming-card.js [22m[32m55.99 KB[39m
|
|
387
387
|
[32mCJS[39m [1mdist/components/ui/auth-logo.js [22m[32m3.33 KB[39m
|
|
388
388
|
[32mCJS[39m [1mdist/components/ui/auth-page-layout.js [22m[32m3.49 KB[39m
|
|
389
389
|
[32mCJS[39m [1mdist/components/ui/avatar.js [22m[32m6.33 KB[39m
|
|
390
390
|
[32mCJS[39m [1mdist/components/ui/backoffice-alert-history-chart.js [22m[32m21.53 KB[39m
|
|
391
|
+
[32mCJS[39m [1mdist/components/ui/backoffice-alert-matching-chart.js [22m[32m27.13 KB[39m
|
|
391
392
|
[32mCJS[39m [1mdist/components/ui/backoffice-alerts-chart.js [22m[32m27.04 KB[39m
|
|
392
393
|
[32mCJS[39m [1mdist/components/ui/backoffice-connections-chart.js [22m[32m27.69 KB[39m
|
|
393
|
-
[32mCJS[39m [1mdist/components/ui/backoffice-alert-matching-chart.js [22m[32m27.13 KB[39m
|
|
394
394
|
[32mCJS[39m [1mdist/components/ui/backoffice-contact-history-chart.js [22m[32m23.06 KB[39m
|
|
395
395
|
[32mCJS[39m [1mdist/components/ui/backoffice-contact-matching-chart.js [22m[32m27.60 KB[39m
|
|
396
396
|
[32mCJS[39m [1mdist/components/ui/backoffice-signup-steps.js [22m[32m70.67 KB[39m
|
|
397
397
|
[32mCJS[39m [1mdist/components/ui/badge.js [22m[32m7.01 KB[39m
|
|
398
398
|
[32mCJS[39m [1mdist/components/ui/bank-statement-document-table.js [22m[32m19.19 KB[39m
|
|
399
|
+
[32mCJS[39m [1mdist/components/ui/bank-statement-generate-dialog.js [22m[32m60.06 KB[39m
|
|
399
400
|
[32mCJS[39m [1mdist/components/ui/banking-accounts-connect.js [22m[32m13.77 KB[39m
|
|
400
|
-
[32mCJS[39m [1mdist/components/ui/bank-statement-generate-dialog.js [22m[32m59.60 KB[39m
|
|
401
|
-
[32mCJS[39m [1mdist/components/ui/borrowing-capacity-atoms.js [22m[32m14.71 KB[39m
|
|
402
401
|
[32mCJS[39m [1mdist/components/ui/bank-statement-pdf-viewer.js [22m[32m20.93 KB[39m
|
|
402
|
+
[32mCJS[39m [1mdist/components/ui/borrowing-capacity-atoms.js [22m[32m14.71 KB[39m
|
|
403
403
|
[32mCJS[39m [1mdist/components/ui/borrowing-capacity-card.js [22m[32m31.33 KB[39m
|
|
404
404
|
[32mCJS[39m [1mdist/components/ui/borrowing-capacity-line-chart.js [22m[32m23.32 KB[39m
|
|
405
|
-
[32mCJS[39m [1mdist/components/ui/button.js [22m[32m8.76 KB[39m
|
|
406
405
|
[32mCJS[39m [1mdist/components/ui/broker-info-panel.js [22m[32m10.73 KB[39m
|
|
406
|
+
[32mCJS[39m [1mdist/components/ui/button.js [22m[32m8.76 KB[39m
|
|
407
|
+
[32mCJS[39m [1mdist/components/ui/calculator-input-item.js [22m[32m3.20 KB[39m
|
|
407
408
|
[32mCJS[39m [1mdist/components/ui/calculator-section.js [22m[32m28.15 KB[39m
|
|
408
409
|
[32mCJS[39m [1mdist/components/ui/calendar.js [22m[32m16.87 KB[39m
|
|
409
|
-
[32mCJS[39m [1mdist/components/ui/cash-balance-line-chart.js [22m[32m22.28 KB[39m
|
|
410
410
|
[32mCJS[39m [1mdist/components/ui/card.js [22m[32m5.54 KB[39m
|
|
411
|
+
[32mCJS[39m [1mdist/components/ui/cash-balance-line-chart.js [22m[32m22.28 KB[39m
|
|
411
412
|
[32mCJS[39m [1mdist/components/ui/cashflow-bar-chart.js [22m[32m22.72 KB[39m
|
|
412
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
413
|
+
[32mCJS[39m [1mdist/components/ui/category-edit-dialog.js [22m[32m28.47 KB[39m
|
|
413
414
|
[32mCJS[39m [1mdist/components/ui/chat-widget-primitives.js [22m[32m21.40 KB[39m
|
|
414
|
-
[32mCJS[39m [1mdist/components/ui/checkbox.js [22m[32m7.11 KB[39m
|
|
415
415
|
[32mCJS[39m [1mdist/components/ui/chat-widget.js [22m[32m47.61 KB[39m
|
|
416
|
+
[32mCJS[39m [1mdist/components/ui/checkbox.js [22m[32m7.11 KB[39m
|
|
416
417
|
[32mCJS[39m [1mdist/components/ui/chip.js [22m[32m11.82 KB[39m
|
|
417
418
|
[32mCJS[39m [1mdist/components/ui/color-picker.js [22m[32m19.32 KB[39m
|
|
418
419
|
[32mCJS[39m [1mdist/components/ui/combobox.js [22m[32m10.71 KB[39m
|
|
419
|
-
[32mCJS[39m [1mdist/components/ui/create-contact-modal.js [22m[32m38.23 KB[39m
|
|
420
|
-
[32mCJS[39m [1mdist/components/ui/category-edit-dialog.js [22m[32m28.47 KB[39m
|
|
421
420
|
[32mCJS[39m [1mdist/components/ui/connect-bank-step.js [22m[32m20.49 KB[39m
|
|
421
|
+
[32mCJS[39m [1mdist/components/ui/create-contact-modal.js [22m[32m38.23 KB[39m
|
|
422
422
|
[32mCJS[39m [1mdist/components/ui/csv-import-modal.js [22m[32m20.62 KB[39m
|
|
423
423
|
[32mCJS[39m [1mdist/components/ui/currency-input.js [22m[32m16.27 KB[39m
|
|
424
|
+
[32mCJS[39m [1mdist/components/ui/dashboard-transactions-table.js [22m[32m41.08 KB[39m
|
|
424
425
|
[32mCJS[39m [1mdist/components/ui/dashboard-expense-categories.js [22m[32m13.22 KB[39m
|
|
425
426
|
[32mCJS[39m [1mdist/components/ui/data-table.js [22m[32m41.34 KB[39m
|
|
426
|
-
[32mCJS[39m [1mdist/components/ui/dashboard-transactions-table.js [22m[32m41.08 KB[39m
|
|
427
427
|
[32mCJS[39m [1mdist/components/ui/date-picker.js [22m[32m23.55 KB[39m
|
|
428
428
|
[32mCJS[39m [1mdist/components/ui/debt-accordion.js [22m[32m19.84 KB[39m
|
|
429
429
|
[32mCJS[39m [1mdist/components/ui/delete-contact-component.js [22m[32m17.52 KB[39m
|
|
430
|
-
[32mCJS[39m [1mdist/components/ui/document-checklist-template.js [22m[32m25.96 KB[39m
|
|
431
430
|
[32mCJS[39m [1mdist/components/ui/dialog.js [22m[32m15.85 KB[39m
|
|
431
|
+
[32mCJS[39m [1mdist/components/ui/document-checklist-template.js [22m[32m25.96 KB[39m
|
|
432
432
|
[32mCJS[39m [1mdist/components/ui/drawer.js [22m[32m8.49 KB[39m
|
|
433
433
|
[32mCJS[39m [1mdist/components/ui/dropdown-menu.js [22m[32m13.57 KB[39m
|
|
434
434
|
[32mCJS[39m [1mdist/components/ui/dynamic-tabs.js [22m[32m10.53 KB[39m
|
|
435
|
-
[32mCJS[39m [1mdist/components/ui/empty.js [22m[32m5.93 KB[39m
|
|
436
435
|
[32mCJS[39m [1mdist/components/ui/editable-money-item.js [22m[32m11.37 KB[39m
|
|
436
|
+
[32mCJS[39m [1mdist/components/ui/empty.js [22m[32m5.93 KB[39m
|
|
437
437
|
[32mCJS[39m [1mdist/components/ui/expense-bar-chart.js [22m[32m22.36 KB[39m
|
|
438
438
|
[32mCJS[39m [1mdist/components/ui/expense-detail-item.js [22m[32m19.01 KB[39m
|
|
439
439
|
[32mCJS[39m [1mdist/components/ui/expense-work-details.js [22m[32m46.89 KB[39m
|
|
440
440
|
[32mCJS[39m [1mdist/components/ui/field.js [22m[32m11.80 KB[39m
|
|
441
|
-
[32mCJS[39m [1mdist/components/ui/financial-cards.js [22m[32m50.63 KB[39m
|
|
442
441
|
[32mCJS[39m [1mdist/components/ui/file-preview-dialog.js [22m[32m42.01 KB[39m
|
|
443
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
442
|
+
[32mCJS[39m [1mdist/components/ui/financial-cards.js [22m[32m50.63 KB[39m
|
|
443
|
+
[32mCJS[39m [1mdist/components/ui/financial-primitives.js [22m[32m8.00 KB[39m
|
|
444
|
+
[32mCJS[39m [1mdist/components/ui/financial-drawers.js [22m[32m25.49 KB[39m
|
|
444
445
|
[32mCJS[39m [1mdist/components/ui/financial-sections.js [22m[32m56.07 KB[39m
|
|
446
|
+
[32mCJS[39m [1mdist/components/ui/form-primitives.js [22m[32m23.00 KB[39m
|
|
445
447
|
[32mCJS[39m [1mdist/components/ui/frontend-signup-steps.js [22m[32m46.80 KB[39m
|
|
446
448
|
[32mCJS[39m [1mdist/components/ui/income-bar-chart.js [22m[32m22.32 KB[39m
|
|
447
449
|
[32mCJS[39m [1mdist/components/ui/income-sources-card.js [22m[32m9.81 KB[39m
|
|
448
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
450
|
+
[32mCJS[39m [1mdist/components/ui/income-summary-component.js [22m[32m14.73 KB[39m
|
|
451
|
+
[32mCJS[39m [1mdist/components/ui/income-work-details.js [22m[32m58.65 KB[39m
|
|
449
452
|
[32mCJS[39m [1mdist/components/ui/incoming-outgoings-card.js [22m[32m7.52 KB[39m
|
|
450
453
|
[32mCJS[39m [1mdist/components/ui/input-group.js [22m[32m16.63 KB[39m
|
|
451
454
|
[32mCJS[39m [1mdist/components/ui/input-otp.js [22m[32m6.49 KB[39m
|
|
452
|
-
[32mCJS[39m [1mdist/components/ui/integration-card.js [22m[32m13.13 KB[39m
|
|
453
455
|
[32mCJS[39m [1mdist/components/ui/input.js [22m[32m3.88 KB[39m
|
|
456
|
+
[32mCJS[39m [1mdist/components/ui/integration-card.js [22m[32m13.13 KB[39m
|
|
454
457
|
[32mCJS[39m [1mdist/components/ui/interest-rate-input.js [22m[32m16.38 KB[39m
|
|
455
458
|
[32mCJS[39m [1mdist/components/ui/interest-rate-section.js [22m[32m13.80 KB[39m
|
|
456
459
|
[32mCJS[39m [1mdist/components/ui/interest-rate-used.js [22m[32m6.83 KB[39m
|
|
457
460
|
[32mCJS[39m [1mdist/components/ui/label.js [22m[32m3.52 KB[39m
|
|
458
|
-
[32mCJS[39m [1mdist/components/ui/income-summary-component.js [22m[32m14.73 KB[39m
|
|
459
|
-
[32mCJS[39m [1mdist/components/ui/income-work-details.js [22m[32m58.65 KB[39m
|
|
460
461
|
[32mCJS[39m [1mdist/components/ui/kanban-column.js [22m[32m63.81 KB[39m
|
|
461
462
|
[32mCJS[39m [1mdist/components/ui/loan-applicant-information.js [22m[32m13.38 KB[39m
|
|
462
463
|
[32mCJS[39m [1mdist/components/ui/loan-applicant-invite.js [22m[32m12.23 KB[39m
|
|
@@ -464,8 +465,8 @@ $ tsup
|
|
|
464
465
|
[32mCJS[39m [1mdist/components/ui/loan-application-cards.js [22m[32m14.53 KB[39m
|
|
465
466
|
[32mCJS[39m [1mdist/components/ui/loan-entry-shell.js [22m[32m3.66 KB[39m
|
|
466
467
|
[32mCJS[39m [1mdist/components/ui/loan-financials.js [22m[32m15.65 KB[39m
|
|
467
|
-
[32mCJS[39m [1mdist/components/ui/loan-option-card.js [22m[32m3.10 KB[39m
|
|
468
468
|
[32mCJS[39m [1mdist/components/ui/loan-option-group.js [22m[32m9.49 KB[39m
|
|
469
|
+
[32mCJS[39m [1mdist/components/ui/loan-option-card.js [22m[32m3.10 KB[39m
|
|
469
470
|
[32mCJS[39m [1mdist/components/ui/loan-steps.js [22m[32m39.22 KB[39m
|
|
470
471
|
[32mCJS[39m [1mdist/components/ui/loan-wizard-shell.js [22m[32m18.81 KB[39m
|
|
471
472
|
[32mCJS[39m [1mdist/components/ui/money-input-with-slider.js [22m[32m6.93 KB[39m
|
|
@@ -480,56 +481,55 @@ $ tsup
|
|
|
480
481
|
[32mCJS[39m [1mdist/components/ui/pipeline-alerts.js [22m[32m3.53 KB[39m
|
|
481
482
|
[32mCJS[39m [1mdist/components/ui/opportunity-summary-tab.js [22m[32m221.13 KB[39m
|
|
482
483
|
[32mCJS[39m [1mdist/components/ui/pipeline-chart.js [22m[32m10.60 KB[39m
|
|
483
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
484
|
-
[32mCJS[39m [1mdist/components/ui/pipeline-primitives.js [22m[32m13.90 KB[39m
|
|
484
|
+
[32mCJS[39m [1mdist/components/ui/popover.js [22m[32m6.49 KB[39m
|
|
485
485
|
[32mCJS[39m [1mdist/components/ui/progress.js [22m[32m3.94 KB[39m
|
|
486
|
+
[32mCJS[39m [1mdist/components/ui/pipeline-dialogs.js [22m[32m47.48 KB[39m
|
|
487
|
+
[32mCJS[39m [1mdist/components/ui/pipeline-primitives.js [22m[32m13.90 KB[39m
|
|
486
488
|
[32mCJS[39m [1mdist/components/ui/property-asset-card.js [22m[32m17.81 KB[39m
|
|
487
|
-
[32mCJS[39m [1mdist/components/ui/property-cashflow-doughnut-chart.js [22m[32m19.37 KB[39m
|
|
488
489
|
[32mCJS[39m [1mdist/components/ui/property-debt-equity-doughnut-chart.js [22m[32m19.25 KB[39m
|
|
489
490
|
[32mCJS[39m [1mdist/components/ui/property-list-carousel.js [22m[32m11.25 KB[39m
|
|
491
|
+
[32mCJS[39m [1mdist/components/ui/property-cashflow-doughnut-chart.js [22m[32m19.37 KB[39m
|
|
490
492
|
[32mCJS[39m [1mdist/components/ui/property-mobile-estimate-line-chart.js [22m[32m23.44 KB[39m
|
|
491
|
-
[32mCJS[39m [1mdist/components/ui/property-report-dialog.js [22m[32m43.86 KB[39m
|
|
492
493
|
[32mCJS[39m [1mdist/components/ui/radio-group.js [22m[32m7.16 KB[39m
|
|
493
|
-
[32mCJS[39m [1mdist/components/ui/pipeline-dialogs.js [22m[32m47.48 KB[39m
|
|
494
|
-
[32mCJS[39m [1mdist/components/ui/popover.js [22m[32m6.49 KB[39m
|
|
495
494
|
[32mCJS[39m [1mdist/components/ui/resource-center.js [22m[32m32.94 KB[39m
|
|
495
|
+
[32mCJS[39m [1mdist/components/ui/property-report-dialog.js [22m[32m43.86 KB[39m
|
|
496
496
|
[32mCJS[39m [1mdist/components/ui/review-alerts-dialog.js [22m[32m21.75 KB[39m
|
|
497
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
497
|
+
[32mCJS[39m [1mdist/components/ui/savings-goal-modal.js [22m[32m43.07 KB[39m
|
|
498
498
|
[32mCJS[39m [1mdist/components/ui/scenario-item.js [22m[32m9.28 KB[39m
|
|
499
|
+
[32mCJS[39m [1mdist/components/ui/scenario-drawer.js [22m[32m29.79 KB[39m
|
|
499
500
|
[32mCJS[39m [1mdist/components/ui/scenario-list.js [22m[32m19.00 KB[39m
|
|
500
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
501
|
+
[32mCJS[39m [1mdist/components/ui/pipeline-board.js [22m[32m73.81 KB[39m
|
|
501
502
|
[32mCJS[39m [1mdist/components/ui/selectable-card.js [22m[32m5.32 KB[39m
|
|
503
|
+
[32mCJS[39m [1mdist/components/ui/select.js [22m[32m10.94 KB[39m
|
|
502
504
|
[32mCJS[39m [1mdist/components/ui/separator.js [22m[32m3.58 KB[39m
|
|
503
|
-
[32mCJS[39m [1mdist/components/ui/savings-goal-modal.js [22m[32m43.07 KB[39m
|
|
504
505
|
[32mCJS[39m [1mdist/components/ui/sheet.js [22m[32m8.64 KB[39m
|
|
505
|
-
[32mCJS[39m [1mdist/components/ui/share-details-dialog.js [22m[32m37.13 KB[39m
|
|
506
|
-
[32mCJS[39m [1mdist/components/ui/sidebar-nav.js [22m[32m30.59 KB[39m
|
|
507
506
|
[32mCJS[39m [1mdist/components/ui/signup-form-primitives.js [22m[32m29.72 KB[39m
|
|
508
507
|
[32mCJS[39m [1mdist/components/ui/signup-shell.js [22m[32m13.58 KB[39m
|
|
509
508
|
[32mCJS[39m [1mdist/components/ui/skeleton.js [22m[32m3.24 KB[39m
|
|
510
509
|
[32mCJS[39m [1mdist/components/ui/slider.js [22m[32m4.60 KB[39m
|
|
511
510
|
[32mCJS[39m [1mdist/components/ui/sonner.js [22m[32m3.35 KB[39m
|
|
511
|
+
[32mCJS[39m [1mdist/components/ui/sidebar-nav.js [22m[32m30.59 KB[39m
|
|
512
512
|
[32mCJS[39m [1mdist/components/ui/spinner.js [22m[32m3.73 KB[39m
|
|
513
|
-
[32mCJS[39m [1mdist/components/ui/stage-timeline.js [22m[32m24.60 KB[39m
|
|
514
|
-
[32mCJS[39m [1mdist/components/ui/stepper.js [22m[32m9.15 KB[39m
|
|
515
513
|
[32mCJS[39m [1mdist/components/ui/submission-confirmation-card.js [22m[32m10.88 KB[39m
|
|
514
|
+
[32mCJS[39m [1mdist/components/ui/share-details-dialog.js [22m[32m37.13 KB[39m
|
|
516
515
|
[32mCJS[39m [1mdist/components/ui/switch.js [22m[32m6.96 KB[39m
|
|
517
516
|
[32mCJS[39m [1mdist/components/ui/table.js [22m[32m6.25 KB[39m
|
|
518
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
517
|
+
[32mCJS[39m [1mdist/components/ui/stepper.js [22m[32m9.15 KB[39m
|
|
518
|
+
[32mCJS[39m [1mdist/components/ui/stage-timeline.js [22m[32m24.60 KB[39m
|
|
519
519
|
[32mCJS[39m [1mdist/components/ui/textarea.js [22m[32m3.77 KB[39m
|
|
520
520
|
[32mCJS[39m [1mdist/components/ui/toggle-group.js [22m[32m7.34 KB[39m
|
|
521
521
|
[32mCJS[39m [1mdist/components/ui/toggle.js [22m[32m4.61 KB[39m
|
|
522
522
|
[32mCJS[39m [1mdist/components/ui/tooltip.js [22m[32m5.77 KB[39m
|
|
523
|
-
[32mCJS[39m [1mdist/components/ui/top-three-product.js [22m[32m15.24 KB[39m
|
|
524
523
|
[32mCJS[39m [1mdist/components/ui/transactions-expense-categories-doughnut-chart.js [22m[32m19.64 KB[39m
|
|
525
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
524
|
+
[32mCJS[39m [1mdist/components/ui/tabs.js [22m[32m7.02 KB[39m
|
|
525
|
+
[32mCJS[39m [1mdist/components/ui/top-three-product.js [22m[32m15.24 KB[39m
|
|
526
526
|
[32mCJS[39m [1mdist/components/ui/transactions-liabilities-breakdown-doughnut-chart.js [22m[32m19.64 KB[39m
|
|
527
527
|
[32mCJS[39m [1mdist/components/ui/transactions-summary-block.js [22m[32m3.15 KB[39m
|
|
528
528
|
[32mCJS[39m [1mdist/components/ui/two-fa-setup-form.js [22m[32m23.79 KB[39m
|
|
529
529
|
[32mCJS[39m [1mdist/components/ui/upload-card.js [22m[32m5.43 KB[39m
|
|
530
530
|
[32mCJS[39m [1mdist/components/ui/video-background.js [22m[32m3.25 KB[39m
|
|
531
|
-
[32mCJS[39m [1mdist/index.js [22m[32m1.11 MB[39m
|
|
532
531
|
[32mCJS[39m [1mdist/components/ui/contact-alert-dialog/index.js [22m[32m67.15 KB[39m
|
|
533
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
534
|
-
[32mCJS[39m
|
|
535
|
-
|
|
532
|
+
[32mCJS[39m [1mdist/components/ui/transactions-income-expense-bar-chart.js [22m[32m19.06 KB[39m
|
|
533
|
+
[32mCJS[39m [1mdist/index.js [22m[32m1.11 MB[39m
|
|
534
|
+
[32mCJS[39m ⚡️ Build success in 812ms
|
|
535
|
+
Done in 3.83s.
|
package/CHANGELOG.md
CHANGED
|
@@ -43,14 +43,15 @@ import {
|
|
|
43
43
|
import {
|
|
44
44
|
Button
|
|
45
45
|
} from "./chunk-NOOEKOWY.mjs";
|
|
46
|
-
import {
|
|
47
|
-
cn
|
|
48
|
-
} from "./chunk-AFML43VJ.mjs";
|
|
49
46
|
|
|
50
47
|
// src/components/ui/bank-statement-generate-dialog.tsx
|
|
51
48
|
import { useEffect, useMemo, useState } from "react";
|
|
52
49
|
import { format, parseISO, subDays } from "date-fns";
|
|
53
50
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
51
|
+
var APPLICANT_TYPE_LABELS = {
|
|
52
|
+
primary: "Main applicant",
|
|
53
|
+
secondary: "Co-applicant"
|
|
54
|
+
};
|
|
54
55
|
function toIsoDate(date) {
|
|
55
56
|
return date.toISOString().slice(0, 10);
|
|
56
57
|
}
|
|
@@ -74,8 +75,10 @@ function BankStatementGenerateDialog({
|
|
|
74
75
|
}) {
|
|
75
76
|
const [statementName, setStatementName] = useState("Bank Statement 1");
|
|
76
77
|
const [rangePreset, setRangePreset] = useState(90);
|
|
77
|
-
const [fromDate, setFromDate] = useState(
|
|
78
|
-
|
|
78
|
+
const [fromDate, setFromDate] = useState(
|
|
79
|
+
() => presetToDateRange(90).from
|
|
80
|
+
);
|
|
81
|
+
const [toDate, setToDate] = useState(() => presetToDateRange(90).to);
|
|
79
82
|
const [applicantType, setApplicantType] = useState("");
|
|
80
83
|
const [selectedAccountIds, setSelectedAccountIds] = useState([]);
|
|
81
84
|
useEffect(() => {
|
|
@@ -104,6 +107,11 @@ function BankStatementGenerateDialog({
|
|
|
104
107
|
setToDate(to);
|
|
105
108
|
}
|
|
106
109
|
};
|
|
110
|
+
const handlePresetChange = (val) => {
|
|
111
|
+
if (val.length === 0) return;
|
|
112
|
+
const raw = val[0];
|
|
113
|
+
applyPreset(raw === "custom" ? "custom" : Number(raw));
|
|
114
|
+
};
|
|
107
115
|
const areAllSelected = bankAccounts.length > 0 && selectedAccountIds.length === bankAccounts.length;
|
|
108
116
|
const isSomeSelected = selectedAccountIds.length > 0 && !areAllSelected;
|
|
109
117
|
const handleToggleAccount = (id) => {
|
|
@@ -139,7 +147,8 @@ function BankStatementGenerateDialog({
|
|
|
139
147
|
return /* @__PURE__ */ jsx(Dialog, { open, onOpenChange: (o) => !o && onClose(), children: /* @__PURE__ */ jsxs(
|
|
140
148
|
DialogContent,
|
|
141
149
|
{
|
|
142
|
-
|
|
150
|
+
size: "3xl",
|
|
151
|
+
className,
|
|
143
152
|
"data-slot": "bank-statement-generate-dialog",
|
|
144
153
|
children: [
|
|
145
154
|
/* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: "Generate Bank Statement" }) }),
|
|
@@ -163,15 +172,7 @@ function BankStatementGenerateDialog({
|
|
|
163
172
|
type: "single",
|
|
164
173
|
variant: "outline",
|
|
165
174
|
value: [String(rangePreset)],
|
|
166
|
-
onValueChange:
|
|
167
|
-
if (val.length === 0) return;
|
|
168
|
-
const raw = val[0];
|
|
169
|
-
if (raw === "custom") {
|
|
170
|
-
applyPreset("custom");
|
|
171
|
-
} else {
|
|
172
|
-
applyPreset(Number(raw));
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
+
onValueChange: handlePresetChange,
|
|
175
176
|
className: "w-full",
|
|
176
177
|
children: [
|
|
177
178
|
/* @__PURE__ */ jsx(ToggleGroupItem, { value: "90", className: "flex-1", children: "3 Months" }),
|
|
@@ -207,11 +208,12 @@ function BankStatementGenerateDialog({
|
|
|
207
208
|
{
|
|
208
209
|
value: applicantType,
|
|
209
210
|
onValueChange: (v) => handleApplicantTypeChange(v),
|
|
211
|
+
items: APPLICANT_TYPE_LABELS,
|
|
210
212
|
children: [
|
|
211
213
|
/* @__PURE__ */ jsx(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx(SelectValue, { placeholder: "Applicant Type" }) }),
|
|
212
214
|
/* @__PURE__ */ jsxs(SelectContent, { children: [
|
|
213
|
-
/* @__PURE__ */ jsx(SelectItem, { value: "primary", children:
|
|
214
|
-
hasCoApplicant && /* @__PURE__ */ jsx(SelectItem, { value: "secondary", children:
|
|
215
|
+
/* @__PURE__ */ jsx(SelectItem, { value: "primary", children: APPLICANT_TYPE_LABELS.primary }),
|
|
216
|
+
hasCoApplicant && /* @__PURE__ */ jsx(SelectItem, { value: "secondary", children: APPLICANT_TYPE_LABELS.secondary })
|
|
215
217
|
] })
|
|
216
218
|
]
|
|
217
219
|
}
|
|
@@ -237,33 +239,43 @@ function BankStatementGenerateDialog({
|
|
|
237
239
|
] }) }),
|
|
238
240
|
/* @__PURE__ */ jsx(TableBody, { children: bankAccounts.map((account) => {
|
|
239
241
|
var _a, _b;
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
242
|
+
const isSelected = selectedAccountIds.includes(
|
|
243
|
+
account.id
|
|
244
|
+
);
|
|
245
|
+
return /* @__PURE__ */ jsxs(
|
|
246
|
+
TableRow,
|
|
247
|
+
{
|
|
248
|
+
"data-state": isSelected ? "selected" : void 0,
|
|
249
|
+
children: [
|
|
250
|
+
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx(
|
|
251
|
+
Checkbox,
|
|
252
|
+
{
|
|
253
|
+
checked: isSelected,
|
|
254
|
+
onCheckedChange: () => handleToggleAccount(account.id),
|
|
255
|
+
"aria-label": `Select ${account.name}`
|
|
256
|
+
}
|
|
257
|
+
) }),
|
|
258
|
+
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
259
|
+
account.institutionLogo && /* @__PURE__ */ jsx(
|
|
260
|
+
"img",
|
|
261
|
+
{
|
|
262
|
+
src: account.institutionLogo,
|
|
263
|
+
alt: (_a = account.institutionName) != null ? _a : "",
|
|
264
|
+
className: "size-8 object-cover"
|
|
265
|
+
}
|
|
266
|
+
),
|
|
267
|
+
/* @__PURE__ */ jsx("span", { className: "text-body-medium font-semibold", children: account.name || account.institutionName || "\u2014" })
|
|
268
|
+
] }) }),
|
|
269
|
+
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-body-medium", children: (_b = account.accountNo) != null ? _b : "\u2014" }) }),
|
|
270
|
+
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-body-medium", children: periodLabel }) }),
|
|
271
|
+
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-body-medium", children: account.lastUpdated ? format(
|
|
272
|
+
parseISO(account.lastUpdated),
|
|
273
|
+
"dd MMM yyyy"
|
|
274
|
+
) : "\u2014" }) })
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
account.id
|
|
278
|
+
);
|
|
267
279
|
}) })
|
|
268
280
|
] })
|
|
269
281
|
] })
|