@wealthx/shadcn 1.5.42 → 1.5.43
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 +215 -210
- package/CHANGELOG.md +6 -0
- package/dist/{chunk-5FHBC6DY.mjs → chunk-33WZ5NCW.mjs} +1 -1
- package/dist/{chunk-C35JMOII.mjs → chunk-3G6JUYRE.mjs} +4 -4
- package/dist/{chunk-LBXIYS34.mjs → chunk-4PVCJ3JD.mjs} +1 -1
- package/dist/{chunk-EHQL64B7.mjs → chunk-4SUXTO2Z.mjs} +4 -4
- package/dist/{chunk-BAONSY54.mjs → chunk-5RYH7SOQ.mjs} +1 -1
- package/dist/{chunk-3C4DZTGA.mjs → chunk-5XD7A7YC.mjs} +1 -1
- package/dist/{chunk-5DAQU3B6.mjs → chunk-66JXT7NY.mjs} +1 -1
- package/dist/{chunk-NGKTJRFN.mjs → chunk-6DO4EGT2.mjs} +2 -2
- package/dist/{chunk-C7ZTZTEW.mjs → chunk-6XJWL2E5.mjs} +1 -1
- package/dist/{chunk-FQUT5XD6.mjs → chunk-A4UP4QFB.mjs} +1 -1
- package/dist/{chunk-USIRKDYQ.mjs → chunk-BFCX7ADE.mjs} +1 -1
- package/dist/{chunk-XGRSPFFC.mjs → chunk-CQHKU24Z.mjs} +1 -1
- package/dist/{chunk-HONTZFLO.mjs → chunk-DP4ER6TJ.mjs} +1 -1
- package/dist/{chunk-VLVEZHFE.mjs → chunk-EFSLAMHI.mjs} +4 -4
- package/dist/{chunk-FYZBGWYR.mjs → chunk-FVSOFXJQ.mjs} +1 -1
- package/dist/{chunk-JUMEIPII.mjs → chunk-G2MOZZPE.mjs} +8 -8
- package/dist/{chunk-D3HKFRQO.mjs → chunk-GQWKBESP.mjs} +8 -5
- package/dist/{chunk-MD66TGX7.mjs → chunk-GXDKWCMV.mjs} +1 -1
- package/dist/{chunk-77L3UPBW.mjs → chunk-H7NOUDU3.mjs} +5 -5
- package/dist/{chunk-4LLTZ45R.mjs → chunk-HOXTEU5K.mjs} +8 -7
- package/dist/{chunk-ZA37ZWZW.mjs → chunk-IXW77PMI.mjs} +7 -7
- package/dist/{chunk-XHZONBL4.mjs → chunk-JLEQU5BO.mjs} +1 -1
- package/dist/{chunk-6UKOJLXO.mjs → chunk-JSFWRD7K.mjs} +4 -4
- package/dist/{chunk-7PTRHNUV.mjs → chunk-JY3FUGNL.mjs} +1 -1
- package/dist/{chunk-3ZU5BH6X.mjs → chunk-KEOAPKJO.mjs} +3 -3
- package/dist/{chunk-4QTHK7ML.mjs → chunk-KWYFJQV6.mjs} +1 -1
- package/dist/{chunk-FGMDBJCF.mjs → chunk-LDPCSE7J.mjs} +4 -4
- package/dist/chunk-LFWNKXZU.mjs +109 -0
- package/dist/{chunk-IRZWYTGV.mjs → chunk-M32YSAWL.mjs} +8 -7
- package/dist/{chunk-LLAGF6BA.mjs → chunk-MUB2G36A.mjs} +1 -1
- package/dist/{chunk-DQNNP6I4.mjs → chunk-NIETQFJQ.mjs} +1 -1
- package/dist/{chunk-RUX3OLVZ.mjs → chunk-OTFG57ZF.mjs} +1 -1
- package/dist/{chunk-OKIWXOJL.mjs → chunk-OWTW5WAJ.mjs} +1 -1
- package/dist/{chunk-WWIWRNBK.mjs → chunk-P7NSCTAW.mjs} +1 -1
- package/dist/{chunk-BZWQU52U.mjs → chunk-QZREZL2F.mjs} +1 -1
- package/dist/{chunk-E432NK23.mjs → chunk-RBQ4BZUV.mjs} +6 -6
- package/dist/{chunk-I2EKKSEF.mjs → chunk-RKBLVNDC.mjs} +4 -7
- package/dist/{chunk-LHQACMZY.mjs → chunk-SPPQFW32.mjs} +106 -50
- package/dist/{chunk-OSSS56CB.mjs → chunk-SUXJWKRI.mjs} +4 -4
- package/dist/{chunk-SCGCGVDN.mjs → chunk-SZXIPE5J.mjs} +1 -1
- package/dist/{chunk-VVURVETY.mjs → chunk-TOQRA2TD.mjs} +1 -1
- package/dist/{chunk-GYWOD2YI.mjs → chunk-TZSDYQFH.mjs} +4 -4
- package/dist/{chunk-S7SBLNX4.mjs → chunk-UB3WG6I4.mjs} +1 -1
- package/dist/{chunk-PGJRZHN7.mjs → chunk-UVZ3JWFG.mjs} +1 -1
- package/dist/{chunk-UD5UF5OC.mjs → chunk-W7OPFKTZ.mjs} +4 -4
- package/dist/{chunk-YEWNFK5S.mjs → chunk-WLXP4OOF.mjs} +5 -5
- package/dist/{chunk-ORMC3TV3.mjs → chunk-XYXYTTNW.mjs} +1 -1
- package/dist/{chunk-CZOGJC76.mjs → chunk-YACFZWRR.mjs} +7 -7
- package/dist/{chunk-UTCW5YUX.mjs → chunk-YPATB6YQ.mjs} +9 -9
- package/dist/{chunk-BZGFW6L7.mjs → chunk-YWJAIPUA.mjs} +1 -1
- package/dist/{chunk-MHBQJVHE.mjs → chunk-Z65BGSHI.mjs} +5 -5
- package/dist/{chunk-PCULNQWA.mjs → chunk-ZGSFRUVI.mjs} +3 -3
- package/dist/{chunk-7NQKFPXE.mjs → chunk-ZRYG6ICN.mjs} +1 -1
- package/dist/{chunk-ZFKAYRFQ.mjs → chunk-ZUHFYW65.mjs} +1 -1
- package/dist/components/ui/about-you-form.mjs +2 -2
- package/dist/components/ui/account-list-carousel.mjs +2 -2
- package/dist/components/ui/add-column-modal.mjs +4 -4
- package/dist/components/ui/add-lead-modal.mjs +4 -4
- package/dist/components/ui/advisor-card.mjs +2 -2
- package/dist/components/ui/ai-assistant-drawer.mjs +2 -2
- package/dist/components/ui/ai-builder/index.mjs +4 -4
- package/dist/components/ui/ai-conversations/index.mjs +4 -4
- package/dist/components/ui/alert-dialog.mjs +3 -3
- package/dist/components/ui/applicant-expenses-section.mjs +1 -1
- package/dist/components/ui/appointment-action-dialogs.mjs +5 -5
- package/dist/components/ui/appointment-availability-settings.mjs +4 -4
- package/dist/components/ui/appointment-book-dialog.mjs +4 -4
- package/dist/components/ui/appointment-detail-sheet.mjs +6 -6
- package/dist/components/ui/appointment-upcoming-card.mjs +4 -4
- package/dist/components/ui/asset-accordion.mjs +7 -7
- package/dist/components/ui/assets-liabilities-side-card.js +19 -66
- package/dist/components/ui/assets-liabilities-side-card.mjs +22 -69
- package/dist/components/ui/backoffice-alert-history-chart.js +1 -1
- package/dist/components/ui/backoffice-alert-history-chart.mjs +5 -5
- package/dist/components/ui/backoffice-alert-matching-chart.js +1 -1
- package/dist/components/ui/backoffice-alert-matching-chart.mjs +5 -5
- package/dist/components/ui/backoffice-alerts-chart.js +1 -1
- package/dist/components/ui/backoffice-alerts-chart.mjs +5 -5
- package/dist/components/ui/backoffice-connections-chart.js +1 -1
- package/dist/components/ui/backoffice-connections-chart.mjs +5 -5
- package/dist/components/ui/backoffice-contact-history-chart.js +1 -1
- package/dist/components/ui/backoffice-contact-history-chart.mjs +5 -5
- package/dist/components/ui/backoffice-contact-matching-chart.js +1 -1
- package/dist/components/ui/backoffice-contact-matching-chart.mjs +5 -5
- package/dist/components/ui/backoffice-signup-steps.mjs +4 -4
- package/dist/components/ui/bank-statement-generate-dialog.mjs +4 -4
- package/dist/components/ui/bank-statement-pdf-viewer.mjs +4 -4
- package/dist/components/ui/borrowing-capacity-atoms.js +3 -6
- package/dist/components/ui/borrowing-capacity-atoms.mjs +2 -2
- package/dist/components/ui/borrowing-capacity-card.js +5 -5
- package/dist/components/ui/borrowing-capacity-card.mjs +6 -6
- package/dist/components/ui/borrowing-capacity-line-chart.js +5 -5
- package/dist/components/ui/borrowing-capacity-line-chart.mjs +5 -5
- package/dist/components/ui/calculator-section.mjs +4 -4
- package/dist/components/ui/cash-balance-line-chart.js +102 -46
- package/dist/components/ui/cash-balance-line-chart.mjs +5 -5
- package/dist/components/ui/cashflow-bar-chart.js +7 -4
- package/dist/components/ui/cashflow-bar-chart.mjs +5 -5
- package/dist/components/ui/category-edit-dialog.mjs +4 -4
- package/dist/components/ui/color-picker.mjs +2 -2
- package/dist/components/ui/contact-alert-dialog/index.mjs +4 -4
- package/dist/components/ui/create-contact-modal.mjs +4 -4
- package/dist/components/ui/csv-import-modal.mjs +4 -4
- package/dist/components/ui/dashboard-expense-categories.js +96 -63
- package/dist/components/ui/dashboard-expense-categories.mjs +101 -66
- package/dist/components/ui/dashboard-transactions-table.js +37 -44
- package/dist/components/ui/dashboard-transactions-table.mjs +45 -52
- package/dist/components/ui/data-table.mjs +2 -2
- package/dist/components/ui/date-picker.mjs +2 -2
- package/dist/components/ui/debt-accordion.mjs +7 -7
- package/dist/components/ui/delete-contact-component.mjs +4 -4
- package/dist/components/ui/dialog.mjs +3 -3
- package/dist/components/ui/document-checklist-template.mjs +2 -2
- package/dist/components/ui/expense-bar-chart.js +8 -7
- package/dist/components/ui/expense-bar-chart.mjs +5 -5
- package/dist/components/ui/expense-categories-bar.js +261 -0
- package/dist/components/ui/expense-categories-bar.mjs +12 -0
- package/dist/components/ui/expense-work-details.js +8 -7
- package/dist/components/ui/expense-work-details.mjs +7 -7
- package/dist/components/ui/file-preview-dialog.mjs +4 -4
- package/dist/components/ui/financial-cards.mjs +2 -2
- package/dist/components/ui/financial-drawers.mjs +2 -2
- package/dist/components/ui/financial-sections.mjs +3 -3
- package/dist/components/ui/frontend-signup-steps.mjs +2 -2
- package/dist/components/ui/income-bar-chart.js +8 -7
- package/dist/components/ui/income-bar-chart.mjs +5 -5
- package/dist/components/ui/income-sources-card.mjs +1 -1
- package/dist/components/ui/income-summary-component.mjs +1 -1
- package/dist/components/ui/income-work-details.js +8 -7
- package/dist/components/ui/income-work-details.mjs +6 -6
- package/dist/components/ui/incoming-outgoings-card.js +2 -2
- package/dist/components/ui/incoming-outgoings-card.mjs +3 -3
- package/dist/components/ui/interest-rate-section.mjs +1 -1
- package/dist/components/ui/kanban-column.mjs +5 -5
- package/dist/components/ui/loan-application-cards.mjs +3 -3
- package/dist/components/ui/loan-financials.mjs +3 -3
- package/dist/components/ui/money-input-with-slider.mjs +2 -2
- package/dist/components/ui/opportunity-card.mjs +4 -4
- package/dist/components/ui/opportunity-edit-modals.mjs +4 -4
- package/dist/components/ui/opportunity-summary-tab.mjs +8 -8
- package/dist/components/ui/pagination.mjs +2 -2
- package/dist/components/ui/pipeline-board.mjs +6 -6
- package/dist/components/ui/pipeline-chart.mjs +2 -2
- package/dist/components/ui/pipeline-dialogs.mjs +4 -4
- package/dist/components/ui/policy-ai/index.mjs +2 -2
- package/dist/components/ui/property-asset-card.mjs +4 -4
- package/dist/components/ui/property-cashflow-doughnut-chart.js +3 -3
- package/dist/components/ui/property-cashflow-doughnut-chart.mjs +5 -5
- package/dist/components/ui/property-debt-equity-doughnut-chart.js +3 -3
- package/dist/components/ui/property-debt-equity-doughnut-chart.mjs +5 -5
- package/dist/components/ui/property-list-carousel.mjs +2 -2
- package/dist/components/ui/property-mobile-estimate-line-chart.js +4 -4
- package/dist/components/ui/property-mobile-estimate-line-chart.mjs +5 -5
- package/dist/components/ui/property-report-dialog.mjs +5 -5
- package/dist/components/ui/resource-center/index.mjs +4 -4
- package/dist/components/ui/review-alerts-dialog.mjs +4 -4
- package/dist/components/ui/savings-goal-modal.mjs +7 -7
- package/dist/components/ui/scenario-drawer.mjs +4 -4
- package/dist/components/ui/scenario-list.js +4 -7
- package/dist/components/ui/scenario-list.mjs +5 -5
- package/dist/components/ui/share-details-dialog.mjs +4 -4
- package/dist/components/ui/sidebar-nav.mjs +4 -4
- package/dist/components/ui/signup-form-primitives.mjs +2 -2
- package/dist/components/ui/stage-timeline.mjs +1 -1
- package/dist/components/ui/support-agent/index.mjs +2 -2
- package/dist/components/ui/top-three-product.mjs +1 -1
- package/dist/components/ui/transactions-expense-categories-doughnut-chart.js +3 -3
- package/dist/components/ui/transactions-expense-categories-doughnut-chart.mjs +5 -5
- package/dist/components/ui/transactions-income-expense-bar-chart.mjs +5 -5
- package/dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.js +4 -4
- package/dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.mjs +5 -5
- package/dist/components/ui/transactions-summary-block.js +13 -0
- package/dist/components/ui/transactions-summary-block.mjs +13 -0
- package/dist/index.js +2092 -1935
- package/dist/index.mjs +138 -134
- package/dist/lib/format-currency.js +54 -0
- package/dist/lib/format-currency.mjs +9 -0
- package/dist/styles.css +1 -1
- package/package.json +6 -1
- package/src/component-descriptions/assets-liabilities-side-card.md +19 -0
- package/src/component-descriptions/pipeline-chart.md +17 -0
- package/src/components/index.tsx +6 -0
- package/src/components/ui/assets-liabilities-side-card.tsx +43 -83
- package/src/components/ui/borrowing-capacity-atoms.tsx +4 -7
- package/src/components/ui/borrowing-capacity-line-chart.tsx +4 -4
- package/src/components/ui/cash-balance-line-chart.tsx +123 -42
- package/src/components/ui/cashflow-bar-chart.tsx +7 -4
- package/src/components/ui/chart-shared.tsx +4 -4
- package/src/components/ui/dashboard-expense-categories.tsx +136 -60
- package/src/components/ui/dashboard-transactions-table.tsx +42 -28
- package/src/components/ui/expense-bar-chart.tsx +32 -19
- package/src/components/ui/expense-categories-bar.tsx +178 -0
- package/src/components/ui/income-bar-chart.tsx +32 -19
- package/src/components/ui/incoming-outgoings-card.tsx +2 -2
- package/src/components/ui/property-mobile-estimate-line-chart.tsx +4 -4
- package/src/components/ui/scenario-list.tsx +2 -2
- package/src/components/ui/transactions-liabilities-breakdown-doughnut-chart.tsx +7 -5
- package/src/components/ui/transactions-summary-block.tsx +39 -6
- package/src/styles/styles-css.ts +1 -1
- package/tsup.config.ts +2 -0
- package/dist/{chunk-CEYEK3TI.mjs → chunk-B4R62ID3.mjs} +3 -3
- package/dist/{chunk-7LN5OGC2.mjs → chunk-E3VAK4EB.mjs} +3 -3
- package/dist/{chunk-EY36WDCF.mjs → chunk-EEZFXE3P.mjs} +3 -3
- package/dist/{chunk-T5FRVEJQ.mjs → chunk-JTMN36BK.mjs} +3 -3
- /package/dist/{chunk-MN5NYQCL.mjs → chunk-XQDTFNVL.mjs} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
DialogContent,
|
|
7
7
|
DialogHeader,
|
|
8
8
|
DialogTitle
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JTMN36BK.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Input
|
|
12
12
|
} from "./chunk-LBTHZSBT.mjs";
|
|
13
|
+
import {
|
|
14
|
+
Button
|
|
15
|
+
} from "./chunk-NOOEKOWY.mjs";
|
|
13
16
|
import {
|
|
14
17
|
Accordion,
|
|
15
18
|
AccordionContent,
|
|
16
19
|
AccordionItem,
|
|
17
20
|
AccordionTrigger
|
|
18
21
|
} from "./chunk-UNACI2YK.mjs";
|
|
19
|
-
import {
|
|
20
|
-
Button
|
|
21
|
-
} from "./chunk-NOOEKOWY.mjs";
|
|
22
22
|
import {
|
|
23
23
|
cn
|
|
24
24
|
} from "./chunk-AFML43VJ.mjs";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
DebtCard,
|
|
4
4
|
OtherLiabilityCard,
|
|
5
5
|
PropertyCard
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-E3VAK4EB.mjs";
|
|
7
7
|
import {
|
|
8
8
|
FinancialCardHeader,
|
|
9
9
|
FinancialDetailField,
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
Separator
|
|
17
17
|
} from "./chunk-2GIYVERS.mjs";
|
|
18
|
+
import {
|
|
19
|
+
Button
|
|
20
|
+
} from "./chunk-NOOEKOWY.mjs";
|
|
18
21
|
import {
|
|
19
22
|
Accordion,
|
|
20
23
|
AccordionContent,
|
|
21
24
|
AccordionItem,
|
|
22
25
|
AccordionTrigger
|
|
23
26
|
} from "./chunk-UNACI2YK.mjs";
|
|
24
|
-
import {
|
|
25
|
-
Button
|
|
26
|
-
} from "./chunk-NOOEKOWY.mjs";
|
|
27
27
|
import {
|
|
28
28
|
__spreadProps,
|
|
29
29
|
__spreadValues
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
DialogFooter,
|
|
10
10
|
DialogHeader,
|
|
11
11
|
DialogTitle
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JTMN36BK.mjs";
|
|
13
13
|
import {
|
|
14
14
|
Separator
|
|
15
15
|
} from "./chunk-2GIYVERS.mjs";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
AlertDialogFooter,
|
|
26
26
|
AlertDialogHeader,
|
|
27
27
|
AlertDialogTitle
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-B4R62ID3.mjs";
|
|
29
29
|
import {
|
|
30
30
|
Calendar
|
|
31
31
|
} from "./chunk-FBNEIYSE.mjs";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
DoughnutLegendRow,
|
|
6
6
|
FALLBACK_PRIMARY,
|
|
7
7
|
FALLBACK_SECONDARY
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WLXP4OOF.mjs";
|
|
9
9
|
import {
|
|
10
10
|
Empty,
|
|
11
11
|
EmptyDescription
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
CardHeader,
|
|
17
17
|
CardTitle
|
|
18
18
|
} from "./chunk-3VDET466.mjs";
|
|
19
|
+
import {
|
|
20
|
+
formatCurrencyAbbrev
|
|
21
|
+
} from "./chunk-XQDTFNVL.mjs";
|
|
19
22
|
import {
|
|
20
23
|
useThemeVars
|
|
21
24
|
} from "./chunk-XYSRRDBH.mjs";
|
|
22
|
-
import {
|
|
23
|
-
formatCurrencyAbbrev
|
|
24
|
-
} from "./chunk-MN5NYQCL.mjs";
|
|
25
25
|
import {
|
|
26
26
|
cn
|
|
27
27
|
} from "./chunk-AFML43VJ.mjs";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
FALLBACK_TICK,
|
|
11
11
|
formatMonthLabel,
|
|
12
12
|
formatTooltipDate
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WLXP4OOF.mjs";
|
|
14
14
|
import {
|
|
15
15
|
Empty,
|
|
16
16
|
EmptyDescription
|
|
@@ -22,12 +22,12 @@ import {
|
|
|
22
22
|
CardHeader,
|
|
23
23
|
CardTitle
|
|
24
24
|
} from "./chunk-3VDET466.mjs";
|
|
25
|
+
import {
|
|
26
|
+
formatCurrencyAbbrev
|
|
27
|
+
} from "./chunk-XQDTFNVL.mjs";
|
|
25
28
|
import {
|
|
26
29
|
useThemeVars
|
|
27
30
|
} from "./chunk-XYSRRDBH.mjs";
|
|
28
|
-
import {
|
|
29
|
-
formatCurrencyAbbrev
|
|
30
|
-
} from "./chunk-MN5NYQCL.mjs";
|
|
31
31
|
import {
|
|
32
32
|
cn
|
|
33
33
|
} from "./chunk-AFML43VJ.mjs";
|
|
@@ -241,7 +241,7 @@ function PropertyMobileEstimateLineChart({
|
|
|
241
241
|
maxRotation: 0,
|
|
242
242
|
minRotation: 0,
|
|
243
243
|
color: FALLBACK_TICK,
|
|
244
|
-
font: { size:
|
|
244
|
+
font: { size: 12, family: fontFamily },
|
|
245
245
|
maxTicksLimit: 12
|
|
246
246
|
}
|
|
247
247
|
},
|
|
@@ -254,13 +254,13 @@ function PropertyMobileEstimateLineChart({
|
|
|
254
254
|
padding: 8,
|
|
255
255
|
maxTicksLimit: 5,
|
|
256
256
|
color: FALLBACK_TICK,
|
|
257
|
-
font: { size:
|
|
257
|
+
font: { size: 12, family: fontFamily },
|
|
258
258
|
callback: (v) => formatCurrencyAbbrev(Number(v))
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
}),
|
|
263
|
-
[showXAxis, showYAxis, sliced]
|
|
263
|
+
[showXAxis, showYAxis, sliced, fontFamily]
|
|
264
264
|
);
|
|
265
265
|
return /* @__PURE__ */ jsxs(
|
|
266
266
|
Card,
|
|
@@ -269,7 +269,7 @@ function PropertyMobileEstimateLineChart({
|
|
|
269
269
|
style: { maxWidth: width, fontFamily },
|
|
270
270
|
children: [
|
|
271
271
|
/* @__PURE__ */ jsxs(CardHeader, { className: "px-3 sm:px-6", children: [
|
|
272
|
-
/* @__PURE__ */ jsx(CardTitle, { className: "text-xs font-semibold uppercase tracking-
|
|
272
|
+
/* @__PURE__ */ jsx(CardTitle, { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: title }),
|
|
273
273
|
showPeriodSelector && /* @__PURE__ */ jsx(CardAction, { children: /* @__PURE__ */ jsx("div", { className: "flex gap-0.5 sm:gap-1", children: PROPERTY_PERIODS.map((p) => /* @__PURE__ */ jsx(
|
|
274
274
|
ChartPeriodButton,
|
|
275
275
|
{
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
FALLBACK_TICK,
|
|
9
9
|
formatTooltipDate,
|
|
10
10
|
hexToRgba
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WLXP4OOF.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Empty,
|
|
14
14
|
EmptyDescription
|
|
@@ -233,14 +233,17 @@ function CashflowBarChart({
|
|
|
233
233
|
display: showXAxis,
|
|
234
234
|
grid: { display: false },
|
|
235
235
|
border: { display: false },
|
|
236
|
-
ticks: {
|
|
236
|
+
ticks: {
|
|
237
|
+
font: { size: 12, family: fontFamily },
|
|
238
|
+
color: FALLBACK_TICK
|
|
239
|
+
}
|
|
237
240
|
},
|
|
238
241
|
y: {
|
|
239
242
|
display: showYAxis,
|
|
240
243
|
grid: { display: false },
|
|
241
244
|
border: { display: false },
|
|
242
245
|
ticks: {
|
|
243
|
-
font: { size:
|
|
246
|
+
font: { size: 12, family: fontFamily },
|
|
244
247
|
color: FALLBACK_TICK,
|
|
245
248
|
maxTicksLimit: 5,
|
|
246
249
|
padding: 8,
|
|
@@ -249,7 +252,7 @@ function CashflowBarChart({
|
|
|
249
252
|
}
|
|
250
253
|
}
|
|
251
254
|
}),
|
|
252
|
-
[showXAxis, showYAxis, sliced]
|
|
255
|
+
[showXAxis, showYAxis, sliced, fontFamily]
|
|
253
256
|
);
|
|
254
257
|
return /* @__PURE__ */ jsxs(
|
|
255
258
|
Card,
|
|
@@ -258,7 +261,7 @@ function CashflowBarChart({
|
|
|
258
261
|
style: { maxWidth: width, fontFamily },
|
|
259
262
|
children: [
|
|
260
263
|
/* @__PURE__ */ jsxs(CardHeader, { className: "px-3 sm:px-6", children: [
|
|
261
|
-
/* @__PURE__ */ jsx(CardTitle, { className: "text-xs font-semibold uppercase tracking-
|
|
264
|
+
/* @__PURE__ */ jsx(CardTitle, { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: title }),
|
|
262
265
|
showPeriodSelector && /* @__PURE__ */ jsx(CardAction, { children: /* @__PURE__ */ jsx("div", { className: "flex gap-0.5 sm:gap-1", children: PERIODS.map((p) => /* @__PURE__ */ jsx(
|
|
263
266
|
ChartPeriodButton,
|
|
264
267
|
{
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
DoughnutLegendRow,
|
|
7
7
|
FALLBACK_PRIMARY,
|
|
8
8
|
hexToRgba
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WLXP4OOF.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Empty,
|
|
12
12
|
EmptyDescription
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
CardHeader,
|
|
18
18
|
CardTitle
|
|
19
19
|
} from "./chunk-3VDET466.mjs";
|
|
20
|
+
import {
|
|
21
|
+
formatCurrencyAbbrev
|
|
22
|
+
} from "./chunk-XQDTFNVL.mjs";
|
|
20
23
|
import {
|
|
21
24
|
useThemeVars
|
|
22
25
|
} from "./chunk-XYSRRDBH.mjs";
|
|
23
|
-
import {
|
|
24
|
-
formatCurrencyAbbrev
|
|
25
|
-
} from "./chunk-MN5NYQCL.mjs";
|
|
26
26
|
import {
|
|
27
27
|
cn
|
|
28
28
|
} from "./chunk-AFML43VJ.mjs";
|
|
@@ -112,7 +112,7 @@ function TransactionsLiabilitiesBreakdownChart({
|
|
|
112
112
|
className: cn("w-full py-4 sm:py-6 gap-2", className),
|
|
113
113
|
style: { maxWidth: width, fontFamily },
|
|
114
114
|
children: [
|
|
115
|
-
/* @__PURE__ */ jsx(CardHeader, { className: "px-3 sm:px-6", children: /* @__PURE__ */ jsx(CardTitle, { className: "text-xs font-semibold uppercase tracking-wide", children: title }) }),
|
|
115
|
+
title && /* @__PURE__ */ jsx(CardHeader, { className: "px-3 sm:px-6", children: /* @__PURE__ */ jsx(CardTitle, { className: "text-xs font-semibold uppercase tracking-wide", children: title }) }),
|
|
116
116
|
/* @__PURE__ */ jsx(CardContent, { className: "px-3 sm:px-6", children: isLoading ? /* @__PURE__ */ jsx(Skeleton, { style: { height, width: "100%" } }) : !hasData ? /* @__PURE__ */ jsx(Empty, { className: "flex-none p-4", style: { height }, children: /* @__PURE__ */ jsx(EmptyDescription, { children: "No data available" }) }) : /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
117
117
|
/* @__PURE__ */ jsxs("div", { style: { height, width: "100%", position: "relative" }, children: [
|
|
118
118
|
/* @__PURE__ */ jsx(
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
FALLBACK_TICK,
|
|
12
12
|
formatTooltipDate,
|
|
13
13
|
hexToRgba
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WLXP4OOF.mjs";
|
|
15
15
|
import {
|
|
16
16
|
Empty,
|
|
17
17
|
EmptyDescription
|
|
@@ -67,7 +67,8 @@ function ExpenseBarChart({
|
|
|
67
67
|
height = 280,
|
|
68
68
|
width = "100%",
|
|
69
69
|
className,
|
|
70
|
-
isLoading = false
|
|
70
|
+
isLoading = false,
|
|
71
|
+
showPeriodSelector = true
|
|
71
72
|
}) {
|
|
72
73
|
const periods = CHART_PERIODS[granularity];
|
|
73
74
|
const [period, setPeriod] = useState(defaultPeriod);
|
|
@@ -167,7 +168,7 @@ function ExpenseBarChart({
|
|
|
167
168
|
stacked: true,
|
|
168
169
|
grid: { display: false },
|
|
169
170
|
border: { display: false },
|
|
170
|
-
ticks: { font: { size:
|
|
171
|
+
ticks: { font: { size: 12 }, color: FALLBACK_TICK }
|
|
171
172
|
},
|
|
172
173
|
y: {
|
|
173
174
|
display: showYAxis,
|
|
@@ -175,7 +176,7 @@ function ExpenseBarChart({
|
|
|
175
176
|
grid: { display: false },
|
|
176
177
|
border: { display: false },
|
|
177
178
|
ticks: {
|
|
178
|
-
font: { size:
|
|
179
|
+
font: { size: 12 },
|
|
179
180
|
color: FALLBACK_TICK,
|
|
180
181
|
maxTicksLimit: 5,
|
|
181
182
|
padding: 8,
|
|
@@ -192,9 +193,9 @@ function ExpenseBarChart({
|
|
|
192
193
|
className: cn("w-full py-4 sm:py-6 gap-2", className),
|
|
193
194
|
style: { maxWidth: width, fontFamily },
|
|
194
195
|
children: [
|
|
195
|
-
/* @__PURE__ */ jsxs(CardHeader, { className: "px-3 sm:px-6", children: [
|
|
196
|
-
/* @__PURE__ */ jsx(CardTitle, { className: "text-xs font-semibold uppercase tracking-wide", children: title }),
|
|
197
|
-
/* @__PURE__ */ jsx(CardAction, { children: /* @__PURE__ */ jsx("div", { className: "flex gap-0.5 sm:gap-1", children: periods.map((p) => /* @__PURE__ */ jsx(
|
|
196
|
+
(title || showPeriodSelector) && /* @__PURE__ */ jsxs(CardHeader, { className: "px-3 sm:px-6", children: [
|
|
197
|
+
title && /* @__PURE__ */ jsx(CardTitle, { className: "text-xs font-semibold uppercase tracking-wide", children: title }),
|
|
198
|
+
showPeriodSelector && /* @__PURE__ */ jsx(CardAction, { children: /* @__PURE__ */ jsx("div", { className: "flex gap-0.5 sm:gap-1", children: periods.map((p) => /* @__PURE__ */ jsx(
|
|
198
199
|
ChartPeriodButton,
|
|
199
200
|
{
|
|
200
201
|
period: p,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IncomeBarChart
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-M32YSAWL.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Card,
|
|
6
6
|
CardContent
|
|
@@ -16,24 +16,24 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
Checkbox
|
|
18
18
|
} from "./chunk-IKXYTCSB.mjs";
|
|
19
|
+
import {
|
|
20
|
+
formatCurrency
|
|
21
|
+
} from "./chunk-XQDTFNVL.mjs";
|
|
19
22
|
import {
|
|
20
23
|
LoanOptionGroup
|
|
21
24
|
} from "./chunk-FFXTQTB4.mjs";
|
|
22
25
|
import {
|
|
23
26
|
Input
|
|
24
27
|
} from "./chunk-LBTHZSBT.mjs";
|
|
28
|
+
import {
|
|
29
|
+
Button
|
|
30
|
+
} from "./chunk-NOOEKOWY.mjs";
|
|
25
31
|
import {
|
|
26
32
|
Accordion,
|
|
27
33
|
AccordionContent,
|
|
28
34
|
AccordionItem,
|
|
29
35
|
AccordionTrigger
|
|
30
36
|
} from "./chunk-UNACI2YK.mjs";
|
|
31
|
-
import {
|
|
32
|
-
formatCurrency
|
|
33
|
-
} from "./chunk-MN5NYQCL.mjs";
|
|
34
|
-
import {
|
|
35
|
-
Button
|
|
36
|
-
} from "./chunk-NOOEKOWY.mjs";
|
|
37
37
|
import {
|
|
38
38
|
cn
|
|
39
39
|
} from "./chunk-AFML43VJ.mjs";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
FALLBACK_PRIMARY,
|
|
3
3
|
FALLBACK_SECONDARY,
|
|
4
4
|
FALLBACK_TICK
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WLXP4OOF.mjs";
|
|
6
6
|
import {
|
|
7
7
|
Empty,
|
|
8
8
|
EmptyDescription
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
Spinner
|
|
18
18
|
} from "./chunk-JVMXMFBB.mjs";
|
|
19
|
+
import {
|
|
20
|
+
formatCurrency
|
|
21
|
+
} from "./chunk-XQDTFNVL.mjs";
|
|
19
22
|
import {
|
|
20
23
|
useThemeVars
|
|
21
24
|
} from "./chunk-XYSRRDBH.mjs";
|
|
22
|
-
import {
|
|
23
|
-
formatCurrency
|
|
24
|
-
} from "./chunk-MN5NYQCL.mjs";
|
|
25
25
|
import {
|
|
26
26
|
cn
|
|
27
27
|
} from "./chunk-AFML43VJ.mjs";
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
EditIncomeModal,
|
|
7
7
|
EditLoanScenarioModal,
|
|
8
8
|
PROPERTY_ASSET_TYPES
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-W7OPFKTZ.mjs";
|
|
10
10
|
import {
|
|
11
11
|
AboutCard,
|
|
12
12
|
DebtCard,
|
|
13
13
|
ExpensesCard,
|
|
14
14
|
IncomeCard,
|
|
15
15
|
PropertyCard
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-E3VAK4EB.mjs";
|
|
17
17
|
import {
|
|
18
18
|
FinancialDetailField,
|
|
19
19
|
FinancialLineItem,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-X6RC5UWB.mjs";
|
|
42
42
|
import {
|
|
43
43
|
formatCurrency
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-XQDTFNVL.mjs";
|
|
45
45
|
import {
|
|
46
46
|
Button
|
|
47
47
|
} from "./chunk-NOOEKOWY.mjs";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
DoughnutLegendRow,
|
|
7
7
|
FALLBACK_PRIMARY,
|
|
8
8
|
hexToRgba
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WLXP4OOF.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Empty,
|
|
12
12
|
EmptyDescription
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
CardHeader,
|
|
18
18
|
CardTitle
|
|
19
19
|
} from "./chunk-3VDET466.mjs";
|
|
20
|
+
import {
|
|
21
|
+
formatCurrencyAbbrev
|
|
22
|
+
} from "./chunk-XQDTFNVL.mjs";
|
|
20
23
|
import {
|
|
21
24
|
useThemeVars
|
|
22
25
|
} from "./chunk-XYSRRDBH.mjs";
|
|
23
|
-
import {
|
|
24
|
-
formatCurrencyAbbrev
|
|
25
|
-
} from "./chunk-MN5NYQCL.mjs";
|
|
26
26
|
import {
|
|
27
27
|
cn
|
|
28
28
|
} from "./chunk-AFML43VJ.mjs";
|