@wealthx/shadcn 1.5.22 → 1.5.24
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 +58 -58
- package/CHANGELOG.md +12 -0
- package/dist/{chunk-NEMWMXGL.mjs → chunk-3HFOSFOM.mjs} +76 -48
- package/dist/{chunk-F3MIRXRF.mjs → chunk-ONYADWSO.mjs} +7 -1
- package/dist/{chunk-K4GJTP6N.mjs → chunk-RYGZRDP6.mjs} +24 -1
- package/dist/{chunk-SET6GFGL.mjs → chunk-ZSMQZ3VN.mjs} +96 -73
- package/dist/components/ui/ai-conversations.js +24 -1
- package/dist/components/ui/ai-conversations.mjs +1 -1
- package/dist/components/ui/appointment-action-dialogs.js +96 -73
- package/dist/components/ui/appointment-action-dialogs.mjs +1 -1
- package/dist/components/ui/appointment-book-dialog.js +76 -48
- package/dist/components/ui/appointment-book-dialog.mjs +1 -1
- package/dist/components/ui/appointment-detail-sheet.js +102 -73
- package/dist/components/ui/appointment-detail-sheet.mjs +2 -2
- package/dist/index.js +204 -124
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
- package/src/components/ui/ai-conversations.tsx +58 -1
- package/src/components/ui/appointment-action-dialogs.tsx +67 -21
- package/src/components/ui/appointment-book-dialog.tsx +150 -53
- package/src/components/ui/appointment-detail-sheet.tsx +18 -0
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 [33m349ms[39m
|
|
18
18
|
Built dist/styles.css and src/styles/styles-css.ts
|
|
19
19
|
warning package.json: No license field
|
|
20
20
|
$ tsup
|
|
@@ -43,6 +43,7 @@ $ tsup
|
|
|
43
43
|
[32mESM[39m [1mdist/chunk-G2W754UJ.mjs [22m[32m5.55 KB[39m
|
|
44
44
|
[32mESM[39m [1mdist/chunk-77L3UPBW.mjs [22m[32m5.11 KB[39m
|
|
45
45
|
[32mESM[39m [1mdist/chunk-7T4TYUO3.mjs [22m[32m5.90 KB[39m
|
|
46
|
+
[32mESM[39m [1mdist/chunk-RSEVIQEO.mjs [22m[32m15.92 KB[39m
|
|
46
47
|
[32mESM[39m [1mdist/chunk-AZGLSIHF.mjs [22m[32m4.02 KB[39m
|
|
47
48
|
[32mESM[39m [1mdist/chunk-WZ6UJCBL.mjs [22m[32m1.24 KB[39m
|
|
48
49
|
[32mESM[39m [1mdist/chunk-K35TFQUB.mjs [22m[32m6.20 KB[39m
|
|
@@ -55,9 +56,6 @@ $ tsup
|
|
|
55
56
|
[32mESM[39m [1mdist/chunk-RVDBYV2B.mjs [22m[32m3.96 KB[39m
|
|
56
57
|
[32mESM[39m [1mdist/chunk-KFH36NKF.mjs [22m[32m1.52 KB[39m
|
|
57
58
|
[32mESM[39m [1mdist/chunk-FGHM34AV.mjs [22m[32m5.31 KB[39m
|
|
58
|
-
[32mESM[39m [1mdist/chunk-PCULNQWA.mjs [22m[32m3.99 KB[39m
|
|
59
|
-
[32mESM[39m [1mdist/chunk-ETT5JAXF.mjs [22m[32m7.43 KB[39m
|
|
60
|
-
[32mESM[39m [1mdist/chunk-65PZNG4Y.mjs [22m[32m4.74 KB[39m
|
|
61
59
|
[32mESM[39m [1mdist/chunk-TCE5L44O.mjs [22m[32m6.13 KB[39m
|
|
62
60
|
[32mESM[39m [1mdist/chunk-2SDEURIQ.mjs [22m[32m36.68 KB[39m
|
|
63
61
|
[32mESM[39m [1mdist/chunk-JGUC3KCA.mjs [22m[32m78.04 KB[39m
|
|
@@ -70,6 +68,9 @@ $ tsup
|
|
|
70
68
|
[32mESM[39m [1mdist/chunk-EXI64H46.mjs [22m[32m2.76 KB[39m
|
|
71
69
|
[32mESM[39m [1mdist/chunk-K4VWSDJJ.mjs [22m[32m1.13 KB[39m
|
|
72
70
|
[32mESM[39m [1mdist/chunk-NXZ2F4JA.mjs [22m[32m11.80 KB[39m
|
|
71
|
+
[32mESM[39m [1mdist/chunk-PCULNQWA.mjs [22m[32m3.99 KB[39m
|
|
72
|
+
[32mESM[39m [1mdist/chunk-ETT5JAXF.mjs [22m[32m7.43 KB[39m
|
|
73
|
+
[32mESM[39m [1mdist/chunk-65PZNG4Y.mjs [22m[32m4.74 KB[39m
|
|
73
74
|
[32mESM[39m [1mdist/chunk-67DGIPQ4.mjs [22m[32m2.09 KB[39m
|
|
74
75
|
[32mESM[39m [1mdist/chunk-PSBQ4I3M.mjs [22m[32m7.46 KB[39m
|
|
75
76
|
[32mESM[39m [1mdist/chunk-EHQL64B7.mjs [22m[32m14.00 KB[39m
|
|
@@ -104,7 +105,6 @@ $ tsup
|
|
|
104
105
|
[32mESM[39m [1mdist/chunk-I4KVSZCH.mjs [22m[32m2.28 KB[39m
|
|
105
106
|
[32mESM[39m [1mdist/chunk-7N6O3VPJ.mjs [22m[32m5.26 KB[39m
|
|
106
107
|
[32mESM[39m [1mdist/chunk-6HTE24TP.mjs [22m[32m12.80 KB[39m
|
|
107
|
-
[32mESM[39m [1mdist/chunk-RSEVIQEO.mjs [22m[32m15.92 KB[39m
|
|
108
108
|
[32mESM[39m [1mdist/chunk-KPGARKFC.mjs [22m[32m6.90 KB[39m
|
|
109
109
|
[32mESM[39m [1mdist/chunk-IT3QJF3D.mjs [22m[32m6.33 KB[39m
|
|
110
110
|
[32mESM[39m [1mdist/chunk-Y2MTAVAK.mjs [22m[32m1.30 KB[39m
|
|
@@ -116,18 +116,19 @@ $ tsup
|
|
|
116
116
|
[32mESM[39m [1mdist/chunk-GTAVSBDO.mjs [22m[32m483.00 B[39m
|
|
117
117
|
[32mESM[39m [1mdist/chunk-YEWNFK5S.mjs [22m[32m4.41 KB[39m
|
|
118
118
|
[32mESM[39m [1mdist/chunk-R2ON6CAN.mjs [22m[32m2.83 KB[39m
|
|
119
|
-
[32mESM[39m [1mdist/chunk-
|
|
119
|
+
[32mESM[39m [1mdist/chunk-3HFOSFOM.mjs [22m[32m23.52 KB[39m
|
|
120
120
|
[32mESM[39m [1mdist/chunk-JTK6VJXY.mjs [22m[32m3.88 KB[39m
|
|
121
121
|
[32mESM[39m [1mdist/chunk-ET4MTPIY.mjs [22m[32m11.33 KB[39m
|
|
122
|
+
[32mESM[39m [1mdist/chunk-ISUA7DSB.mjs [22m[32m2.08 KB[39m
|
|
122
123
|
[32mESM[39m [1mdist/chunk-V23CBULF.mjs [22m[32m14.13 KB[39m
|
|
123
|
-
[32mESM[39m [1mdist/chunk-
|
|
124
|
+
[32mESM[39m [1mdist/chunk-ONYADWSO.mjs [22m[32m13.26 KB[39m
|
|
124
125
|
[32mESM[39m [1mdist/chunk-7TMPOZDE.mjs [22m[32m5.64 KB[39m
|
|
125
126
|
[32mESM[39m [1mdist/chunk-4Z66LMIQ.mjs [22m[32m2.41 KB[39m
|
|
126
127
|
[32mESM[39m [1mdist/chunk-WIDZVCH3.mjs [22m[32m20.71 KB[39m
|
|
127
128
|
[32mESM[39m [1mdist/chunk-MDUKXXIL.mjs [22m[32m2.24 KB[39m
|
|
128
129
|
[32mESM[39m [1mdist/chunk-UTCQN6XU.mjs [22m[32m4.35 KB[39m
|
|
129
130
|
[32mESM[39m [1mdist/chunk-QQSOZQOC.mjs [22m[32m631.00 B[39m
|
|
130
|
-
[32mESM[39m [1mdist/chunk-
|
|
131
|
+
[32mESM[39m [1mdist/chunk-ZSMQZ3VN.mjs [22m[32m9.67 KB[39m
|
|
131
132
|
[32mESM[39m [1mdist/chunk-CQ7HKBEX.mjs [22m[32m2.27 KB[39m
|
|
132
133
|
[32mESM[39m [1mdist/chunk-66NM4AX2.mjs [22m[32m22.21 KB[39m
|
|
133
134
|
[32mESM[39m [1mdist/chunk-QJ3RSZF4.mjs [22m[32m8.39 KB[39m
|
|
@@ -144,12 +145,10 @@ $ tsup
|
|
|
144
145
|
[32mESM[39m [1mdist/chunk-INGYBZGU.mjs [22m[32m15.81 KB[39m
|
|
145
146
|
[32mESM[39m [1mdist/chunk-3VDET466.mjs [22m[32m2.46 KB[39m
|
|
146
147
|
[32mESM[39m [1mdist/chunk-PNSYFE3K.mjs [22m[32m3.80 KB[39m
|
|
147
|
-
[32mESM[39m [1mdist/chunk-
|
|
148
|
-
[32mESM[39m [1mdist/chunk-ISUA7DSB.mjs [22m[32m2.08 KB[39m
|
|
148
|
+
[32mESM[39m [1mdist/chunk-RYGZRDP6.mjs [22m[32m61.37 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
|
|
152
|
-
[32mESM[39m [1mdist/chunk-2GIYVERS.mjs [22m[32m840.00 B[39m
|
|
153
152
|
[32mESM[39m [1mdist/chunk-BS75ICOO.mjs [22m[32m1.00 KB[39m
|
|
154
153
|
[32mESM[39m [1mdist/chunk-OIETBBXQ.mjs [22m[32m6.53 KB[39m
|
|
155
154
|
[32mESM[39m [1mdist/chunk-H6NQTIF4.mjs [22m[32m3.28 KB[39m
|
|
@@ -178,6 +177,7 @@ $ tsup
|
|
|
178
177
|
[32mESM[39m [1mdist/chunk-AFML43VJ.mjs [22m[32m988.00 B[39m
|
|
179
178
|
[32mESM[39m [1mdist/chunk-WNQUEZJF.mjs [22m[32m1.85 KB[39m
|
|
180
179
|
[32mESM[39m [1mdist/components/ui/contact-alert-dialog/index.mjs [22m[32m925.00 B[39m
|
|
180
|
+
[32mESM[39m [1mdist/chunk-2GIYVERS.mjs [22m[32m840.00 B[39m
|
|
181
181
|
[32mESM[39m [1mdist/components/ui/video-background.mjs [22m[32m162.00 B[39m
|
|
182
182
|
[32mESM[39m [1mdist/components/ui/resource-center/index.mjs [22m[32m803.00 B[39m
|
|
183
183
|
[32mESM[39m [1mdist/components/ui/tooltip.mjs [22m[32m326.00 B[39m
|
|
@@ -325,6 +325,9 @@ $ tsup
|
|
|
325
325
|
[32mESM[39m [1mdist/components/ui/backoffice-alerts-chart.mjs [22m[32m559.00 B[39m
|
|
326
326
|
[32mESM[39m [1mdist/components/ui/backoffice-connections-chart.mjs [22m[32m569.00 B[39m
|
|
327
327
|
[32mESM[39m [1mdist/components/ui/appointment-book-dialog.mjs [22m[32m874.00 B[39m
|
|
328
|
+
[32mESM[39m [1mdist/components/ui/appointment-calendar-view.mjs [22m[32m423.00 B[39m
|
|
329
|
+
[32mESM[39m [1mdist/components/ui/appointment-detail-sheet.mjs [22m[32m771.00 B[39m
|
|
330
|
+
[32mESM[39m [1mdist/components/ui/appointment-gmail-connect.mjs [22m[32m353.00 B[39m
|
|
328
331
|
[32mESM[39m [1mdist/components/ui/appointment-mini-card.mjs [22m[32m275.00 B[39m
|
|
329
332
|
[32mESM[39m [1mdist/components/ui/appointment-time-slot-picker.mjs [22m[32m339.00 B[39m
|
|
330
333
|
[32mESM[39m [1mdist/components/ui/appointment-upcoming-card.mjs [22m[32m668.00 B[39m
|
|
@@ -345,39 +348,36 @@ $ tsup
|
|
|
345
348
|
[32mESM[39m [1mdist/components/ui/ai-builder.mjs [22m[32m671.00 B[39m
|
|
346
349
|
[32mESM[39m [1mdist/components/ui/ai-conversations.mjs [22m[32m1.07 KB[39m
|
|
347
350
|
[32mESM[39m [1mdist/components/ui/alert-dialog.mjs [22m[32m768.00 B[39m
|
|
348
|
-
[32mESM[39m [1mdist/components/ui/appointment-calendar-view.mjs [22m[32m423.00 B[39m
|
|
349
|
-
[32mESM[39m [1mdist/components/ui/appointment-detail-sheet.mjs [22m[32m771.00 B[39m
|
|
350
|
-
[32mESM[39m [1mdist/components/ui/appointment-gmail-connect.mjs [22m[32m353.00 B[39m
|
|
351
351
|
[32mESM[39m [1mdist/components/ui/about-you-form.mjs [22m[32m11.05 KB[39m
|
|
352
352
|
[32mESM[39m [1mdist/components/ui/accordion.mjs [22m[32m264.00 B[39m
|
|
353
353
|
[32mESM[39m [1mdist/components/ui/account-list-carousel.mjs [22m[32m275.00 B[39m
|
|
354
|
-
[32mESM[39m ⚡️ Build success in
|
|
354
|
+
[32mESM[39m ⚡️ Build success in 721ms
|
|
355
355
|
[32mCJS[39m [1mdist/lib/colors.js [22m[32m4.33 KB[39m
|
|
356
356
|
[32mCJS[39m [1mdist/lib/theme-provider.js [22m[32m8.19 KB[39m
|
|
357
357
|
[32mCJS[39m [1mdist/lib/typography.js [22m[32m5.74 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.60 KB[39m
|
|
360
|
-
[32mCJS[39m [1mdist/components/ui/accordion.js [22m[32m5.75 KB[39m
|
|
361
360
|
[32mCJS[39m [1mdist/components/ui/account-list-carousel.js [22m[32m11.56 KB[39m
|
|
362
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
361
|
+
[32mCJS[39m [1mdist/components/ui/accordion.js [22m[32m5.75 KB[39m
|
|
363
362
|
[32mCJS[39m [1mdist/components/ui/add-lead-modal.js [22m[32m39.95 KB[39m
|
|
363
|
+
[32mCJS[39m [1mdist/components/ui/add-column-modal.js [22m[32m26.57 KB[39m
|
|
364
364
|
[32mCJS[39m [1mdist/components/ui/advisor-card.js [22m[32m25.41 KB[39m
|
|
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.23 KB[39m
|
|
368
|
-
[32mCJS[39m [1mdist/components/ui/ai-conversations.js [22m[32m104.71 KB[39m
|
|
369
368
|
[32mCJS[39m [1mdist/components/ui/alert-dialog.js [22m[32m16.03 KB[39m
|
|
370
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
369
|
+
[32mCJS[39m [1mdist/components/ui/ai-conversations.js [22m[32m105.77 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-navigation-bar.js [22m[32m11.35 KB[39m
|
|
373
|
+
[32mCJS[39m [1mdist/components/ui/applicant-expenses-section.js [22m[32m17.30 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
|
-
[32mCJS[39m [1mdist/components/ui/appointment-action-dialogs.js [22m[32m46.11 KB[39m
|
|
377
376
|
[32mCJS[39m [1mdist/components/ui/appointment-availability-settings.js [22m[32m68.24 KB[39m
|
|
378
|
-
[32mCJS[39m [1mdist/components/ui/appointment-
|
|
377
|
+
[32mCJS[39m [1mdist/components/ui/appointment-action-dialogs.js [22m[32m47.45 KB[39m
|
|
379
378
|
[32mCJS[39m [1mdist/components/ui/appointment-calendar-view.js [22m[32m32.63 KB[39m
|
|
380
|
-
[32mCJS[39m [1mdist/components/ui/appointment-
|
|
379
|
+
[32mCJS[39m [1mdist/components/ui/appointment-book-dialog.js [22m[32m77.41 KB[39m
|
|
380
|
+
[32mCJS[39m [1mdist/components/ui/appointment-detail-sheet.js [22m[32m67.23 KB[39m
|
|
381
381
|
[32mCJS[39m [1mdist/components/ui/appointment-gmail-connect.js [22m[32m19.27 KB[39m
|
|
382
382
|
[32mCJS[39m [1mdist/components/ui/appointment-mini-card.js [22m[32m12.50 KB[39m
|
|
383
383
|
[32mCJS[39m [1mdist/components/ui/appointment-time-slot-picker.js [22m[32m11.33 KB[39m
|
|
@@ -396,120 +396,117 @@ $ tsup
|
|
|
396
396
|
[32mCJS[39m [1mdist/components/ui/backoffice-signup-steps.js [22m[32m71.14 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.39 KB[39m
|
|
399
|
-
[32mCJS[39m [1mdist/components/ui/bank-statement-pdf-viewer.js [22m[32m21.20 KB[39m
|
|
400
399
|
[32mCJS[39m [1mdist/components/ui/bank-statement-generate-dialog.js [22m[32m64.09 KB[39m
|
|
401
400
|
[32mCJS[39m [1mdist/components/ui/banking-accounts-connect.js [22m[32m13.77 KB[39m
|
|
402
401
|
[32mCJS[39m [1mdist/components/ui/borrowing-capacity-atoms.js [22m[32m14.71 KB[39m
|
|
403
402
|
[32mCJS[39m [1mdist/components/ui/borrowing-capacity-card.js [22m[32m31.33 KB[39m
|
|
404
403
|
[32mCJS[39m [1mdist/components/ui/broker-info-panel.js [22m[32m10.73 KB[39m
|
|
405
404
|
[32mCJS[39m [1mdist/components/ui/borrowing-capacity-line-chart.js [22m[32m23.32 KB[39m
|
|
406
|
-
[32mCJS[39m [1mdist/components/ui/button.js [22m[32m8.76 KB[39m
|
|
407
405
|
[32mCJS[39m [1mdist/components/ui/calculator-input-item.js [22m[32m3.20 KB[39m
|
|
406
|
+
[32mCJS[39m [1mdist/components/ui/button.js [22m[32m8.76 KB[39m
|
|
408
407
|
[32mCJS[39m [1mdist/components/ui/calculator-section.js [22m[32m28.15 KB[39m
|
|
409
408
|
[32mCJS[39m [1mdist/components/ui/card.js [22m[32m5.54 KB[39m
|
|
410
409
|
[32mCJS[39m [1mdist/components/ui/calendar.js [22m[32m16.87 KB[39m
|
|
411
|
-
[32mCJS[39m [1mdist/components/ui/cashflow-bar-chart.js [22m[32m22.72 KB[39m
|
|
412
410
|
[32mCJS[39m [1mdist/components/ui/cash-balance-line-chart.js [22m[32m22.28 KB[39m
|
|
411
|
+
[32mCJS[39m [1mdist/components/ui/cashflow-bar-chart.js [22m[32m22.72 KB[39m
|
|
413
412
|
[32mCJS[39m [1mdist/components/ui/category-edit-dialog.js [22m[32m28.69 KB[39m
|
|
414
413
|
[32mCJS[39m [1mdist/components/ui/chat-widget-primitives.js [22m[32m21.40 KB[39m
|
|
415
414
|
[32mCJS[39m [1mdist/components/ui/chat-widget.js [22m[32m47.89 KB[39m
|
|
416
415
|
[32mCJS[39m [1mdist/components/ui/checkbox.js [22m[32m7.11 KB[39m
|
|
417
|
-
[32mCJS[39m [1mdist/components/ui/chip.js [22m[32m11.82 KB[39m
|
|
418
416
|
[32mCJS[39m [1mdist/components/ui/color-picker.js [22m[32m19.32 KB[39m
|
|
419
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
417
|
+
[32mCJS[39m [1mdist/components/ui/chip.js [22m[32m11.82 KB[39m
|
|
420
418
|
[32mCJS[39m [1mdist/components/ui/combobox.js [22m[32m10.71 KB[39m
|
|
419
|
+
[32mCJS[39m [1mdist/components/ui/connect-bank-step.js [22m[32m20.49 KB[39m
|
|
421
420
|
[32mCJS[39m [1mdist/components/ui/create-contact-modal.js [22m[32m38.93 KB[39m
|
|
422
421
|
[32mCJS[39m [1mdist/components/ui/csv-import-modal.js [22m[32m20.84 KB[39m
|
|
423
422
|
[32mCJS[39m [1mdist/components/ui/currency-input.js [22m[32m16.27 KB[39m
|
|
424
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
423
|
+
[32mCJS[39m [1mdist/components/ui/bank-statement-pdf-viewer.js [22m[32m21.20 KB[39m
|
|
425
424
|
[32mCJS[39m [1mdist/components/ui/dashboard-expense-categories.js [22m[32m13.22 KB[39m
|
|
426
|
-
[32mCJS[39m [1mdist/components/ui/data-table.js [22m[32m41.53 KB[39m
|
|
427
425
|
[32mCJS[39m [1mdist/components/ui/date-picker.js [22m[32m23.55 KB[39m
|
|
428
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
426
|
+
[32mCJS[39m [1mdist/components/ui/dashboard-transactions-table.js [22m[32m41.31 KB[39m
|
|
429
427
|
[32mCJS[39m [1mdist/components/ui/delete-contact-component.js [22m[32m17.52 KB[39m
|
|
430
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
428
|
+
[32mCJS[39m [1mdist/components/ui/debt-accordion.js [22m[32m19.84 KB[39m
|
|
431
429
|
[32mCJS[39m [1mdist/components/ui/document-checklist-template.js [22m[32m26.15 KB[39m
|
|
430
|
+
[32mCJS[39m [1mdist/components/ui/data-table.js [22m[32m41.53 KB[39m
|
|
432
431
|
[32mCJS[39m [1mdist/components/ui/drawer.js [22m[32m8.55 KB[39m
|
|
433
432
|
[32mCJS[39m [1mdist/components/ui/dropdown-menu.js [22m[32m13.57 KB[39m
|
|
434
|
-
[32mCJS[39m [1mdist/components/ui/editable-money-item.js [22m[32m11.37 KB[39m
|
|
435
433
|
[32mCJS[39m [1mdist/components/ui/dynamic-tabs.js [22m[32m10.53 KB[39m
|
|
434
|
+
[32mCJS[39m [1mdist/components/ui/dialog.js [22m[32m16.08 KB[39m
|
|
435
|
+
[32mCJS[39m [1mdist/components/ui/editable-money-item.js [22m[32m11.37 KB[39m
|
|
436
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
|
-
[32mCJS[39m [1mdist/components/ui/field.js [22m[32m12.08 KB[39m
|
|
441
440
|
[32mCJS[39m [1mdist/components/ui/financial-cards.js [22m[32m50.63 KB[39m
|
|
442
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
441
|
+
[32mCJS[39m [1mdist/components/ui/field.js [22m[32m12.08 KB[39m
|
|
443
442
|
[32mCJS[39m [1mdist/components/ui/financial-drawers.js [22m[32m25.49 KB[39m
|
|
444
|
-
[32mCJS[39m [1mdist/components/ui/financial-primitives.js [22m[32m8.00 KB[39m
|
|
445
|
-
[32mCJS[39m [1mdist/components/ui/form-primitives.js [22m[32m23.29 KB[39m
|
|
446
443
|
[32mCJS[39m [1mdist/components/ui/financial-sections.js [22m[32m56.07 KB[39m
|
|
447
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
444
|
+
[32mCJS[39m [1mdist/components/ui/form-primitives.js [22m[32m23.29 KB[39m
|
|
445
|
+
[32mCJS[39m [1mdist/components/ui/financial-primitives.js [22m[32m8.00 KB[39m
|
|
448
446
|
[32mCJS[39m [1mdist/components/ui/income-bar-chart.js [22m[32m22.32 KB[39m
|
|
447
|
+
[32mCJS[39m [1mdist/components/ui/frontend-signup-steps.js [22m[32m47.18 KB[39m
|
|
449
448
|
[32mCJS[39m [1mdist/components/ui/income-sources-card.js [22m[32m9.81 KB[39m
|
|
450
449
|
[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
|
|
452
|
-
[32mCJS[39m [1mdist/components/ui/incoming-outgoings-card.js [22m[32m7.52 KB[39m
|
|
453
450
|
[32mCJS[39m [1mdist/components/ui/input-group.js [22m[32m16.63 KB[39m
|
|
454
451
|
[32mCJS[39m [1mdist/components/ui/input-otp.js [22m[32m6.49 KB[39m
|
|
455
452
|
[32mCJS[39m [1mdist/components/ui/input.js [22m[32m3.88 KB[39m
|
|
456
453
|
[32mCJS[39m [1mdist/components/ui/integration-card.js [22m[32m13.13 KB[39m
|
|
457
454
|
[32mCJS[39m [1mdist/components/ui/interest-rate-input.js [22m[32m16.38 KB[39m
|
|
458
|
-
[32mCJS[39m [1mdist/components/ui/interest-rate-section.js [22m[32m13.80 KB[39m
|
|
459
455
|
[32mCJS[39m [1mdist/components/ui/interest-rate-used.js [22m[32m6.83 KB[39m
|
|
460
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
456
|
+
[32mCJS[39m [1mdist/components/ui/interest-rate-section.js [22m[32m13.80 KB[39m
|
|
457
|
+
[32mCJS[39m [1mdist/components/ui/incoming-outgoings-card.js [22m[32m7.52 KB[39m
|
|
461
458
|
[32mCJS[39m [1mdist/components/ui/label.js [22m[32m3.97 KB[39m
|
|
459
|
+
[32mCJS[39m [1mdist/components/ui/income-work-details.js [22m[32m58.65 KB[39m
|
|
462
460
|
[32mCJS[39m [1mdist/components/ui/loan-applicant-information.js [22m[32m13.38 KB[39m
|
|
463
461
|
[32mCJS[39m [1mdist/components/ui/loan-application-badge.js [22m[32m8.18 KB[39m
|
|
464
462
|
[32mCJS[39m [1mdist/components/ui/loan-applicant-invite.js [22m[32m12.23 KB[39m
|
|
465
463
|
[32mCJS[39m [1mdist/components/ui/loan-entry-shell.js [22m[32m3.66 KB[39m
|
|
466
464
|
[32mCJS[39m [1mdist/components/ui/loan-application-cards.js [22m[32m14.53 KB[39m
|
|
467
|
-
[32mCJS[39m [1mdist/components/ui/loan-option-card.js [22m[32m3.10 KB[39m
|
|
468
465
|
[32mCJS[39m [1mdist/components/ui/loan-financials.js [22m[32m15.65 KB[39m
|
|
466
|
+
[32mCJS[39m [1mdist/components/ui/loan-option-card.js [22m[32m3.10 KB[39m
|
|
469
467
|
[32mCJS[39m [1mdist/components/ui/loan-option-group.js [22m[32m9.49 KB[39m
|
|
470
468
|
[32mCJS[39m [1mdist/components/ui/loan-steps.js [22m[32m39.22 KB[39m
|
|
471
469
|
[32mCJS[39m [1mdist/components/ui/loan-wizard-shell.js [22m[32m18.81 KB[39m
|
|
472
|
-
[32mCJS[39m [1mdist/components/ui/money-input-with-slider.js [22m[32m6.93 KB[39m
|
|
473
470
|
[32mCJS[39m [1mdist/components/ui/money-item-with-color-indicator.js [22m[32m11.75 KB[39m
|
|
474
|
-
[32mCJS[39m [1mdist/components/ui/
|
|
471
|
+
[32mCJS[39m [1mdist/components/ui/money-input-with-slider.js [22m[32m6.93 KB[39m
|
|
472
|
+
[32mCJS[39m [1mdist/components/ui/kanban-column.js [22m[32m67.37 KB[39m
|
|
475
473
|
[32mCJS[39m [1mdist/components/ui/opportunity-card.js [22m[32m54.35 KB[39m
|
|
474
|
+
[32mCJS[39m [1mdist/components/ui/onboarding-layout.js [22m[32m20.35 KB[39m
|
|
476
475
|
[32mCJS[39m [1mdist/components/ui/opportunity-edit-modals.js [22m[32m145.31 KB[39m
|
|
477
476
|
[32mCJS[39m [1mdist/components/ui/page-header.js [22m[32m2.79 KB[39m
|
|
478
477
|
[32mCJS[39m [1mdist/components/ui/page-top-bar.js [22m[32m2.60 KB[39m
|
|
479
478
|
[32mCJS[39m [1mdist/components/ui/pagination.js [22m[32m23.77 KB[39m
|
|
479
|
+
[32mCJS[39m [1mdist/components/ui/opportunity-summary-tab.js [22m[32m221.85 KB[39m
|
|
480
480
|
[32mCJS[39m [1mdist/components/ui/password-strength-tooltip.js [22m[32m7.05 KB[39m
|
|
481
481
|
[32mCJS[39m [1mdist/components/ui/pipeline-alerts.js [22m[32m3.53 KB[39m
|
|
482
|
-
[32mCJS[39m [1mdist/components/ui/opportunity-summary-tab.js [22m[32m221.85 KB[39m
|
|
483
482
|
[32mCJS[39m [1mdist/components/ui/pipeline-chart.js [22m[32m10.60 KB[39m
|
|
484
483
|
[32mCJS[39m [1mdist/components/ui/pipeline-board.js [22m[32m77.70 KB[39m
|
|
485
484
|
[32mCJS[39m [1mdist/components/ui/pipeline-dialogs.js [22m[32m47.90 KB[39m
|
|
486
|
-
[32mCJS[39m [1mdist/components/ui/pipeline-primitives.js [22m[32m13.90 KB[39m
|
|
487
|
-
[32mCJS[39m [1mdist/components/ui/popover.js [22m[32m6.49 KB[39m
|
|
488
485
|
[32mCJS[39m [1mdist/components/ui/progress.js [22m[32m3.94 KB[39m
|
|
486
|
+
[32mCJS[39m [1mdist/components/ui/popover.js [22m[32m6.49 KB[39m
|
|
489
487
|
[32mCJS[39m [1mdist/components/ui/property-asset-card.js [22m[32m17.81 KB[39m
|
|
490
488
|
[32mCJS[39m [1mdist/components/ui/property-cashflow-doughnut-chart.js [22m[32m19.37 KB[39m
|
|
491
489
|
[32mCJS[39m [1mdist/components/ui/property-debt-equity-doughnut-chart.js [22m[32m19.25 KB[39m
|
|
492
490
|
[32mCJS[39m [1mdist/components/ui/property-list-carousel.js [22m[32m11.25 KB[39m
|
|
491
|
+
[32mCJS[39m [1mdist/components/ui/pipeline-primitives.js [22m[32m13.90 KB[39m
|
|
493
492
|
[32mCJS[39m [1mdist/components/ui/property-mobile-estimate-line-chart.js [22m[32m23.44 KB[39m
|
|
494
493
|
[32mCJS[39m [1mdist/components/ui/radio-group.js [22m[32m7.16 KB[39m
|
|
495
|
-
[32mCJS[39m [1mdist/components/ui/property-report-dialog.js [22m[32m44.37 KB[39m
|
|
496
494
|
[32mCJS[39m [1mdist/components/ui/review-alerts-dialog.js [22m[32m22.26 KB[39m
|
|
495
|
+
[32mCJS[39m [1mdist/components/ui/property-report-dialog.js [22m[32m44.37 KB[39m
|
|
496
|
+
[32mCJS[39m [1mdist/components/ui/file-preview-dialog.js [22m[32m42.42 KB[39m
|
|
497
497
|
[32mCJS[39m [1mdist/components/ui/savings-goal-modal.js [22m[32m43.29 KB[39m
|
|
498
498
|
[32mCJS[39m [1mdist/components/ui/scenario-drawer.js [22m[32m29.79 KB[39m
|
|
499
499
|
[32mCJS[39m [1mdist/components/ui/scenario-item.js [22m[32m9.28 KB[39m
|
|
500
|
-
[32mCJS[39m [1mdist/components/ui/select.js [22m[32m11.96 KB[39m
|
|
501
500
|
[32mCJS[39m [1mdist/components/ui/scenario-list.js [22m[32m19.00 KB[39m
|
|
501
|
+
[32mCJS[39m [1mdist/components/ui/select.js [22m[32m11.96 KB[39m
|
|
502
502
|
[32mCJS[39m [1mdist/components/ui/selectable-card.js [22m[32m5.32 KB[39m
|
|
503
503
|
[32mCJS[39m [1mdist/components/ui/separator.js [22m[32m3.58 KB[39m
|
|
504
|
-
[32mCJS[39m [1mdist/components/ui/share-details-dialog.js [22m[32m37.64 KB[39m
|
|
505
|
-
[32mCJS[39m [1mdist/components/ui/sheet.js [22m[32m8.69 KB[39m
|
|
506
504
|
[32mCJS[39m [1mdist/components/ui/sidebar-nav.js [22m[32m30.59 KB[39m
|
|
507
|
-
[32mCJS[39m [1mdist/components/ui/signup-form-primitives.js [22m[32m30.19 KB[39m
|
|
508
505
|
[32mCJS[39m [1mdist/components/ui/signup-shell.js [22m[32m13.58 KB[39m
|
|
509
506
|
[32mCJS[39m [1mdist/components/ui/skeleton.js [22m[32m3.24 KB[39m
|
|
510
507
|
[32mCJS[39m [1mdist/components/ui/slider.js [22m[32m4.60 KB[39m
|
|
511
|
-
[32mCJS[39m [1mdist/components/ui/sonner.js [22m[32m3.35 KB[39m
|
|
512
508
|
[32mCJS[39m [1mdist/components/ui/spinner.js [22m[32m3.73 KB[39m
|
|
509
|
+
[32mCJS[39m [1mdist/components/ui/sonner.js [22m[32m3.35 KB[39m
|
|
513
510
|
[32mCJS[39m [1mdist/components/ui/stage-timeline.js [22m[32m24.60 KB[39m
|
|
514
511
|
[32mCJS[39m [1mdist/components/ui/stepper.js [22m[32m9.15 KB[39m
|
|
515
512
|
[32mCJS[39m [1mdist/components/ui/submission-confirmation-card.js [22m[32m10.88 KB[39m
|
|
@@ -523,13 +520,16 @@ $ tsup
|
|
|
523
520
|
[32mCJS[39m [1mdist/components/ui/top-three-product.js [22m[32m15.24 KB[39m
|
|
524
521
|
[32mCJS[39m [1mdist/components/ui/transactions-income-expense-bar-chart.js [22m[32m19.06 KB[39m
|
|
525
522
|
[32mCJS[39m [1mdist/components/ui/transactions-liabilities-breakdown-doughnut-chart.js [22m[32m19.64 KB[39m
|
|
526
|
-
[32mCJS[39m [1mdist/components/ui/transactions-expense-categories-doughnut-chart.js [22m[32m19.64 KB[39m
|
|
527
523
|
[32mCJS[39m [1mdist/components/ui/transactions-summary-block.js [22m[32m3.15 KB[39m
|
|
524
|
+
[32mCJS[39m [1mdist/components/ui/transactions-expense-categories-doughnut-chart.js [22m[32m19.64 KB[39m
|
|
528
525
|
[32mCJS[39m [1mdist/components/ui/two-fa-setup-form.js [22m[32m24.07 KB[39m
|
|
529
526
|
[32mCJS[39m [1mdist/components/ui/upload-card.js [22m[32m5.43 KB[39m
|
|
530
527
|
[32mCJS[39m [1mdist/components/ui/video-background.js [22m[32m3.25 KB[39m
|
|
531
528
|
[32mCJS[39m [1mdist/components/ui/contact-alert-dialog/index.js [22m[32m67.85 KB[39m
|
|
529
|
+
[32mCJS[39m [1mdist/components/ui/signup-form-primitives.js [22m[32m30.19 KB[39m
|
|
530
|
+
[32mCJS[39m [1mdist/components/ui/sheet.js [22m[32m8.69 KB[39m
|
|
531
|
+
[32mCJS[39m [1mdist/components/ui/share-details-dialog.js [22m[32m37.64 KB[39m
|
|
532
532
|
[32mCJS[39m [1mdist/components/ui/resource-center/index.js [22m[32m45.52 KB[39m
|
|
533
|
-
[32mCJS[39m [1mdist/index.js [22m[32m1.
|
|
534
|
-
[32mCJS[39m ⚡️ Build success in
|
|
535
|
-
Done in 4.
|
|
533
|
+
[32mCJS[39m [1mdist/index.js [22m[32m1.13 MB[39m
|
|
534
|
+
[32mCJS[39m ⚡️ Build success in 814ms
|
|
535
|
+
Done in 4.04s.
|
package/CHANGELOG.md
CHANGED
|
@@ -64,12 +64,17 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
64
64
|
function ClientSearch({
|
|
65
65
|
clients,
|
|
66
66
|
value,
|
|
67
|
-
onValueChange
|
|
67
|
+
onValueChange,
|
|
68
|
+
onSearch,
|
|
69
|
+
isSearching,
|
|
70
|
+
hasMore,
|
|
71
|
+
onLoadMore,
|
|
72
|
+
isLoadingMore
|
|
68
73
|
}) {
|
|
69
74
|
const [query, setQuery] = React.useState("");
|
|
70
75
|
const [open, setOpen] = React.useState(false);
|
|
71
76
|
const selected = clients.find((c) => c.id === value);
|
|
72
|
-
const filtered = clients.filter((c) => {
|
|
77
|
+
const filtered = onSearch ? clients : clients.filter((c) => {
|
|
73
78
|
const q = query.toLowerCase();
|
|
74
79
|
return c.name.toLowerCase().includes(q) || c.email.toLowerCase().includes(q);
|
|
75
80
|
});
|
|
@@ -79,67 +84,79 @@ function ClientSearch({
|
|
|
79
84
|
{
|
|
80
85
|
value: selected ? selected.name : query,
|
|
81
86
|
onChange: (e) => {
|
|
82
|
-
|
|
87
|
+
const v = e.target.value;
|
|
88
|
+
setQuery(v);
|
|
83
89
|
if (selected) onValueChange(void 0);
|
|
84
|
-
setOpen(
|
|
90
|
+
setOpen(v.length > 0);
|
|
91
|
+
onSearch == null ? void 0 : onSearch(v);
|
|
85
92
|
},
|
|
86
93
|
onBlur: () => setTimeout(() => setOpen(false), 150),
|
|
87
94
|
placeholder: "Search by name or email\u2026",
|
|
88
95
|
autoComplete: "off"
|
|
89
96
|
}
|
|
90
97
|
),
|
|
91
|
-
open && (filtered.length > 0 || query.length > 0) && /* @__PURE__ */ jsx("div", { className: "absolute z-50 mt-1 w-full border border-border bg-popover shadow-md", children: filtered.length === 0 ? /* @__PURE__ */ jsx("p", { className: "px-3 py-6 text-center text-sm text-muted-foreground", children: "No clients found." }) :
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
98
|
+
open && (filtered.length > 0 || query.length > 0 || isSearching) && /* @__PURE__ */ jsx("div", { className: "absolute z-50 mt-1 max-h-64 w-full overflow-y-auto border border-border bg-popover shadow-md", children: isSearching ? /* @__PURE__ */ jsx("p", { className: "px-3 py-6 text-center text-sm text-muted-foreground", children: "Searching..." }) : filtered.length === 0 ? /* @__PURE__ */ jsx("p", { className: "px-3 py-6 text-center text-sm text-muted-foreground", children: "No clients found." }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
99
|
+
filtered.map((c) => /* @__PURE__ */ jsxs(
|
|
100
|
+
Button,
|
|
101
|
+
{
|
|
102
|
+
type: "button",
|
|
103
|
+
variant: "ghost",
|
|
104
|
+
className: "h-auto w-full flex-col items-start gap-0.5 px-3 py-2 text-left hover:bg-primary/5",
|
|
105
|
+
onMouseDown: (e) => e.preventDefault(),
|
|
106
|
+
onClick: () => {
|
|
107
|
+
onValueChange(c.id);
|
|
108
|
+
setQuery("");
|
|
109
|
+
setOpen(false);
|
|
110
|
+
},
|
|
111
|
+
children: [
|
|
112
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: c.name }),
|
|
113
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs text-muted-foreground", children: c.email })
|
|
114
|
+
]
|
|
102
115
|
},
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
116
|
+
c.id
|
|
117
|
+
)),
|
|
118
|
+
hasMore && onLoadMore && /* @__PURE__ */ jsx(
|
|
119
|
+
Button,
|
|
120
|
+
{
|
|
121
|
+
type: "button",
|
|
122
|
+
variant: "ghost",
|
|
123
|
+
size: "sm",
|
|
124
|
+
className: "w-full text-sm text-primary",
|
|
125
|
+
disabled: isLoadingMore,
|
|
126
|
+
onMouseDown: (e) => e.preventDefault(),
|
|
127
|
+
onClick: onLoadMore,
|
|
128
|
+
children: isLoadingMore ? "Loading..." : "Load more"
|
|
129
|
+
}
|
|
130
|
+
)
|
|
131
|
+
] }) })
|
|
110
132
|
] });
|
|
111
133
|
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
134
|
+
function getFormatOptions(platform) {
|
|
135
|
+
const call = {
|
|
136
|
+
value: "call",
|
|
137
|
+
label: "Call",
|
|
138
|
+
icon: /* @__PURE__ */ jsx(Phone, { className: "h-4 w-4" })
|
|
139
|
+
};
|
|
140
|
+
const googleMeet = {
|
|
115
141
|
value: "google-meet",
|
|
116
142
|
label: "Google Meet",
|
|
117
143
|
icon: /* @__PURE__ */ jsx(Video, { className: "h-4 w-4" })
|
|
118
|
-
}
|
|
119
|
-
{
|
|
144
|
+
};
|
|
145
|
+
const msTeams = {
|
|
120
146
|
value: "microsoft-teams",
|
|
121
147
|
label: "MS Teams",
|
|
122
148
|
icon: /* @__PURE__ */ jsx(Users, { className: "h-4 w-4" })
|
|
123
|
-
}
|
|
124
|
-
{
|
|
125
|
-
value: "offline",
|
|
126
|
-
label: "Offline",
|
|
127
|
-
icon: /* @__PURE__ */ jsx(MapPin, { className: "h-4 w-4" })
|
|
128
|
-
}
|
|
129
|
-
];
|
|
130
|
-
var CLIENT_FORMAT_OPTIONS = [
|
|
131
|
-
{ value: "call", label: "Call", icon: /* @__PURE__ */ jsx(Phone, { className: "h-4 w-4" }) },
|
|
132
|
-
{
|
|
133
|
-
value: "online",
|
|
134
|
-
label: "Online Meeting",
|
|
135
|
-
icon: /* @__PURE__ */ jsx(Video, { className: "h-4 w-4" })
|
|
136
|
-
},
|
|
137
|
-
{
|
|
149
|
+
};
|
|
150
|
+
const offline = {
|
|
138
151
|
value: "offline",
|
|
139
152
|
label: "Offline Meeting",
|
|
140
153
|
icon: /* @__PURE__ */ jsx(MapPin, { className: "h-4 w-4" })
|
|
141
|
-
}
|
|
142
|
-
];
|
|
154
|
+
};
|
|
155
|
+
if (platform === "google-meet") return [call, googleMeet, offline];
|
|
156
|
+
if (platform === "microsoft-teams") return [call, msTeams, offline];
|
|
157
|
+
if (platform === "any") return [call, googleMeet, msTeams, offline];
|
|
158
|
+
return [call, offline];
|
|
159
|
+
}
|
|
143
160
|
function MeetingFormatSection({
|
|
144
161
|
format,
|
|
145
162
|
onFormatChange,
|
|
@@ -269,6 +286,11 @@ function AppointmentBookDialog({
|
|
|
269
286
|
open,
|
|
270
287
|
onOpenChange,
|
|
271
288
|
clients = [],
|
|
289
|
+
onSearchClients,
|
|
290
|
+
isSearchingClients,
|
|
291
|
+
hasMoreClients,
|
|
292
|
+
onLoadMoreClients,
|
|
293
|
+
isLoadingMoreClients,
|
|
272
294
|
meetingTypes = [],
|
|
273
295
|
amSlots,
|
|
274
296
|
pmSlots,
|
|
@@ -279,11 +301,12 @@ function AppointmentBookDialog({
|
|
|
279
301
|
advisorInfo,
|
|
280
302
|
initialClientId,
|
|
281
303
|
defaultMeetingFormat,
|
|
304
|
+
onlinePlatform,
|
|
282
305
|
guestInfo,
|
|
283
306
|
onBook
|
|
284
307
|
}) {
|
|
285
308
|
var _a, _b, _c;
|
|
286
|
-
const isClientMode = clients.length === 0;
|
|
309
|
+
const isClientMode = clients.length === 0 && !onSearchClients;
|
|
287
310
|
const showGuestForm = isClientMode && !((guestInfo == null ? void 0 : guestInfo.name) && (guestInfo == null ? void 0 : guestInfo.email));
|
|
288
311
|
const disabledDayOfWeek = React.useMemo(
|
|
289
312
|
() => schedule == null ? void 0 : schedule.filter((d) => !d.enabled).map((d) => DAY_MAP[d.day]).filter((n) => n !== void 0),
|
|
@@ -375,7 +398,12 @@ function AppointmentBookDialog({
|
|
|
375
398
|
{
|
|
376
399
|
clients,
|
|
377
400
|
value: clientId,
|
|
378
|
-
onValueChange: setClientId
|
|
401
|
+
onValueChange: setClientId,
|
|
402
|
+
onSearch: onSearchClients,
|
|
403
|
+
isSearching: isSearchingClients,
|
|
404
|
+
hasMore: hasMoreClients,
|
|
405
|
+
onLoadMore: onLoadMoreClients,
|
|
406
|
+
isLoadingMore: isLoadingMoreClients
|
|
379
407
|
}
|
|
380
408
|
)
|
|
381
409
|
] }),
|
|
@@ -433,7 +461,7 @@ function AppointmentBookDialog({
|
|
|
433
461
|
)
|
|
434
462
|
] })
|
|
435
463
|
] }),
|
|
436
|
-
|
|
464
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1.5", children: [
|
|
437
465
|
/* @__PURE__ */ jsx(Label, { children: "Meeting format" }),
|
|
438
466
|
/* @__PURE__ */ jsx(
|
|
439
467
|
MeetingFormatSection,
|
|
@@ -447,7 +475,7 @@ function AppointmentBookDialog({
|
|
|
447
475
|
advisorOfficeAddress,
|
|
448
476
|
clientHomeAddress,
|
|
449
477
|
isClientMode,
|
|
450
|
-
formatOptions:
|
|
478
|
+
formatOptions: getFormatOptions(onlinePlatform)
|
|
451
479
|
}
|
|
452
480
|
)
|
|
453
481
|
] }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AppointmentConfirmDialog,
|
|
3
3
|
AppointmentRescheduleDialog
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZSMQZ3VN.mjs";
|
|
5
5
|
import {
|
|
6
6
|
Sheet,
|
|
7
7
|
SheetContent
|
|
@@ -86,6 +86,9 @@ function AppointmentDetailSheet({
|
|
|
86
86
|
clientProfile,
|
|
87
87
|
amSlots,
|
|
88
88
|
pmSlots,
|
|
89
|
+
onDateChange,
|
|
90
|
+
schedule,
|
|
91
|
+
isLoadingSlots,
|
|
89
92
|
onAccept,
|
|
90
93
|
onDecline,
|
|
91
94
|
onReschedule,
|
|
@@ -286,6 +289,9 @@ function AppointmentDetailSheet({
|
|
|
286
289
|
currentDate: appointment.date,
|
|
287
290
|
currentTimeStart: appointment.timeStart,
|
|
288
291
|
currentTimeEnd: appointment.timeEnd,
|
|
292
|
+
onDateChange,
|
|
293
|
+
schedule,
|
|
294
|
+
isLoadingSlots,
|
|
289
295
|
onReschedule: (date, slot, note) => {
|
|
290
296
|
onReschedule == null ? void 0 : onReschedule(appointment.id, date, slot, note);
|
|
291
297
|
setRescheduleOpen(false);
|