@mx-cartographer/experiences 8.0.0-alpha.bb2 → 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 -199
- 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/SkeletonLoader.d.ts +7 -0
- 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 +413 -674
- package/dist/common/stores/GlobalStore.d.ts +7 -1
- package/dist/common/stores/GlobalUiStore.d.ts +3 -2
- 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/accounts/components/AccountsWidgetContent.d.ts +0 -3
- 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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import o from "react";
|
|
3
3
|
import { observer as ce } from "mobx-react-lite";
|
|
4
|
-
import
|
|
4
|
+
import Z from "@mui/material/Box";
|
|
5
5
|
import M from "@mui/material/Button";
|
|
6
6
|
import re from "@mui/material/Card";
|
|
7
7
|
import oe from "@mui/material/CardContent";
|
|
@@ -12,11 +12,11 @@ import Y from "@mui/material/Stack";
|
|
|
12
12
|
import { ChevronLeft as le } from "@mxenabled/mx-icons";
|
|
13
13
|
import { Icon as T, Text as X, DateRangePicker as J, H1 as Ce, H3 as de } from "@mxenabled/mxui";
|
|
14
14
|
import { u as Te } from "./useDimensions-27p2evRx.mjs";
|
|
15
|
-
import { L as Ie } from "./Loader-
|
|
16
|
-
import { g as Ee, b as Re, u as ge, a as Ae, W as
|
|
17
|
-
import { u as ie } from "./useScreenSize-
|
|
15
|
+
import { L as Ie } from "./Loader-Ckqi9Rx6.mjs";
|
|
16
|
+
import { g as Ee, b as Re, u as ge, a as Ae, W as ue } from "./hooks-C41HAxM5.mjs";
|
|
17
|
+
import { u as ie } from "./useScreenSize-B5afALev.mjs";
|
|
18
18
|
import { addMonths as Q } from "date-fns/addMonths";
|
|
19
|
-
import { addDays as
|
|
19
|
+
import { addDays as Se } from "date-fns/addDays";
|
|
20
20
|
import { addYears as ee } from "date-fns/addYears";
|
|
21
21
|
import { differenceInCalendarDays as Ne } from "date-fns/differenceInCalendarDays";
|
|
22
22
|
import { endOfDay as me } from "date-fns/endOfDay";
|
|
@@ -34,10 +34,10 @@ import fe from "@mui/material/Tab";
|
|
|
34
34
|
import be from "@mui/material/Tabs";
|
|
35
35
|
import we from "@mui/material/ToggleButton";
|
|
36
36
|
import Ke from "@mui/material/ToggleButtonGroup";
|
|
37
|
-
import Ge from "@mui/material/styles
|
|
38
|
-
import { f as K,
|
|
39
|
-
import { D as We } from "./Drawer-
|
|
40
|
-
import { k as ye, l as xe } from "./ConnectDrawer-
|
|
37
|
+
import { useTheme as Ge } from "@mui/material/styles";
|
|
38
|
+
import { f as K, a as G, D as Me } from "./Dialog-CDV0kKxj.mjs";
|
|
39
|
+
import { D as We } from "./Drawer-BF40nbsH.mjs";
|
|
40
|
+
import { k as ye, l as xe } from "./ConnectDrawer-DVp54lUH.mjs";
|
|
41
41
|
const ve = {
|
|
42
42
|
ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
|
|
43
43
|
ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",
|
|
@@ -158,7 +158,7 @@ const ve = {
|
|
|
158
158
|
TRENDS_HOVER_LEGEND: "trends_hover_ChartLegend",
|
|
159
159
|
TRENDS_LOAD_WIDGET: "trends_load_widget",
|
|
160
160
|
TRENDS_VIEW_TRANSACTIONS: "trends_view_transactions"
|
|
161
|
-
},
|
|
161
|
+
}, ae = ({
|
|
162
162
|
calendarActions: a,
|
|
163
163
|
color: N = "primary",
|
|
164
164
|
copy: _,
|
|
@@ -189,24 +189,24 @@ const ve = {
|
|
|
189
189
|
const e = V(te());
|
|
190
190
|
return [V(j(e, h)), e];
|
|
191
191
|
}, w = (e) => {
|
|
192
|
-
const [i, E] = s,
|
|
193
|
-
let
|
|
192
|
+
const [i, E] = s, u = e === "previous";
|
|
193
|
+
let S;
|
|
194
194
|
if (c === _.dateRangePickerCopy.dateRangeThisMonth || c === _.dateRangePickerCopy.dateRangeLastMonth)
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
V(
|
|
195
|
+
S = [
|
|
196
|
+
u ? j(i, 1) : Q(i, 1),
|
|
197
|
+
V(u ? j(E, 1) : Q(E, 1))
|
|
198
198
|
];
|
|
199
199
|
else if (c === _.dateRangePickerCopy.dateRangeYTD || c === _.dateRangePickerCopy.dateRangeLastYear) {
|
|
200
200
|
const R = ke(i), g = Le(i);
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
201
|
+
S = [
|
|
202
|
+
u ? _e(R, 1) : ee(R, 1),
|
|
203
|
+
u ? _e(g, 1) : ee(g, 1)
|
|
204
204
|
];
|
|
205
205
|
} else {
|
|
206
|
-
const R = Ne(E, i), g =
|
|
207
|
-
|
|
206
|
+
const R = Ne(E, i), g = u ? he : Se;
|
|
207
|
+
S = [g(i, R), g(E, R)];
|
|
208
208
|
}
|
|
209
|
-
f(
|
|
209
|
+
f(S), a.onRangeChanged(S);
|
|
210
210
|
}, x = () => {
|
|
211
211
|
f(r), y(
|
|
212
212
|
c === _.dateRangePickerCopy.dateRangeThisMonth || c === _.dateRangePickerCopy.dateRangeLastMonth
|
|
@@ -218,9 +218,9 @@ const ve = {
|
|
|
218
218
|
}, U = (e) => {
|
|
219
219
|
l(e);
|
|
220
220
|
};
|
|
221
|
-
return /* @__PURE__ */ d(
|
|
221
|
+
return /* @__PURE__ */ d(Z, { className: "mx-cmn-date-range-selector", m: 4, children: [
|
|
222
222
|
/* @__PURE__ */ d(
|
|
223
|
-
|
|
223
|
+
Z,
|
|
224
224
|
{
|
|
225
225
|
sx: {
|
|
226
226
|
[W.breakpoints.down("sm")]: {
|
|
@@ -322,7 +322,7 @@ const ve = {
|
|
|
322
322
|
children: C.tabs.map((e) => /* @__PURE__ */ t(
|
|
323
323
|
fe,
|
|
324
324
|
{
|
|
325
|
-
label: /* @__PURE__ */ t(X, { bold: !0, variant: "
|
|
325
|
+
label: /* @__PURE__ */ t(X, { bold: !0, variant: "body1", children: e.label }),
|
|
326
326
|
sx: { minWidth: 80 },
|
|
327
327
|
value: e.value
|
|
328
328
|
},
|
|
@@ -387,7 +387,7 @@ const ve = {
|
|
|
387
387
|
}
|
|
388
388
|
)
|
|
389
389
|
] });
|
|
390
|
-
},
|
|
390
|
+
}, Ue = ({
|
|
391
391
|
accountOptions: a,
|
|
392
392
|
actions: N = [],
|
|
393
393
|
calendarActions: _,
|
|
@@ -402,12 +402,12 @@ const ve = {
|
|
|
402
402
|
sx: H = {},
|
|
403
403
|
title: r = ""
|
|
404
404
|
}) => {
|
|
405
|
-
const [b, p] = o.useState(!1), [k, { height: F, width: y }] = Te(), { onEvent: h } = Ee(), { isDesktop: l, isMobile: C, isTablet: I } = ie(y), { displayedDateRange: w, isCopyLoaded: x, selectedAccountGuids: v, setSelectedAccountGuids: U } = Re(), { common: e, connect: i } = ge(), { config: E } = Ae(),
|
|
405
|
+
const [b, p] = o.useState(!1), [k, { height: F, width: y }] = Te(), { onEvent: h } = Ee(), { isDesktop: l, isMobile: C, isTablet: I } = ie(y), { displayedDateRange: w, isCopyLoaded: x, selectedAccountGuids: v, setSelectedAccountGuids: U } = Re(), { common: e, connect: i } = ge(), { config: E } = Ae(), u = () => {
|
|
406
406
|
s && (s(), h(ve.WIDGET_BACK_CLICK));
|
|
407
407
|
};
|
|
408
408
|
if (!x)
|
|
409
409
|
return /* @__PURE__ */ t(Ie, {});
|
|
410
|
-
const
|
|
410
|
+
const S = {
|
|
411
411
|
accountFilterOptionsCopy: {
|
|
412
412
|
accountTypeAccounts: e.account_filter.account_type_accounts,
|
|
413
413
|
cancelButton: e.cancel_button,
|
|
@@ -439,7 +439,7 @@ const ve = {
|
|
|
439
439
|
dateRangeEditTitle: e.date_range_picker.edit_title,
|
|
440
440
|
dateRangeNextAria: e.date_range_picker.next_aria,
|
|
441
441
|
dateRangePreviousAria: e.date_range_picker.previous_aria
|
|
442
|
-
}, g = L ? L.start : w.start,
|
|
442
|
+
}, g = L ? L.start : w.start, $ = L ? L.end : w.end, ne = N?.length > 1;
|
|
443
443
|
return /* @__PURE__ */ d(
|
|
444
444
|
re,
|
|
445
445
|
{
|
|
@@ -456,12 +456,12 @@ const ve = {
|
|
|
456
456
|
se,
|
|
457
457
|
{
|
|
458
458
|
action: /* @__PURE__ */ d(Y, { alignItems: "center", flexDirection: "row", children: [
|
|
459
|
-
l && _ && /* @__PURE__ */ t(
|
|
459
|
+
l && _ && /* @__PURE__ */ t(Z, { sx: { flexGrow: 1 }, children: /* @__PURE__ */ t(
|
|
460
460
|
ae,
|
|
461
461
|
{
|
|
462
462
|
calendarActions: _,
|
|
463
463
|
copy: R,
|
|
464
|
-
range: [g,
|
|
464
|
+
range: [g, $],
|
|
465
465
|
shouldShrinkToIcon: !1,
|
|
466
466
|
variant: n
|
|
467
467
|
}
|
|
@@ -470,7 +470,7 @@ const ve = {
|
|
|
470
470
|
ye,
|
|
471
471
|
{
|
|
472
472
|
accounts: a,
|
|
473
|
-
copy:
|
|
473
|
+
copy: S,
|
|
474
474
|
onConnectAccountClick: E.show_connections_widget_in_master ? () => p(!0) : void 0,
|
|
475
475
|
onFilterClick: (O) => {
|
|
476
476
|
U(O), f?.(O);
|
|
@@ -522,7 +522,7 @@ const ve = {
|
|
|
522
522
|
{
|
|
523
523
|
"aria-label": e.back_to_dashboard,
|
|
524
524
|
color: "primary",
|
|
525
|
-
onClick:
|
|
525
|
+
onClick: u,
|
|
526
526
|
sx: { p: 12, mr: 4 },
|
|
527
527
|
children: /* @__PURE__ */ t(le, { size: 24 })
|
|
528
528
|
}
|
|
@@ -539,7 +539,7 @@ const ve = {
|
|
|
539
539
|
{
|
|
540
540
|
calendarActions: _,
|
|
541
541
|
copy: R,
|
|
542
|
-
range: [g,
|
|
542
|
+
range: [g, $],
|
|
543
543
|
shouldShrinkToIcon: !1,
|
|
544
544
|
variant: n
|
|
545
545
|
}
|
|
@@ -553,13 +553,13 @@ const ve = {
|
|
|
553
553
|
title: i.mini_title
|
|
554
554
|
}
|
|
555
555
|
),
|
|
556
|
-
/* @__PURE__ */ t(oe, { ref: k, sx: { p: 0 }, children: /* @__PURE__ */ t(
|
|
556
|
+
/* @__PURE__ */ t(oe, { ref: k, sx: { p: 0 }, children: /* @__PURE__ */ t(ue, { availableHeight: F, availableWidth: y, children: m }) })
|
|
557
557
|
]
|
|
558
558
|
}
|
|
559
559
|
);
|
|
560
|
-
},
|
|
560
|
+
}, kt = ce(Ue);
|
|
561
561
|
export {
|
|
562
562
|
ve as A,
|
|
563
563
|
ae as D,
|
|
564
|
-
|
|
564
|
+
kt as W
|
|
565
565
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Account, AccountType } from '../../common';
|
|
2
|
+
interface AccountsListCompactProps {
|
|
3
|
+
onClick?: (account: Account) => void;
|
|
4
|
+
shouldShowBalance?: boolean;
|
|
5
|
+
loadAccounts?: AccountType[];
|
|
6
|
+
}
|
|
7
|
+
declare const _default: (({ onClick, shouldShowBalance, loadAccounts, }: AccountsListCompactProps) => import("react/jsx-runtime").JSX.Element | null) & {
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { MiniWidgetProps } from '../../../../common';
|
|
3
|
-
|
|
3
|
+
interface AccountDetailsChartProps extends MiniWidgetProps {
|
|
4
|
+
ChartComponent?: React.ComponentType;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: React.FunctionComponent<AccountDetailsChartProps>;
|
|
4
7
|
export default _default;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
interface AccountDetailsHeaderProps {
|
|
2
|
+
ChartComponent?: React.ComponentType;
|
|
2
3
|
customDetailsChart?: React.ReactElement;
|
|
3
4
|
}
|
|
4
|
-
declare const _default: (({ customDetailsChart }: AccountDetailsHeaderProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
5
|
+
declare const _default: (({ customDetailsChart, ChartComponent, }: AccountDetailsHeaderProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
5
6
|
displayName: string;
|
|
6
7
|
};
|
|
7
8
|
export default _default;
|