@mx-cartographer/experiences 8.0.0-alpha.bb3 → 8.0.0-alpha.bb4
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/CHANGELOG.md +128 -1
- package/dist/{Account-Bxw0_4FU.mjs → Account-B4CDD-zq.mjs} +1 -1
- package/dist/AccountDetailsContent-adZTkM52.mjs +683 -0
- package/dist/AccountDetailsHeader-DRjFuyJT.mjs +87 -0
- package/dist/{AccountFields-C9FlatNb.mjs → AccountFields-Cl4KHoSj.mjs} +14 -12
- package/dist/AccountListItem-wgmlex-_.mjs +90 -0
- package/dist/{AccountStore-BgNOyMdp.mjs → AccountStore-HbVblv86.mjs} +19 -8
- package/dist/{Accounts-BRf_YeTf.mjs → Accounts-CRUehOiy.mjs} +1 -1
- package/dist/{BeatApi-DhJpgCLz.mjs → BeatApi-De2IaqH2.mjs} +1 -1
- package/dist/{BeatStore-IBnXd4YK.mjs → BeatStore-D_NYuBSz.mjs} +1 -1
- package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-Jv8h9H9l.mjs} +33 -33
- package/dist/{CashflowStore-D9Dpuz7X.mjs → CashflowStore-CA190BPF.mjs} +18 -25
- package/dist/{Category-CevNQ03n.mjs → Category-Ccoew_sA.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-Dl006GKy.mjs} +43 -41
- package/dist/{CategoryStore-yHI0hWmK.mjs → CategoryStore-MUwRWH9e.mjs} +13 -11
- package/dist/{CategoryUtil-pZRIYOgN.mjs → CategoryUtil-DfVKKkRf.mjs} +4 -4
- package/dist/{ConnectDrawer-BQNs-hjk.mjs → ConnectDrawer-DVp54lUH.mjs} +49 -48
- package/dist/{ConnectionsDrawer-ByGQE7D5.mjs → ConnectionsDrawer-Dsc04-4Z.mjs} +3 -3
- package/dist/CurrencyInput-D1cjbdCI.mjs +85 -0
- package/dist/{CurrencyText-kyC1aseI.mjs → CurrencyText-Dr0EZ7bp.mjs} +1 -1
- package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CDPZw_-m.mjs} +3 -3
- package/dist/{DebtsStore-C9bblOgW.mjs → DebtsStore-pL63fmdT.mjs} +3 -3
- package/dist/{Dialog-CWW597AF.mjs → Dialog-CDV0kKxj.mjs} +24 -24
- package/dist/{Donut-oaQFlbit.mjs → Donut-Dmy3JTWd.mjs} +12 -12
- package/dist/Drawer-BF40nbsH.mjs +163 -0
- package/dist/{EmptyState-DA_lfRBv.mjs → EmptyState-DoxNUae-.mjs} +24 -22
- package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-QhQK4_FU.mjs} +4 -4
- package/dist/{Fetch-87LIQbEA.mjs → Fetch-DecPFeGU.mjs} +24 -22
- package/dist/FinstrongStore-BGf36b0z.mjs +451 -0
- package/dist/{GoalStore-D-aB35SY.mjs → GoalStore-C1-w3Y1E.mjs} +7 -7
- package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
- package/dist/{Help-B6dIcujh.mjs → Help-DBfsTkAi.mjs} +125 -146
- package/dist/{Help-DhcC-C05.mjs → Help-c-zHlDbv.mjs} +8 -8
- package/dist/{IconBacking-B9oC6uL2.mjs → IconBacking-DgT8DCeh.mjs} +11 -11
- package/dist/LineChart-C1PxNf7P.mjs +581 -0
- package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-BNCWQAN_.mjs} +10 -10
- package/dist/Loader-Ckqi9Rx6.mjs +21 -0
- package/dist/{ManageIncome-1s_q5W4X.mjs → ManageIncome-8EsStyIQ.mjs} +195 -192
- package/dist/{MerchantStore-DrFvsUyy.mjs → MerchantStore-WvZ4gnQe.mjs} +1 -1
- package/dist/MicroWidgetContainer-BGpNl5ZS.mjs +45 -0
- package/dist/MiniWidgetContainer-CKzf_Ira.mjs +56 -0
- package/dist/{NetWorthStore-DCsTZpuS.mjs → NetWorthStore-Bti6u-d9.mjs} +4 -4
- package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-B74rQVYC.mjs} +276 -273
- package/dist/{NotificationStore-BxP_P2dA.mjs → NotificationStore-Ck2KdNmT.mjs} +10 -10
- package/dist/{NumberFormatting-Buh7u8Oi.mjs → NumberFormatting-DjTD0t3W.mjs} +9 -9
- package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-2Y_3U_mg.mjs} +10 -10
- package/dist/{RecurringSettings-A_rAGCTP.mjs → RecurringSettings-DAncu--R.mjs} +17 -17
- package/dist/{RecurringTransactions-DK8dWldr.mjs → RecurringTransactions-CxcSL1dY.mjs} +106 -105
- package/dist/{RecurringTransactionsStore-C4YOD7_D.mjs → RecurringTransactionsStore-CNFxyGB6.mjs} +80 -73
- package/dist/{ResponsiveButton-DZFp78fJ.mjs → ResponsiveButton-Cn6-R7ue.mjs} +10 -10
- package/dist/SearchBox-B7km148n.mjs +39 -0
- package/dist/{SettingsStore-BcgS_Ohv.mjs → SettingsStore-BASMQSIp.mjs} +3 -3
- package/dist/{SingleSegmentDonut-BgbLgwHi.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +6 -6
- package/dist/SkeletonLoader-BaNboJjD.mjs +38 -0
- package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-DPQ96k3x.mjs} +19 -19
- package/dist/SpendingLegend-6FqtMcBV.mjs +193 -0
- package/dist/{StatusBar-BK_uYHAB.mjs → StatusBar-CPfSXe80.mjs} +6 -6
- package/dist/{TabContentContainer-j01JYR_7.mjs → TabContentContainer-CnMXkVqr.mjs} +8 -8
- package/dist/{ToggleListItem-r0Kx56wF.mjs → ToggleListItem-ciFTiqRS.mjs} +19 -14
- package/dist/TransactionApi-CjBoLleL.mjs +86 -0
- package/dist/TransactionDetails-Bn0qY5Hw.mjs +1336 -0
- package/dist/{TransactionStore-ai3uII_r.mjs → TransactionStore-DbwAutwC.mjs} +146 -165
- package/dist/TrendsStore-_mRaFUdf.mjs +182 -0
- package/dist/{User-BQUxBeZV.mjs → User-BklmOUSd.mjs} +107 -107
- package/dist/{ViewMoreMicroCard-SCn2wt4i.mjs → ViewMoreMicroCard-DAkyNRlD.mjs} +706 -729
- package/dist/{WidgetContainer-BHWANqT4.mjs → WidgetContainer-CDh9fjpR.mjs} +36 -36
- package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +4 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.d.ts +2 -1
- package/dist/accounts/index.es.js +228 -221
- package/dist/accounts/stores/AccountStore.d.ts +2 -0
- package/dist/analytics/index.es.js +27 -27
- package/dist/budgets/index.es.js +459 -462
- package/dist/cashflow/index.es.js +419 -428
- package/dist/categories/index.es.js +2 -2
- package/dist/categories/stores/CategoryStore.d.ts +1 -1
- package/dist/common/components/ErrorBoundary.d.ts +1 -1
- package/dist/common/components/Loader.d.ts +1 -2
- package/dist/common/components/Select.d.ts +4 -2
- package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
- package/dist/common/components/charts/LineChart.d.ts +12 -2
- package/dist/common/components/charts/index.d.ts +0 -3
- package/dist/common/components/charts/linechart/CustomLegend.d.ts +3 -1
- package/dist/common/components/charts/linechart/CustomMark.d.ts +5 -1
- package/dist/common/components/drawer/Drawer.d.ts +3 -0
- package/dist/common/components/drawer/Footer.d.ts +17 -0
- package/dist/common/components/index.d.ts +0 -1
- package/dist/common/hooks/index.d.ts +0 -1
- package/dist/common/hooks/useAriaLive.d.ts +1 -1
- package/dist/common/index.es.js +402 -668
- package/dist/common/stores/GlobalStore.d.ts +7 -1
- package/dist/common/types/Finstrong.d.ts +54 -0
- package/dist/common/types/Global.d.ts +1 -0
- package/dist/common/types/Widgets.d.ts +1 -0
- package/dist/common/types/index.d.ts +1 -1
- package/dist/common/types/localization/FinstrongCopy.d.ts +105 -2
- package/dist/common/types/localization/GoalsCopy.d.ts +1 -0
- package/dist/common/utils/Theme.d.ts +1 -3
- package/dist/dashboard/index.es.js +21 -21
- package/dist/debts/components/DebtsChart.d.ts +1 -2
- package/dist/debts/index.es.js +673 -665
- package/dist/exportTransactionsToCSV-BgV_wTLT.mjs +48 -0
- package/dist/finstrong/FinstrongWidget.d.ts +1 -1
- package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
- package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
- package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
- package/dist/finstrong/components/FinancialStrengthGraph.d.ts +7 -1
- package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
- package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
- package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
- package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
- package/dist/finstrong/components/ProgressBar.d.ts +15 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
- package/dist/finstrong/components/StatusChip.d.ts +5 -0
- package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +17 -0
- package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
- package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
- package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
- package/dist/finstrong/components/shared/DialScoreCard.d.ts +7 -1
- package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
- package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
- package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
- package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
- package/dist/finstrong/constants/index.d.ts +9 -0
- package/dist/finstrong/index.es.js +3175 -1067
- package/dist/finstrong/stores/FinstrongStore.d.ts +25 -2
- package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
- package/dist/goals/index.es.js +580 -570
- package/dist/help/components/content/BottomImageContent.d.ts +1 -1
- package/dist/help/components/content/LeftImageContent.d.ts +1 -1
- package/dist/help/components/content/RightImageContent.d.ts +1 -1
- package/dist/help/components/content/TopImageContent.d.ts +1 -1
- package/dist/help/index.es.js +6 -6
- package/dist/{hooks-D6XlXHf4.mjs → hooks-C41HAxM5.mjs} +3 -3
- package/dist/insights/index.es.js +1 -1
- package/dist/investments/index.es.js +537 -536
- package/dist/merchants/index.es.js +9 -9
- package/dist/microinsights/beaticons/BeatIcon.d.ts +2 -9
- package/dist/microinsights/beaticons/BeatMerchantLogo.d.ts +3 -2
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +2 -1
- package/dist/microinsights/cards/{MicroInsightCard.d.ts → BaseCard.d.ts} +1 -8
- package/dist/microinsights/cards/{BeatCard.d.ts → InsightCard.d.ts} +2 -2
- package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +2 -5
- package/dist/microinsights/cards/ZeroStateCard.d.ts +2 -5
- package/dist/microinsights/carousel/BeatList.d.ts +10 -0
- package/dist/microinsights/carousel/CarouselControls.d.ts +1 -3
- package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -2
- package/dist/microinsights/constants/App.d.ts +0 -1
- package/dist/microinsights/index.d.ts +3 -3
- package/dist/microinsights/index.es.js +7 -7
- package/dist/microinsights/interfaces.d.ts +0 -6
- package/dist/networth/components/NetWorthChange.d.ts +3 -1
- package/dist/networth/index.es.js +262 -254
- package/dist/notifications/index.es.js +90 -91
- package/dist/recurringtransactions/components/MicroWidgetContent.d.ts +3 -0
- package/dist/recurringtransactions/index.es.js +586 -562
- package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +1 -0
- package/dist/settings/index.es.js +371 -365
- package/dist/spending/index.es.js +267 -419
- package/dist/spending/utils/SpendingData.d.ts +2 -1
- package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -0
- package/dist/transactions/components/shared/TransactionList.d.ts +1 -0
- package/dist/transactions/index.es.js +231 -226
- package/dist/transactions/stores/TransactionStore.d.ts +1 -1
- package/dist/transactions/stores/UiStore.d.ts +0 -2
- package/dist/trends/index.es.js +988 -612
- package/dist/{useAccountDisplayName-BUAApBIb.mjs → useAccountDisplayName-CcIp09Xc.mjs} +2 -2
- package/dist/{useCombineEvents-BUDIR1ba.mjs → useCombineEvents-kNzLTWCp.mjs} +3 -3
- package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
- package/dist/{useScreenSize-B6JyS_Lj.mjs → useScreenSize-B5afALev.mjs} +1 -1
- package/package.json +51 -56
- package/dist/AccountDetailsContent-CAM9y39M.mjs +0 -679
- package/dist/AccountDetailsHeader-JtSX6Uf9.mjs +0 -120
- package/dist/AccountListItem-JFMZROh7.mjs +0 -90
- package/dist/CurrencyInput-DUsQbkXb.mjs +0 -85
- package/dist/Drawer-kEE73B87.mjs +0 -113
- package/dist/FinstrongStore-F2c607dj.mjs +0 -101
- package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
- package/dist/LineChart-D4GI7nVh.mjs +0 -541
- package/dist/Loader-DUaFpDGv.mjs +0 -24
- package/dist/MicroWidgetContainer-DpeqN9n3.mjs +0 -45
- package/dist/MiniWidgetContainer-D0gfmbaF.mjs +0 -56
- package/dist/SearchBox-B2_zLv8-.mjs +0 -42
- package/dist/TransactionApi-B3Tksf7L.mjs +0 -86
- package/dist/TransactionDetails-oP1eSuiS.mjs +0 -1334
- package/dist/TrendsStore-DCYbpXPO.mjs +0 -559
- package/dist/common/components/barchart/Bar.d.ts +0 -25
- package/dist/common/components/barchart/BarChart.d.ts +0 -34
- package/dist/common/components/barchart/BarColumn.d.ts +0 -37
- package/dist/common/components/barchart/Legend.d.ts +0 -8
- package/dist/common/components/barchart/Util.d.ts +0 -42
- package/dist/common/components/barchart/index.d.ts +0 -1
- package/dist/common/hooks/usePrevious.d.ts +0 -2
- package/dist/exportTransactionsToCSV-7bVS7KXf.mjs +0 -47
- package/dist/finstrong/utils/Finstrong.d.ts +0 -6
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
- package/dist/useAriaLive-B3_pRUio.mjs +0 -35
|
@@ -4,7 +4,7 @@ import { H3 as n } from "@mxenabled/mxui";
|
|
|
4
4
|
const s = {
|
|
5
5
|
text: "Oops! Something went wrong."
|
|
6
6
|
};
|
|
7
|
-
class
|
|
7
|
+
class l extends o.Component {
|
|
8
8
|
state = {
|
|
9
9
|
hasError: !1
|
|
10
10
|
};
|
|
@@ -18,7 +18,7 @@ class r extends o.Component {
|
|
|
18
18
|
return this.state.hasError ? /* @__PURE__ */ i(n, { sx: { pt: 24 }, children: s.text }) : this.props.children;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
const g =
|
|
21
|
+
const g = [
|
|
22
22
|
{
|
|
23
23
|
flags: ["show_accounts_widget_in_master"],
|
|
24
24
|
guid: "accounts",
|
|
@@ -222,7 +222,7 @@ const g = r, d = [
|
|
|
222
222
|
}
|
|
223
223
|
]
|
|
224
224
|
}
|
|
225
|
-
],
|
|
225
|
+
], d = [
|
|
226
226
|
{
|
|
227
227
|
guid: "personal_information",
|
|
228
228
|
icon: "person",
|
|
@@ -292,7 +292,7 @@ const g = r, d = [
|
|
|
292
292
|
}
|
|
293
293
|
]
|
|
294
294
|
}
|
|
295
|
-
],
|
|
295
|
+
], _ = [
|
|
296
296
|
{
|
|
297
297
|
type: "external"
|
|
298
298
|
},
|
|
@@ -313,8 +313,8 @@ const g = r, d = [
|
|
|
313
313
|
}
|
|
314
314
|
];
|
|
315
315
|
export {
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
316
|
+
l as E,
|
|
317
|
+
g as H,
|
|
318
|
+
_ as P,
|
|
319
|
+
d as a
|
|
320
320
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import { jsxs as d, jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import c from "@mui/material/Box";
|
|
3
|
+
import e from "@mui/material/Stack";
|
|
4
|
+
const x = ({
|
|
5
5
|
backingSx: r,
|
|
6
6
|
children: i,
|
|
7
7
|
size: o,
|
|
8
|
-
sx:
|
|
9
|
-
}) => /* @__PURE__ */
|
|
10
|
-
|
|
8
|
+
sx: t
|
|
9
|
+
}) => /* @__PURE__ */ d(
|
|
10
|
+
e,
|
|
11
11
|
{
|
|
12
12
|
sx: {
|
|
13
13
|
display: "grid",
|
|
14
14
|
placeItems: "center",
|
|
15
15
|
zIndex: 3,
|
|
16
|
-
...
|
|
16
|
+
...t
|
|
17
17
|
},
|
|
18
18
|
children: [
|
|
19
19
|
i,
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
-
|
|
20
|
+
/* @__PURE__ */ m(
|
|
21
|
+
c,
|
|
22
22
|
{
|
|
23
23
|
sx: {
|
|
24
24
|
backgroundColor: "common.white",
|
|
@@ -33,7 +33,7 @@ const s = ({
|
|
|
33
33
|
)
|
|
34
34
|
]
|
|
35
35
|
}
|
|
36
|
-
)
|
|
36
|
+
);
|
|
37
37
|
export {
|
|
38
38
|
x as I
|
|
39
39
|
};
|
|
@@ -0,0 +1,581 @@
|
|
|
1
|
+
import { jsxs as a, Fragment as $, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import X from "@mui/material/Box";
|
|
3
|
+
import { useTheme as Y } from "@mui/material/styles";
|
|
4
|
+
import { ResponsiveChartContainer as fe, ChartsReferenceLine as xe, AreaPlot as ye, LinePlot as ge, MarkPlot as pe, BarPlot as be, ChartsXAxis as ke, ChartsYAxis as Me, ChartsAxisHighlight as Ce } from "@mui/x-charts";
|
|
5
|
+
import { f as p, c as F } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
6
|
+
import we from "@mui/material/useMediaQuery";
|
|
7
|
+
import { observer as Le } from "mobx-react-lite";
|
|
8
|
+
import W from "@mui/material/Stack";
|
|
9
|
+
import { Text as l } from "@mxenabled/mxui";
|
|
10
|
+
import { u as ve } from "./hooks-C41HAxM5.mjs";
|
|
11
|
+
import { useTheme as Se, Stack as M, Box as H } from "@mui/material";
|
|
12
|
+
import { ChartsTooltip as Te } from "@mui/x-charts/ChartsTooltip";
|
|
13
|
+
const De = (e) => {
|
|
14
|
+
const r = Y(), s = e.showLabel, o = e.style, b = o?.markLabelStyles, x = Number(e.x), m = Number(e.y), h = e.handlers?.onMarkClick, u = e.handlers?.onMouseEnter, c = e.handlers?.onMouseLeave, i = we(r.breakpoints.up("sm")), f = e.valueFormatterString ? p(e.yData[e.dataIndex], e.valueFormatterString) : String(e.yData[e.dataIndex]), d = i ? r.typography.body2?.fontSize : r.typography.caption?.fontSize, T = 30, D = 24, A = x - T / 2, I = m - 30;
|
|
15
|
+
return /* @__PURE__ */ a($, { children: [
|
|
16
|
+
s && /* @__PURE__ */ a($, { children: [
|
|
17
|
+
e.labelBackgroundColor && /* @__PURE__ */ t(
|
|
18
|
+
"rect",
|
|
19
|
+
{
|
|
20
|
+
fill: e.labelBackgroundColor,
|
|
21
|
+
height: D,
|
|
22
|
+
rx: "3",
|
|
23
|
+
width: T,
|
|
24
|
+
x: A,
|
|
25
|
+
y: I
|
|
26
|
+
}
|
|
27
|
+
),
|
|
28
|
+
/* @__PURE__ */ t(
|
|
29
|
+
"text",
|
|
30
|
+
{
|
|
31
|
+
className: "MuiLineChart-markLabel",
|
|
32
|
+
dominantBaseline: "middle",
|
|
33
|
+
fill: e.labelFontColor ? e.labelFontColor : r.palette.text.primary,
|
|
34
|
+
style: {
|
|
35
|
+
fontSize: e.labelFontSize ? e.labelFontSize : d,
|
|
36
|
+
...b
|
|
37
|
+
},
|
|
38
|
+
textAnchor: "middle",
|
|
39
|
+
x,
|
|
40
|
+
y: m - 28 + D / 2,
|
|
41
|
+
children: f
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
] }),
|
|
45
|
+
e.showMark && /* @__PURE__ */ t(
|
|
46
|
+
"path",
|
|
47
|
+
{
|
|
48
|
+
cursor: h ? "pointer" : "unset",
|
|
49
|
+
d: "M4.514,0A4.514,4.514,0,1,1,-4.514,0A4.514,4.514,0,1,1,4.514,0",
|
|
50
|
+
height: "20px",
|
|
51
|
+
onClick: (j) => {
|
|
52
|
+
h?.(j, e.dataIndex);
|
|
53
|
+
},
|
|
54
|
+
onMouseEnter: () => {
|
|
55
|
+
u?.(e.dataIndex);
|
|
56
|
+
},
|
|
57
|
+
onMouseLeave: () => {
|
|
58
|
+
c?.();
|
|
59
|
+
},
|
|
60
|
+
style: {
|
|
61
|
+
fill: o?.fill ? o.fill : r.palette.background.paper,
|
|
62
|
+
stroke: o?.stroke ? o.stroke : r.palette.primary.main,
|
|
63
|
+
strokeWidth: 2,
|
|
64
|
+
transform: `translate(${e.x}px, ${e.y}px)`,
|
|
65
|
+
transformOrigin: `${e.x}px, ${e.y}px`,
|
|
66
|
+
filter: o?.filter ? o.filter : "none"
|
|
67
|
+
},
|
|
68
|
+
width: "20px"
|
|
69
|
+
}
|
|
70
|
+
)
|
|
71
|
+
] });
|
|
72
|
+
}, Ae = (e) => /* @__PURE__ */ a($, { children: [
|
|
73
|
+
/* @__PURE__ */ t("clipPath", { id: e.id, children: /* @__PURE__ */ t("rect", { height: e.height, width: e.width, x: "0", y: "0" }) }),
|
|
74
|
+
/* @__PURE__ */ t("g", { children: /* @__PURE__ */ t(
|
|
75
|
+
"path",
|
|
76
|
+
{
|
|
77
|
+
cursor: "unset",
|
|
78
|
+
d: e.d,
|
|
79
|
+
style: {
|
|
80
|
+
strokeWidth: 2,
|
|
81
|
+
strokeLinejoin: "round",
|
|
82
|
+
fill: "none",
|
|
83
|
+
stroke: e.lineColor ? e.lineColor : e.stroke,
|
|
84
|
+
transition: "opacity 0.2s ease-in, stroke 0.2s ease-in",
|
|
85
|
+
opacity: 1
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
) })
|
|
89
|
+
] }), Ie = ({
|
|
90
|
+
label: e,
|
|
91
|
+
customLegendVariant: r
|
|
92
|
+
}) => {
|
|
93
|
+
const s = r || "body2";
|
|
94
|
+
return typeof e == "string" ? /* @__PURE__ */ t(l, { variant: s, children: e }) : typeof e == "object" && e.amount !== void 0 && e.label ? /* @__PURE__ */ a($, { children: [
|
|
95
|
+
/* @__PURE__ */ t(l, { variant: s, children: e.label }),
|
|
96
|
+
/* @__PURE__ */ t(l, { bold: !0, sx: { marginLeft: 8 }, variant: s, children: p(e.amount, "0,0") })
|
|
97
|
+
] }) : null;
|
|
98
|
+
}, Re = ({
|
|
99
|
+
average: e,
|
|
100
|
+
customLegendVariant: r,
|
|
101
|
+
customLegendBoxSx: s,
|
|
102
|
+
labels: o = [],
|
|
103
|
+
series: b,
|
|
104
|
+
style: x,
|
|
105
|
+
title: m,
|
|
106
|
+
valueFormatterString: h
|
|
107
|
+
}) => {
|
|
108
|
+
const { common: u } = ve(), c = r || "body2";
|
|
109
|
+
return /* @__PURE__ */ a(W, { style: { flexDirection: "row", gap: 24, ...x }, children: [
|
|
110
|
+
b.map((i, f) => {
|
|
111
|
+
const d = o[f];
|
|
112
|
+
return d ? /* @__PURE__ */ a(
|
|
113
|
+
W,
|
|
114
|
+
{
|
|
115
|
+
style: { alignItems: "center", flexDirection: "row", flexWrap: "wrap" },
|
|
116
|
+
children: [
|
|
117
|
+
/* @__PURE__ */ t(
|
|
118
|
+
X,
|
|
119
|
+
{
|
|
120
|
+
sx: {
|
|
121
|
+
width: 10,
|
|
122
|
+
height: 10,
|
|
123
|
+
backgroundColor: i.color,
|
|
124
|
+
marginRight: 8,
|
|
125
|
+
...s
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
),
|
|
129
|
+
/* @__PURE__ */ t(Ie, { customLegendVariant: r, label: d })
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
f
|
|
133
|
+
) : null;
|
|
134
|
+
}),
|
|
135
|
+
e && /* @__PURE__ */ a(W, { sx: { alignItems: "center", flexDirection: "row" }, children: [
|
|
136
|
+
/* @__PURE__ */ t(l, { bold: !0, sx: { marginRight: 8 }, variant: c, children: "– –" }),
|
|
137
|
+
/* @__PURE__ */ a(l, { variant: c, children: [
|
|
138
|
+
m || u.average,
|
|
139
|
+
" "
|
|
140
|
+
] }),
|
|
141
|
+
/* @__PURE__ */ t(l, { bold: !0, variant: c, children: h ? p(e, h) : e })
|
|
142
|
+
] })
|
|
143
|
+
] });
|
|
144
|
+
}, $e = Le(Re);
|
|
145
|
+
function je({
|
|
146
|
+
customLabels: e,
|
|
147
|
+
labels: r = [],
|
|
148
|
+
valueFormatterString: s = "0,0"
|
|
149
|
+
}) {
|
|
150
|
+
const o = Se();
|
|
151
|
+
return /* @__PURE__ */ t(
|
|
152
|
+
Te,
|
|
153
|
+
{
|
|
154
|
+
showCrosshair: !0,
|
|
155
|
+
slots: {
|
|
156
|
+
axisContent: (b) => {
|
|
157
|
+
const { axisValue: x, dataIndex: m, series: h } = b, u = m ?? 0;
|
|
158
|
+
if (e) {
|
|
159
|
+
const c = e[u]?.[0]?.header || String(x);
|
|
160
|
+
return /* @__PURE__ */ a(
|
|
161
|
+
M,
|
|
162
|
+
{
|
|
163
|
+
sx: {
|
|
164
|
+
backgroundColor: o.palette.background.paper,
|
|
165
|
+
boxShadow: "0 2px 8px 0 rgba(0, 0, 0, 0.12)",
|
|
166
|
+
flexDirection: "column",
|
|
167
|
+
alignItems: "flex-start",
|
|
168
|
+
borderRadius: "4px",
|
|
169
|
+
width: 250,
|
|
170
|
+
gap: 8,
|
|
171
|
+
px: 16,
|
|
172
|
+
py: 12
|
|
173
|
+
},
|
|
174
|
+
children: [
|
|
175
|
+
/* @__PURE__ */ a(
|
|
176
|
+
M,
|
|
177
|
+
{
|
|
178
|
+
sx: {
|
|
179
|
+
flexDirection: "row",
|
|
180
|
+
justifyContent: "space-between",
|
|
181
|
+
alignItems: "center",
|
|
182
|
+
alignSelf: "stretch",
|
|
183
|
+
gap: 8,
|
|
184
|
+
marginTop: 4
|
|
185
|
+
},
|
|
186
|
+
children: [
|
|
187
|
+
/* @__PURE__ */ t(l, { variant: "h3", children: c }),
|
|
188
|
+
/* @__PURE__ */ t(l, { bold: !0, variant: "h3", children: p(h[0]?.data[u], s) })
|
|
189
|
+
]
|
|
190
|
+
}
|
|
191
|
+
),
|
|
192
|
+
e[u]?.some((i) => (typeof i == "string" ? 0 : i.amount) !== 0) ? e[u]?.map((i) => {
|
|
193
|
+
const f = typeof i == "string" ? i : i.label, d = typeof i == "string" ? 0 : i.amount;
|
|
194
|
+
return d === 0 ? null : /* @__PURE__ */ a(
|
|
195
|
+
M,
|
|
196
|
+
{
|
|
197
|
+
sx: {
|
|
198
|
+
flexDirection: "row",
|
|
199
|
+
justifyContent: "space-between",
|
|
200
|
+
alignItems: "center",
|
|
201
|
+
alignSelf: "stretch",
|
|
202
|
+
gap: 8,
|
|
203
|
+
marginTop: 4
|
|
204
|
+
},
|
|
205
|
+
children: [
|
|
206
|
+
/* @__PURE__ */ a(
|
|
207
|
+
M,
|
|
208
|
+
{
|
|
209
|
+
sx: {
|
|
210
|
+
flexDirection: "row",
|
|
211
|
+
alignItems: "center",
|
|
212
|
+
gap: 8,
|
|
213
|
+
flex: 1,
|
|
214
|
+
minWidth: 0
|
|
215
|
+
},
|
|
216
|
+
children: [
|
|
217
|
+
/* @__PURE__ */ t(
|
|
218
|
+
H,
|
|
219
|
+
{
|
|
220
|
+
sx: {
|
|
221
|
+
width: "12px",
|
|
222
|
+
height: "12px",
|
|
223
|
+
backgroundColor: h[0]?.color,
|
|
224
|
+
borderRadius: "4px"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
),
|
|
228
|
+
/* @__PURE__ */ t(l, { variant: "body1", children: f })
|
|
229
|
+
]
|
|
230
|
+
}
|
|
231
|
+
),
|
|
232
|
+
/* @__PURE__ */ t(l, { bold: !0, variant: "body1", children: p(Math.abs(d), s) })
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
f
|
|
236
|
+
);
|
|
237
|
+
}) : /* @__PURE__ */ t(l, { variant: "body1", children: "No data" })
|
|
238
|
+
]
|
|
239
|
+
}
|
|
240
|
+
);
|
|
241
|
+
}
|
|
242
|
+
return /* @__PURE__ */ a(
|
|
243
|
+
M,
|
|
244
|
+
{
|
|
245
|
+
sx: {
|
|
246
|
+
backgroundColor: o.palette.background.paper,
|
|
247
|
+
boxShadow: "0 2px 8px 0 rgba(0, 0, 0, 0.12)",
|
|
248
|
+
flexDirection: "column",
|
|
249
|
+
alignItems: "flex-start",
|
|
250
|
+
borderRadius: "4px",
|
|
251
|
+
width: 225,
|
|
252
|
+
gap: 8,
|
|
253
|
+
px: 16,
|
|
254
|
+
py: 12
|
|
255
|
+
},
|
|
256
|
+
children: [
|
|
257
|
+
/* @__PURE__ */ t(l, { variant: "h3", children: String(x) }),
|
|
258
|
+
h.map((c, i) => /* @__PURE__ */ a(
|
|
259
|
+
M,
|
|
260
|
+
{
|
|
261
|
+
sx: {
|
|
262
|
+
flexDirection: "row",
|
|
263
|
+
justifyContent: "space-between",
|
|
264
|
+
alignItems: "center",
|
|
265
|
+
alignSelf: "stretch",
|
|
266
|
+
gap: 8,
|
|
267
|
+
marginTop: 4
|
|
268
|
+
},
|
|
269
|
+
children: [
|
|
270
|
+
/* @__PURE__ */ a(M, { sx: { flexDirection: "row", alignItems: "center", gap: 8 }, children: [
|
|
271
|
+
/* @__PURE__ */ t(
|
|
272
|
+
H,
|
|
273
|
+
{
|
|
274
|
+
sx: {
|
|
275
|
+
width: "12px",
|
|
276
|
+
height: "12px",
|
|
277
|
+
backgroundColor: c.color,
|
|
278
|
+
borderRadius: "4px"
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
),
|
|
282
|
+
/* @__PURE__ */ t(l, { variant: "body1", children: typeof r[i] == "string" ? r[i] : r[i]?.label })
|
|
283
|
+
] }),
|
|
284
|
+
/* @__PURE__ */ t(l, { bold: !0, variant: "body1", children: p(c.data[u], s) })
|
|
285
|
+
]
|
|
286
|
+
},
|
|
287
|
+
c.id
|
|
288
|
+
))
|
|
289
|
+
]
|
|
290
|
+
}
|
|
291
|
+
);
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
trigger: "axis"
|
|
295
|
+
}
|
|
296
|
+
);
|
|
297
|
+
}
|
|
298
|
+
const Qe = ({
|
|
299
|
+
areaColor: e,
|
|
300
|
+
axisColor: r,
|
|
301
|
+
baseline: s = "max",
|
|
302
|
+
chartFor: o,
|
|
303
|
+
chartXaxisSx: b,
|
|
304
|
+
chartYaxisSx: x,
|
|
305
|
+
colors: m,
|
|
306
|
+
curveType: h = "linear",
|
|
307
|
+
customLegendVariant: u,
|
|
308
|
+
customLegendSx: c,
|
|
309
|
+
customLegendBoxSx: i,
|
|
310
|
+
customTooltipLabels: f,
|
|
311
|
+
datasets: d,
|
|
312
|
+
height: T,
|
|
313
|
+
isGraphClippingXAxis: D = !1,
|
|
314
|
+
labels: A,
|
|
315
|
+
labelBackgroundColor: I,
|
|
316
|
+
labelFontColor: j,
|
|
317
|
+
labelFontSize: q,
|
|
318
|
+
margin: Q,
|
|
319
|
+
markHandlers: U,
|
|
320
|
+
markStyles: V,
|
|
321
|
+
minRange: J,
|
|
322
|
+
maxRange: K,
|
|
323
|
+
onItemClick: z,
|
|
324
|
+
peerAverage: B,
|
|
325
|
+
showArea: E = !1,
|
|
326
|
+
showAverage: G = !1,
|
|
327
|
+
showAxisHighlight: Z = !1,
|
|
328
|
+
showBars: N = !1,
|
|
329
|
+
showLegend: _ = !1,
|
|
330
|
+
showMark: ee = !0,
|
|
331
|
+
showMarkLabel: te = !1,
|
|
332
|
+
showTooltip: ne = !1,
|
|
333
|
+
showXAxis: re = !1,
|
|
334
|
+
showXAxisTicks: ae = !1,
|
|
335
|
+
showYAxis: ie = !1,
|
|
336
|
+
showYAxisTicks: oe = !1,
|
|
337
|
+
title: le,
|
|
338
|
+
useCustomMark: se = !1,
|
|
339
|
+
valueFormatterString: k,
|
|
340
|
+
width: ce,
|
|
341
|
+
xAxisScaleType: de
|
|
342
|
+
}) => {
|
|
343
|
+
const y = Y(), he = d.flat().map((n) => n.x), C = d.flat().map((n) => n.y), O = B || Math.round(C.reduce((n, S) => S + n, 0) / C.length), w = Math.floor(Math.min(...C) / 100) * 100, L = Math.ceil(Math.max(...C) / 100) * 100, P = d.map((n, S) => ({
|
|
344
|
+
type: N ? "bar" : "line",
|
|
345
|
+
curve: h,
|
|
346
|
+
color: N ? y.palette.chart?.chart6 : m[S] ?? y.palette.primary.main,
|
|
347
|
+
data: n.map((g) => g.y),
|
|
348
|
+
area: E,
|
|
349
|
+
baseline: s,
|
|
350
|
+
showMark: !0,
|
|
351
|
+
valueFormatter: (g) => k ? p(g || 0, k) : String(g)
|
|
352
|
+
})), ue = {
|
|
353
|
+
...{
|
|
354
|
+
top: 60,
|
|
355
|
+
right: 35,
|
|
356
|
+
bottom: 50,
|
|
357
|
+
left: 50
|
|
358
|
+
},
|
|
359
|
+
...Q
|
|
360
|
+
};
|
|
361
|
+
let v = J ?? w, R = K ?? L;
|
|
362
|
+
if (o === "networthChart") {
|
|
363
|
+
const n = L - w, S = n < L * 0.05 ? 0.25 : 0.2, g = Math.max(n * S, L * 0.015);
|
|
364
|
+
v = w - g < 0 ? w : w - g, R = L + g;
|
|
365
|
+
}
|
|
366
|
+
const me = () => {
|
|
367
|
+
if (o === "creditOverTime")
|
|
368
|
+
return F(v, 850, 5);
|
|
369
|
+
if (o === "networthChart")
|
|
370
|
+
return F(v, R, 5);
|
|
371
|
+
};
|
|
372
|
+
return /* @__PURE__ */ a(
|
|
373
|
+
X,
|
|
374
|
+
{
|
|
375
|
+
sx: {
|
|
376
|
+
position: "relative",
|
|
377
|
+
touchAction: "pan-y",
|
|
378
|
+
// Allow vertical scrolling
|
|
379
|
+
"& svg": {
|
|
380
|
+
touchAction: "pan-y",
|
|
381
|
+
// Allow vertical scrolling on SVG
|
|
382
|
+
userSelect: "none"
|
|
383
|
+
// Prevent text selection
|
|
384
|
+
},
|
|
385
|
+
"& .recharts-wrapper": {
|
|
386
|
+
touchAction: "pan-y"
|
|
387
|
+
// For Recharts library specifically
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
children: [
|
|
391
|
+
/* @__PURE__ */ a(
|
|
392
|
+
fe,
|
|
393
|
+
{
|
|
394
|
+
height: T,
|
|
395
|
+
margin: ue,
|
|
396
|
+
series: P,
|
|
397
|
+
sx: {
|
|
398
|
+
"& .MuiBarLabel-root": {
|
|
399
|
+
fontSize: 10,
|
|
400
|
+
fontWeight: 600
|
|
401
|
+
},
|
|
402
|
+
"& .MuiAreaElement-root": {
|
|
403
|
+
opacity: 0.15
|
|
404
|
+
},
|
|
405
|
+
"& .MuiChartsAxis-tickLabel > tspan": {
|
|
406
|
+
fontFamily: y.typography.body2.fontFamily
|
|
407
|
+
},
|
|
408
|
+
"& .MuiLineChart-markLabel": {
|
|
409
|
+
fontFamily: y.typography.body2.fontFamily
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
width: ce,
|
|
413
|
+
xAxis: [{ data: he, scaleType: de || (N ? "band" : "point") }],
|
|
414
|
+
yAxis: [
|
|
415
|
+
{
|
|
416
|
+
tickInterval: me(),
|
|
417
|
+
min: D ? -22 : v,
|
|
418
|
+
max: R || 100,
|
|
419
|
+
colorMap: E && P.length < 2 ? {
|
|
420
|
+
type: "continuous",
|
|
421
|
+
min: v,
|
|
422
|
+
max: R,
|
|
423
|
+
color: [
|
|
424
|
+
y.palette.background.paper,
|
|
425
|
+
m[0] ?? y.palette.primary.main
|
|
426
|
+
]
|
|
427
|
+
} : void 0,
|
|
428
|
+
valueFormatter: (n) => k ? p(n, k) : String(n)
|
|
429
|
+
}
|
|
430
|
+
],
|
|
431
|
+
children: [
|
|
432
|
+
G && /* @__PURE__ */ t(
|
|
433
|
+
xe,
|
|
434
|
+
{
|
|
435
|
+
lineStyle: {
|
|
436
|
+
stroke: I ? y.palette.neutral.main : y.palette.neutral.dark,
|
|
437
|
+
strokeDasharray: "10, 8",
|
|
438
|
+
strokeWidth: 2
|
|
439
|
+
},
|
|
440
|
+
y: O
|
|
441
|
+
}
|
|
442
|
+
),
|
|
443
|
+
/* @__PURE__ */ t(
|
|
444
|
+
ye,
|
|
445
|
+
{
|
|
446
|
+
onItemClick: z,
|
|
447
|
+
...e && {
|
|
448
|
+
slots: {
|
|
449
|
+
area: (n) => /* @__PURE__ */ a("g", { children: [
|
|
450
|
+
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ a("linearGradient", { id: "customGradient", x1: "0", x2: "0", y1: "0", y2: "1", children: [
|
|
451
|
+
/* @__PURE__ */ t("stop", { offset: "0%", stopColor: e }),
|
|
452
|
+
/* @__PURE__ */ t("stop", { offset: "100%", stopColor: e, stopOpacity: 0.02 })
|
|
453
|
+
] }) }),
|
|
454
|
+
/* @__PURE__ */ t("path", { ...n, fill: "url(#customGradient)" })
|
|
455
|
+
] })
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
),
|
|
460
|
+
/* @__PURE__ */ t(
|
|
461
|
+
ge,
|
|
462
|
+
{
|
|
463
|
+
onItemClick: z,
|
|
464
|
+
slots: {
|
|
465
|
+
line: (n) => /* @__PURE__ */ t(
|
|
466
|
+
Ae,
|
|
467
|
+
{
|
|
468
|
+
...n,
|
|
469
|
+
lineColor: e ?? n.ownerState.color ?? y.palette.primary.main
|
|
470
|
+
}
|
|
471
|
+
)
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
),
|
|
475
|
+
/* @__PURE__ */ t(
|
|
476
|
+
pe,
|
|
477
|
+
{
|
|
478
|
+
onItemClick: z,
|
|
479
|
+
slots: se ? {
|
|
480
|
+
mark: (n) => /* @__PURE__ */ t(
|
|
481
|
+
De,
|
|
482
|
+
{
|
|
483
|
+
handlers: U,
|
|
484
|
+
labelBackgroundColor: I,
|
|
485
|
+
labelFontColor: j,
|
|
486
|
+
labelFontSize: q,
|
|
487
|
+
showLabel: te,
|
|
488
|
+
showMark: ee || n.dataIndex === d[0].length - 1,
|
|
489
|
+
style: V?.(n.dataIndex) ?? {},
|
|
490
|
+
valueFormatterString: k,
|
|
491
|
+
yData: C,
|
|
492
|
+
...n
|
|
493
|
+
}
|
|
494
|
+
)
|
|
495
|
+
} : void 0
|
|
496
|
+
}
|
|
497
|
+
),
|
|
498
|
+
/* @__PURE__ */ t(
|
|
499
|
+
be,
|
|
500
|
+
{
|
|
501
|
+
barLabel: (n) => Number(n.value) > 0 ? `$${n.value}` : null,
|
|
502
|
+
borderRadius: 10
|
|
503
|
+
}
|
|
504
|
+
),
|
|
505
|
+
/* @__PURE__ */ t(
|
|
506
|
+
ke,
|
|
507
|
+
{
|
|
508
|
+
disableLine: !re,
|
|
509
|
+
disableTicks: !ae,
|
|
510
|
+
slotProps: r ? {
|
|
511
|
+
axisLine: {
|
|
512
|
+
style: {
|
|
513
|
+
stroke: r
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
axisTick: {
|
|
517
|
+
style: {
|
|
518
|
+
stroke: r
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
} : {},
|
|
522
|
+
sx: { ...b }
|
|
523
|
+
}
|
|
524
|
+
),
|
|
525
|
+
/* @__PURE__ */ t(
|
|
526
|
+
Me,
|
|
527
|
+
{
|
|
528
|
+
disableLine: !ie,
|
|
529
|
+
disableTicks: !oe,
|
|
530
|
+
slotProps: r ? {
|
|
531
|
+
axisLine: {
|
|
532
|
+
style: {
|
|
533
|
+
stroke: r
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
axisTick: {
|
|
537
|
+
style: {
|
|
538
|
+
stroke: r
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
} : {},
|
|
542
|
+
sx: { ...x }
|
|
543
|
+
}
|
|
544
|
+
),
|
|
545
|
+
Z && /* @__PURE__ */ t(Ce, { x: "line" }),
|
|
546
|
+
ne && /* @__PURE__ */ t(
|
|
547
|
+
je,
|
|
548
|
+
{
|
|
549
|
+
customLabels: f,
|
|
550
|
+
labels: A,
|
|
551
|
+
valueFormatterString: k
|
|
552
|
+
}
|
|
553
|
+
)
|
|
554
|
+
]
|
|
555
|
+
}
|
|
556
|
+
),
|
|
557
|
+
_ && /* @__PURE__ */ t(
|
|
558
|
+
$e,
|
|
559
|
+
{
|
|
560
|
+
average: G ? O : void 0,
|
|
561
|
+
customLegendBoxSx: i,
|
|
562
|
+
customLegendVariant: u,
|
|
563
|
+
labels: A,
|
|
564
|
+
series: P,
|
|
565
|
+
style: {
|
|
566
|
+
position: "absolute",
|
|
567
|
+
top: 16,
|
|
568
|
+
left: 16,
|
|
569
|
+
...c
|
|
570
|
+
},
|
|
571
|
+
title: le,
|
|
572
|
+
valueFormatterString: k
|
|
573
|
+
}
|
|
574
|
+
)
|
|
575
|
+
]
|
|
576
|
+
}
|
|
577
|
+
);
|
|
578
|
+
};
|
|
579
|
+
export {
|
|
580
|
+
Qe as L
|
|
581
|
+
};
|