@mx-cartographer/experiences 3.10.1-alpha.mm7 → 3.11.0
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 +36 -2
- package/dist/accounts/AccountsMiniWidget.d.ts +0 -1
- package/dist/accounts/AccountsWidget.d.ts +0 -1
- package/dist/accounts/ConnectMiniWidget.d.ts +6 -3
- package/dist/accounts/api/AccountApi.d.ts +0 -1
- package/dist/accounts/components/AccountListItem.d.ts +0 -1
- package/dist/accounts/components/ConnectMiniWidgetCard.d.ts +4 -0
- package/dist/accounts/components/ConnectStatus.d.ts +0 -1
- package/dist/accounts/components/ConnectionsDrawer.d.ts +0 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit.d.ts +0 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +0 -1
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage.d.ts +0 -1
- package/dist/accounts/stores/AccountStore.d.ts +0 -1
- package/dist/accounts/stores/UiStore.d.ts +0 -1
- package/dist/accounts/utils/AccountFields.d.ts +0 -1
- package/dist/accounts/utils/Accounts.d.ts +0 -1
- package/dist/budgets/BubbleBudgetsMiniWidget.d.ts +0 -1
- package/dist/budgets/BubbleBudgetsWidget.d.ts +3 -0
- package/dist/budgets/api/BudgetsApi.d.ts +0 -1
- package/dist/budgets/components/BubbleBudgets.d.ts +4 -3
- package/dist/budgets/components/BubbleChart.d.ts +3 -11
- package/dist/budgets/components/BudgetDetails.d.ts +7 -0
- package/dist/budgets/components/BudgetList.d.ts +7 -0
- package/dist/budgets/components/Overview.d.ts +3 -0
- package/dist/budgets/components/bubblechart/Bubble.d.ts +10 -0
- package/dist/budgets/components/bubblechart/Mercury.d.ts +7 -0
- package/dist/budgets/components/budgetlist/BudgetRow.d.ts +8 -0
- package/dist/budgets/components/budgetlist/SubBudgetRow.d.ts +7 -0
- package/dist/budgets/components/budgetlist/SubBudgetZeroState.d.ts +1 -0
- package/dist/budgets/index.d.ts +1 -0
- package/dist/budgets/store/BudgetsStore.d.ts +6 -4
- package/dist/budgets/utils/BubblesSVG.d.ts +33 -0
- package/dist/budgets/utils/Budget.d.ts +4 -11
- package/dist/cashflow/CashflowMiniWidget.d.ts +0 -1
- package/dist/cashflow/CashflowOnboarding.d.ts +0 -1
- package/dist/cashflow/CashflowWidget.d.ts +0 -1
- package/dist/cashflow/api/CashflowApi.d.ts +0 -1
- package/dist/cashflow/components/CashflowAmountHeading.d.ts +0 -1
- package/dist/cashflow/components/CashflowContent.d.ts +0 -1
- package/dist/cashflow/components/CashflowHeading.d.ts +0 -1
- package/dist/cashflow/components/CashflowWidgetContent.d.ts +0 -1
- package/dist/cashflow/components/DetailsExpenseHeader.d.ts +0 -1
- package/dist/cashflow/components/DetailsExpenseRow.d.ts +0 -1
- package/dist/cashflow/components/onboarding/StepOne.d.ts +0 -1
- package/dist/cashflow/components/onboarding/StepTwo.d.ts +0 -1
- package/dist/cashflow/stores/CashflowStore.d.ts +0 -1
- package/dist/cashflow/stores/UiStore.d.ts +0 -1
- package/dist/cashflow/util/Filters.d.ts +0 -1
- package/dist/categories/components/CategoryList.d.ts +0 -1
- package/dist/categories/components/CategoryRow.d.ts +0 -1
- package/dist/categories/components/CategorySelector.d.ts +0 -1
- package/dist/categories/components/CategorySelectorDrawer.d.ts +0 -1
- package/dist/categories/components/CustomCategories/AddSubcategory.d.ts +0 -1
- package/dist/categories/components/CustomCategories/CustomCategoryModal.d.ts +0 -1
- package/dist/categories/components/CustomCategories/DeleteSubcategory.d.ts +0 -1
- package/dist/categories/components/CustomCategories/RenameSubcategory.d.ts +0 -1
- package/dist/categories/components/SubcategoryList.d.ts +0 -1
- package/dist/categories/components/SubcategoryRow.d.ts +0 -1
- package/dist/categories/stores/CategoryStore.d.ts +0 -1
- package/dist/common/api/AnalyticsApi.d.ts +0 -1
- package/dist/common/api/BeatApi.d.ts +0 -1
- package/dist/common/api/CategoryApi.d.ts +0 -1
- package/dist/common/api/GlobalCopyApi.d.ts +0 -1
- package/dist/common/api/LocalizedCopyApi.d.ts +0 -1
- package/dist/common/api/NotificationApi.d.ts +0 -1
- package/dist/common/api/ScheduledPaymentsApi.d.ts +0 -1
- package/dist/common/api/UserApi.d.ts +0 -1
- package/dist/common/api/WidgetApi.d.ts +0 -1
- package/dist/common/components/ConnectDrawer.d.ts +0 -1
- package/dist/common/components/CurrencyInput.d.ts +0 -1
- package/dist/common/components/CurrencyText.d.ts +0 -1
- package/dist/common/components/DataRow.d.ts +0 -1
- package/dist/common/components/IconBacking.d.ts +0 -1
- package/dist/common/components/InformationTooltip.d.ts +0 -1
- package/dist/common/components/ListItemWrapper.d.ts +0 -1
- package/dist/common/components/Loader.d.ts +0 -1
- package/dist/common/components/MiniWidgetContainer.d.ts +0 -1
- package/dist/common/components/ResponsiveButton.d.ts +0 -1
- package/dist/common/components/SearchBox.d.ts +0 -1
- package/dist/common/components/SelectionBox.d.ts +0 -1
- package/dist/common/components/SubheaderRow.d.ts +0 -1
- package/dist/common/components/WidgetContainer.d.ts +0 -1
- package/dist/common/components/accountfilter/AccountFilter.d.ts +0 -1
- package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +0 -1
- package/dist/common/components/barchart/Bar.d.ts +0 -1
- package/dist/common/components/barchart/BarChart.d.ts +0 -1
- package/dist/common/components/barchart/BarColumn.d.ts +0 -1
- package/dist/common/components/barchart/Legend.d.ts +0 -1
- package/dist/common/components/calendar/Calendar.d.ts +0 -1
- package/dist/common/components/calendar/Day.d.ts +0 -1
- package/dist/common/components/calendar/Header.d.ts +0 -1
- package/dist/common/components/charts/Donut.d.ts +0 -1
- package/dist/common/components/charts/LineChart.d.ts +0 -1
- package/dist/common/components/charts/StackedLineChart.d.ts +12 -15
- package/dist/common/components/charts/StatusBar.d.ts +0 -1
- package/dist/common/components/charts/linechart/CustomLine.d.ts +0 -1
- package/dist/common/components/charts/linechart/CustomMark.d.ts +0 -1
- package/dist/common/components/charts/stackedlinechart/CategoryIconLabel.d.ts +0 -1
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +0 -1
- package/dist/common/components/charts/stackedlinechart/CustomLegend.d.ts +0 -1
- package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.d.ts +0 -2
- package/dist/common/components/daterangeselector/DateRangeSelector.d.ts +0 -1
- package/dist/common/components/dialog/Dialog.d.ts +0 -1
- package/dist/common/components/donuts/MultiSegmentDonut.d.ts +0 -1
- package/dist/common/components/donuts/SingleSegmentDonut.d.ts +0 -1
- package/dist/common/components/drawer/Drawer.d.ts +0 -1
- package/dist/common/components/drawer/Header.d.ts +0 -1
- package/dist/common/components/index.d.ts +1 -0
- package/dist/common/constants/Account.d.ts +0 -1
- package/dist/common/context/GlobalDataProvider.d.ts +0 -1
- package/dist/common/context/WidgetContainerProvider.d.ts +0 -1
- package/dist/common/hooks/useCombineEvents.d.ts +0 -1
- package/dist/common/hooks/useDimensions.d.ts +0 -1
- package/dist/common/stores/ConnectStore.d.ts +0 -1
- package/dist/common/stores/GlobalCopyStore.d.ts +0 -1
- package/dist/common/stores/GlobalStore.d.ts +0 -1
- package/dist/common/stores/GlobalUiStore.d.ts +0 -1
- package/dist/common/stores/UserStore.d.ts +0 -1
- package/dist/common/types/Activity.d.ts +0 -1
- package/dist/common/types/Analytics.d.ts +23 -10
- package/dist/common/types/Beat.d.ts +0 -1
- package/dist/common/types/Budget.d.ts +16 -0
- package/dist/common/types/Cashflow.d.ts +0 -1
- package/dist/common/types/Expense.d.ts +0 -1
- package/dist/common/types/GlobalCopy.d.ts +0 -1
- package/dist/common/types/LocalizedContent.d.ts +0 -1
- package/dist/common/types/Notification.d.ts +0 -1
- package/dist/common/types/ScheduledPayment.d.ts +0 -1
- package/dist/common/types/SpendingPlan.d.ts +0 -1
- package/dist/common/types/Widgets.d.ts +0 -1
- package/dist/common/types/localization/CashflowCopy.d.ts +0 -1
- package/dist/common/types/localization/CommonCopy.d.ts +0 -1
- package/dist/common/utils/AccountFilter.d.ts +0 -1
- package/dist/common/utils/Analytics.d.ts +0 -1
- package/dist/common/utils/Categories.d.ts +0 -1
- package/dist/common/utils/Fetch.d.ts +1 -2
- package/dist/common/utils/Localization.d.ts +0 -1
- package/dist/common/utils/NumberFormatting.d.ts +0 -1
- package/dist/dashboard/Dashboard.d.ts +0 -1
- package/dist/dashboard/types/DashboardTypes.d.ts +0 -1
- package/dist/goals/api/GoalApi.d.ts +0 -1
- package/dist/goals/components/GoalsWidget.d.ts +0 -1
- package/dist/goals/stores/GoalStore.d.ts +0 -1
- package/dist/index.es.js +5579 -4779
- package/dist/index.es.js.map +1 -1
- package/dist/insights/beats/MonthlyEmergencyFundReview/Components/LastMonthsContributionSection.d.ts +6 -0
- package/dist/insights/beats/MonthlyEmergencyFundReview/Components/ProjectedCompletionSection.d.ts +6 -0
- package/dist/insights/beats/MonthlyEmergencyFundReview/Components/TotalSavedSection.d.ts +7 -0
- package/dist/insights/beats/MonthlyEmergencyFundReview/Components/index.d.ts +3 -0
- package/dist/insights/beats/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody.d.ts +21 -0
- package/dist/insights/{components/beats → beats}/SetUpDirectDeposit/SetUpDirectDepositBody.d.ts +0 -1
- package/dist/insights/beats/SwitchDirectDeposit/SwitchDirectDepositBody.d.ts +21 -0
- package/dist/insights/beats/SwitchDirectDeposit/components/AccountBox.d.ts +7 -0
- package/dist/insights/beats/SwitchDirectDeposit/components/SwitchDirectDepositMainContainer.d.ts +9 -0
- package/dist/insights/components/DirectDeposit/DirectDeposit.d.ts +16 -0
- package/dist/insights/components/DirectDeposit/FullFeedBodyHeader.d.ts +6 -0
- package/dist/insights/components/DirectDeposit/FullFeedLogoSection.d.ts +7 -0
- package/dist/insights/components/DirectDeposit/LeftBox.d.ts +7 -0
- package/dist/insights/components/DirectDeposit/LowerBoxesSection.d.ts +10 -0
- package/dist/insights/components/DirectDeposit/MiniBodyHeader.d.ts +7 -0
- package/dist/insights/components/DirectDeposit/PulseTextComponent.d.ts +15 -0
- package/dist/insights/components/DirectDeposit/RightBox.d.ts +8 -0
- package/dist/insights/components/DirectDeposit/components/FullFeedBodyHeader.d.ts +6 -0
- package/dist/insights/components/DirectDeposit/components/FullFeedLogoSection.d.ts +7 -0
- package/dist/insights/components/DirectDeposit/components/LeftBox.d.ts +7 -0
- package/dist/insights/components/DirectDeposit/components/LowerBoxesSection.d.ts +10 -0
- package/dist/insights/components/DirectDeposit/components/MiniBodyHeader.d.ts +7 -0
- package/dist/insights/components/DirectDeposit/components/RightBox.d.ts +8 -0
- package/dist/insights/components/DirectDeposit/components/index.d.ts +6 -0
- package/dist/insights/components/DirectDeposit/index.d.ts +6 -0
- package/dist/insights/components/PulseGoalProgress.d.ts +10 -0
- package/dist/insights/components/PulseGradientBox.d.ts +8 -0
- package/dist/insights/components/PulseProgressBar.d.ts +9 -0
- package/dist/insights/components/PulseTextComponent.d.ts +15 -0
- package/dist/insights/components/index.d.ts +5 -0
- package/dist/insights/contexts/ToastContext.d.ts +0 -1
- package/dist/insights/index.d.ts +5 -3
- package/dist/insights/settings/SettingsDrawer.d.ts +0 -1
- package/dist/insights/settings/components/PulseSubheaderRow.d.ts +0 -1
- package/dist/insights/settings/components/SettingsItem.d.ts +0 -1
- package/dist/insights/settings/components/Toast.d.ts +0 -1
- package/dist/insights/settings/hiddeninsights/components/CategoryEmptyState.d.ts +0 -1
- package/dist/insights/settings/hiddeninsights/components/HiddenInsightsDrawer.d.ts +0 -1
- package/dist/insights/settings/hiddeninsights/components/HiddenInsightsDrawerWrapper.d.ts +0 -1
- package/dist/insights/settings/hiddeninsights/components/SubCategoryDrawer.d.ts +0 -1
- package/dist/insights/settings/manageaccounts/components/AccountGroup.d.ts +0 -1
- package/dist/insights/settings/manageaccounts/components/ManageAccountsDrawer.d.ts +0 -1
- package/dist/insights/settings/manageaccounts/types/index.d.ts +0 -1
- package/dist/insights/store/BeatStore.d.ts +0 -1
- package/dist/insights/utils/beatTemplateCategories.d.ts +0 -1
- package/dist/merchants/api/MerchantApi.d.ts +0 -1
- package/dist/merchants/components/MerchantLookup.d.ts +0 -1
- package/dist/merchants/stores/MerchantStore.d.ts +0 -1
- package/dist/microinsights/analytics.d.ts +2 -3
- package/dist/microinsights/components/beatCard/BeatCard.d.ts +0 -1
- package/dist/microinsights/components/beaticons/BeatCategoryIcon.d.ts +0 -1
- package/dist/microinsights/components/beaticons/BeatIcon.d.ts +0 -1
- package/dist/microinsights/components/beaticons/BeatMerchantLogo.d.ts +0 -1
- package/dist/microinsights/components/beaticons/ChartFilledIcon.d.ts +0 -1
- package/dist/microinsights/components/beaticons/MonthlySpendComparisonIcon.d.ts +0 -1
- package/dist/microinsights/components/carouselheader/CarouselHeader.d.ts +0 -1
- package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget.d.ts +1 -1
- package/dist/microinsights/components/microBeatCarousel/CarouselControls.d.ts +0 -1
- package/dist/microinsights/components/microBeatCarousel/MicroBeatCarousel.d.ts +0 -1
- package/dist/microinsights/components/microInsightCard/MicroInsightCard.d.ts +0 -1
- package/dist/microinsights/components/noRelevantInsightsCard/NoRelevantInsightsCard.d.ts +0 -1
- package/dist/microinsights/components/spinner/Spinner.d.ts +0 -1
- package/dist/microinsights/components/viewMoreMicroCard/ViewMoreMicroCard.d.ts +0 -1
- package/dist/microinsights/components/zeroStateCard/ZeroStateCard.d.ts +0 -1
- package/dist/microinsights/constants/Analytics.d.ts +0 -1
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +0 -1
- package/dist/microinsights/interfaces.d.ts +0 -1
- package/dist/microinsights/stores/AppStore.d.ts +1 -2
- package/dist/microinsights/stores/CopyStore.d.ts +0 -1
- package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +9 -4
- package/dist/microinsights/types/BeatUIComponent.d.ts +0 -1
- package/dist/microinsights/utils/DataSeries.d.ts +0 -1
- package/dist/notifications/components/DateRow.d.ts +0 -1
- package/dist/notifications/components/NotificationBadge.d.ts +0 -1
- package/dist/notifications/components/NotificationCard.d.ts +0 -1
- package/dist/notifications/components/NotificationList.d.ts +0 -1
- package/dist/notifications/stores/NotificationStore.d.ts +0 -1
- package/dist/notifications/utils/NotificationUtils.d.ts +0 -1
- package/dist/recurringactivity/RecurringActivityMiniWidget.d.ts +0 -1
- package/dist/recurringactivity/RecurringActivityWidget.d.ts +0 -1
- package/dist/recurringactivity/components/ActivityDetails.d.ts +0 -1
- package/dist/recurringactivity/components/ActivityList.d.ts +0 -1
- package/dist/recurringactivity/components/ActivityRow.d.ts +0 -1
- package/dist/recurringactivity/components/ActivityStatus.d.ts +0 -1
- package/dist/recurringactivity/components/MiniWidgetContent.d.ts +0 -1
- package/dist/recurringactivity/components/actions/FrequencyAction.d.ts +0 -1
- package/dist/recurringactivity/components/actions/PaymentDateAction.d.ts +0 -1
- package/dist/recurringactivity/components/activitycalendar/ActivityDay.d.ts +0 -1
- package/dist/recurringactivity/components/shared/activitysettings/AddActivity.d.ts +0 -1
- package/dist/recurringactivity/components/shared/activitysettings/AddActivityDetails.d.ts +0 -1
- package/dist/recurringactivity/components/shared/activitysettings/SelectTransaction.d.ts +0 -1
- package/dist/recurringactivity/stores/RecurringActivityStore.d.ts +0 -1
- package/dist/recurringactivity/util/RecurringActivityUtils.d.ts +0 -1
- package/dist/recurringactivity/util/buildActivities.d.ts +0 -1
- package/dist/recurringactivity/util/buildNewActivity.d.ts +0 -1
- package/dist/recurringactivity/util/getRecurrence.d.ts +0 -1
- package/dist/recurringactivity/util/getStatus.d.ts +0 -1
- package/dist/recurringactivity/util/updateActivity.d.ts +0 -1
- package/dist/spending/SpendingMiniWidget.d.ts +0 -1
- package/dist/spending/SpendingWidget.d.ts +0 -1
- package/dist/spending/components/SpendingChart.d.ts +0 -1
- package/dist/spending/components/SpendingDonut.d.ts +0 -1
- package/dist/spending/components/SpendingLegend.d.ts +0 -1
- package/dist/spending/components/SpendingList.d.ts +0 -1
- package/dist/spending/components/SpendingTabLabel.d.ts +0 -1
- package/dist/spending/utils/SpendingData.d.ts +0 -1
- package/dist/transactions/TransactionWidget.d.ts +0 -1
- package/dist/transactions/analytics.d.ts +0 -1
- package/dist/transactions/api/TransactionApi.d.ts +0 -1
- package/dist/transactions/components/shared/TransactionDetails.d.ts +0 -1
- package/dist/transactions/components/shared/TransactionList.d.ts +0 -1
- package/dist/transactions/components/shared/TransactionTable.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/Description.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.d.ts +0 -1
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -1
- package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +0 -1
- package/dist/transactions/components/shared/transactionlist/ZeroState.d.ts +0 -1
- package/dist/transactions/components/shared/transactiontable/cells/AccountCell.d.ts +0 -1
- package/dist/transactions/components/shared/transactiontable/cells/AmountCell.d.ts +0 -1
- package/dist/transactions/components/shared/transactiontable/cells/CategoryCell.d.ts +0 -1
- package/dist/transactions/components/shared/transactiontable/cells/DateCell.d.ts +0 -1
- package/dist/transactions/components/shared/transactiontable/cells/FlagCell.d.ts +0 -1
- package/dist/transactions/components/shared/transactiontable/cells/HeaderCell.d.ts +0 -1
- package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.d.ts +0 -1
- package/dist/transactions/components/splitmanager/SplitManager.d.ts +0 -1
- package/dist/transactions/components/splitmanager/SplitRow.d.ts +0 -1
- package/dist/transactions/components/tagmanager/SearchBox.d.ts +0 -1
- package/dist/transactions/components/tagmanager/TagManager.d.ts +0 -1
- package/dist/transactions/components/tagmanager/TagRow.d.ts +0 -1
- package/dist/transactions/components/transactionwidget/AddAccountModal.d.ts +0 -1
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +0 -1
- package/dist/transactions/constants/Transaction.d.ts +0 -1
- package/dist/transactions/stores/TransactionStore.d.ts +0 -1
- package/dist/transactions/stores/UiStore.d.ts +0 -1
- package/dist/transactions/utils/Filters.d.ts +0 -1
- package/dist/transactions/utils/Transactions.d.ts +0 -1
- package/dist/transactions/utils/buildDetailedTransactions.d.ts +0 -1
- package/dist/transactions/utils/exportTransactionsToCSV.d.ts +0 -1
- package/dist/transactions/utils/sortAndFilterTransactions.d.ts +0 -1
- package/dist/trends/TrendsFullWidget.d.ts +0 -1
- package/dist/trends/TrendsMiniWidget.d.ts +0 -1
- package/dist/trends/components/TrendsTable.d.ts +0 -1
- package/dist/trends/components/trendstable/AmountCell.d.ts +0 -1
- package/dist/trends/components/trendstable/CategoryCell.d.ts +0 -1
- package/dist/trends/components/trendstable/HeaderCell.d.ts +0 -1
- package/dist/trends/utils/index.d.ts +8 -34
- package/package.json +24 -24
- package/dist/budgets/utils/buildBubblesSVG.d.ts +0 -13
- package/dist/common/components/charts/stackedlinechart/utils.d.ts +0 -1
- package/dist/trends/mocks.d.ts +0 -80
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { Tag, Transaction } from '../../common';
|
|
2
2
|
import { TransactionFilter } from '../stores/TransactionStore';
|
|
3
|
-
|
|
4
3
|
export declare const sortAndFilterTransactions: (filter: TransactionFilter, expandedSplits: string[], sortColumn: string, sortDirection: string, tags: Tag[], transactions: Transaction[]) => Transaction[];
|
|
@@ -1,41 +1,17 @@
|
|
|
1
1
|
import { GridComparatorFn } from '@mui/x-data-grid-pro';
|
|
2
2
|
import { MonthlyCategoryTotals } from '../../common';
|
|
3
|
-
|
|
4
3
|
type DateRange = {
|
|
5
4
|
start: Date;
|
|
6
5
|
end: Date;
|
|
7
6
|
};
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
export declare const isIncome: (totals: MonthlyCategoryTotals) => boolean;
|
|
8
|
+
export declare const isPayment: (totals: MonthlyCategoryTotals) => boolean;
|
|
9
|
+
export declare const isTransfer: (totals: MonthlyCategoryTotals) => boolean;
|
|
10
|
+
export declare const isSpend: (totals: MonthlyCategoryTotals) => boolean;
|
|
11
|
+
export declare const getMonthlyTotalsDataset: (totals: MonthlyCategoryTotals[]) => {
|
|
12
|
+
x: string;
|
|
10
13
|
y: number;
|
|
11
|
-
};
|
|
12
|
-
type Dataset = DataPoint[];
|
|
13
|
-
type CategoryTotalData = {
|
|
14
|
-
top_level_category_guid: string;
|
|
15
|
-
category_guid: string;
|
|
16
|
-
category_name: string;
|
|
17
|
-
total: number;
|
|
18
|
-
date: Date;
|
|
19
|
-
color: string;
|
|
20
|
-
};
|
|
21
|
-
type GroupedCategoryTotalData = {
|
|
22
|
-
[topLevelCategory: string]: {
|
|
23
|
-
[category: string]: CategoryTotalData[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export interface StackedLineChartData {
|
|
27
|
-
top_level_category_guid: string;
|
|
28
|
-
category_guid: string;
|
|
29
|
-
category_name: string;
|
|
30
|
-
category_color: string;
|
|
31
|
-
dataset: Dataset;
|
|
32
|
-
}
|
|
33
|
-
type TotalsData = MonthlyCategoryTotals | StackedLineChartData;
|
|
34
|
-
export declare const isIncome: (totals: TotalsData) => boolean;
|
|
35
|
-
export declare const isExpense: (totals: TotalsData) => boolean;
|
|
36
|
-
export declare const isPayment: (totals: TotalsData) => boolean;
|
|
37
|
-
export declare const isTransfer: (totals: TotalsData) => boolean;
|
|
38
|
-
export declare const isSpend: (totals: TotalsData) => boolean;
|
|
14
|
+
}[][];
|
|
39
15
|
export declare const getMonthlyTotals: (totals: MonthlyCategoryTotals[], range?: DateRange) => {
|
|
40
16
|
x: string;
|
|
41
17
|
y: number;
|
|
@@ -52,8 +28,6 @@ export declare const getSpendingTotals: (totals: MonthlyCategoryTotals[], range?
|
|
|
52
28
|
x: string;
|
|
53
29
|
y: number;
|
|
54
30
|
}[];
|
|
55
|
-
export declare const getTopLevelCategoryTotals: (totals:
|
|
31
|
+
export declare const getTopLevelCategoryTotals: (totals: MonthlyCategoryTotals[]) => MonthlyCategoryTotals[];
|
|
56
32
|
export declare const amountComparator: GridComparatorFn<string | number>;
|
|
57
|
-
export declare const createGroupedCategoryTotals: (totals: MonthlyCategoryTotals[]) => GroupedCategoryTotalData;
|
|
58
|
-
export declare const getStackedLineChartData: (groupedTotals: GroupedCategoryTotalData, datasetLength: number) => StackedLineChartData[];
|
|
59
33
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mx-cartographer/experiences",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.11.0",
|
|
4
4
|
"description": "Library containing experience widgets",
|
|
5
5
|
"main": "dist/index.es.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@emotion/styled": "^11.11.0",
|
|
28
28
|
"@honeybadger-io/js": "^6.8.3",
|
|
29
29
|
"@honeybadger-io/react": "^6.1.19",
|
|
30
|
-
"@kyper/mui": "^4.0
|
|
30
|
+
"@kyper/mui": "^4.3.0",
|
|
31
31
|
"@mui/icons-material": "^5.16.0",
|
|
32
32
|
"@mui/lab": "^5.0.0-alpha.172",
|
|
33
33
|
"@mui/material": "^5.16.0",
|
|
@@ -56,16 +56,16 @@
|
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@babel/core": "^7.23.7",
|
|
58
58
|
"@babel/eslint-parser": "^7.23.3",
|
|
59
|
-
"@storybook/addon-a11y": "^8.
|
|
60
|
-
"@storybook/addon-essentials": "^8.
|
|
61
|
-
"@storybook/addon-interactions": "^8.
|
|
62
|
-
"@storybook/addon-links": "^8.
|
|
63
|
-
"@storybook/addon-mdx-gfm": "^8.
|
|
64
|
-
"@storybook/blocks": "^8.
|
|
65
|
-
"@storybook/react": "^8.
|
|
66
|
-
"@storybook/react-vite": "^8.
|
|
67
|
-
"@storybook/test": "^8.
|
|
68
|
-
"@storybook/theming": "^8.
|
|
59
|
+
"@storybook/addon-a11y": "^8.3.6",
|
|
60
|
+
"@storybook/addon-essentials": "^8.3.6",
|
|
61
|
+
"@storybook/addon-interactions": "^8.3.6",
|
|
62
|
+
"@storybook/addon-links": "^8.3.6",
|
|
63
|
+
"@storybook/addon-mdx-gfm": "^8.3.6",
|
|
64
|
+
"@storybook/blocks": "^8.3.6",
|
|
65
|
+
"@storybook/react": "^8.3.6",
|
|
66
|
+
"@storybook/react-vite": "^8.3.6",
|
|
67
|
+
"@storybook/test": "^8.3.6",
|
|
68
|
+
"@storybook/theming": "^8.3.6",
|
|
69
69
|
"@testing-library/dom": "^9.3.4",
|
|
70
70
|
"@testing-library/jest-dom": "^6.4.2",
|
|
71
71
|
"@testing-library/react": "^14.2.1",
|
|
@@ -80,10 +80,10 @@
|
|
|
80
80
|
"@types/uuid": "^10.0.0",
|
|
81
81
|
"@typescript-eslint/eslint-plugin": "^7.16.0",
|
|
82
82
|
"@typescript-eslint/parser": "^7.16.0",
|
|
83
|
-
"@vitejs/plugin-react": "^4.3.
|
|
84
|
-
"@vitest/coverage-v8": "^2.
|
|
85
|
-
"@vitest/ui": "^2.
|
|
86
|
-
"@yarnpkg/sdks": "^3.
|
|
83
|
+
"@vitejs/plugin-react": "^4.3.3",
|
|
84
|
+
"@vitest/coverage-v8": "^2.1.3",
|
|
85
|
+
"@vitest/ui": "^2.1.3",
|
|
86
|
+
"@yarnpkg/sdks": "^3.2.0",
|
|
87
87
|
"eslint": "^8.56.0",
|
|
88
88
|
"eslint-config-mx": "^4.0.0",
|
|
89
89
|
"eslint-config-prettier": "^9.1.0",
|
|
@@ -99,15 +99,15 @@
|
|
|
99
99
|
"path": "^0.12.7",
|
|
100
100
|
"prettier": "^3.1.1",
|
|
101
101
|
"prop-types": "^15.8.1",
|
|
102
|
-
"storybook": "^8.
|
|
102
|
+
"storybook": "^8.3.6",
|
|
103
103
|
"storybook-addon-mock": "^5.0.0",
|
|
104
104
|
"storybook-dark-mode": "4.0.1",
|
|
105
|
-
"typescript": "^5.
|
|
105
|
+
"typescript": "^5.6.3",
|
|
106
106
|
"vi-canvas-mock": "^1.0.0",
|
|
107
|
-
"vite": "^5.
|
|
108
|
-
"vite-plugin-dts": "^3.
|
|
109
|
-
"vite-tsconfig-paths": "^
|
|
110
|
-
"vitest": "^2.
|
|
107
|
+
"vite": "^5.4.10",
|
|
108
|
+
"vite-plugin-dts": "^4.3.0",
|
|
109
|
+
"vite-tsconfig-paths": "^5.0.1",
|
|
110
|
+
"vitest": "^2.1.3"
|
|
111
111
|
},
|
|
112
112
|
"peerDependencies": {
|
|
113
113
|
"@kyper/mui": "^4",
|
|
@@ -121,5 +121,5 @@
|
|
|
121
121
|
"CHANGELOG.md",
|
|
122
122
|
"README.md"
|
|
123
123
|
],
|
|
124
|
-
"packageManager": "yarn@4.
|
|
125
|
-
}
|
|
124
|
+
"packageManager": "yarn@4.5.1"
|
|
125
|
+
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Selection, Simulation } from 'd3';
|
|
2
|
-
import { SimulationNodeDatum } from 'd3-force';
|
|
3
|
-
import { BubbleData } from '../components/BubbleChart';
|
|
4
|
-
import * as d3 from 'd3';
|
|
5
|
-
type NodeType = Selection<SVGGElement, BubbleData, SVGSVGElement, unknown>;
|
|
6
|
-
type SimulationType = Simulation<SimulationNodeDatum, undefined>;
|
|
7
|
-
export declare const buildBubblesSvg: (data: BubbleData[], svgRef: SVGSVGElement, height: number, width: number, isDraggable?: boolean, onClick?: (bubble: BubbleData) => void) => [NodeType, SimulationType];
|
|
8
|
-
/**
|
|
9
|
-
* Enables dragging of bubbles
|
|
10
|
-
* @param simulation D3 Simulation
|
|
11
|
-
*/
|
|
12
|
-
export declare const drag: (simulation: SimulationType) => d3.DragBehavior<Element, unknown, unknown>;
|
|
13
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const smoothData: (data: number[], smoothingFactor?: number) => number[];
|
package/dist/trends/mocks.d.ts
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
export declare const mockStackedDatasetsSequential: {
|
|
2
|
-
top_level_category_guid: string;
|
|
3
|
-
category_guid: string;
|
|
4
|
-
category_name: string;
|
|
5
|
-
category_color: string;
|
|
6
|
-
dataset: {
|
|
7
|
-
x: Date;
|
|
8
|
-
y: number;
|
|
9
|
-
}[];
|
|
10
|
-
}[];
|
|
11
|
-
export declare const mockStackedDatasetsVarying: {
|
|
12
|
-
top_level_category_guid: string;
|
|
13
|
-
category_guid: string;
|
|
14
|
-
category_name: string;
|
|
15
|
-
category_color: string;
|
|
16
|
-
dataset: {
|
|
17
|
-
x: Date;
|
|
18
|
-
y: number;
|
|
19
|
-
}[];
|
|
20
|
-
}[];
|
|
21
|
-
export declare const mockStackedDatasetsOverlapping: {
|
|
22
|
-
top_level_category_guid: string;
|
|
23
|
-
category_guid: string;
|
|
24
|
-
category_name: string;
|
|
25
|
-
category_color: string;
|
|
26
|
-
dataset: {
|
|
27
|
-
x: Date;
|
|
28
|
-
y: number;
|
|
29
|
-
}[];
|
|
30
|
-
}[];
|
|
31
|
-
export declare const mockStackedDatasetsRepeatValues: {
|
|
32
|
-
top_level_category_guid: string;
|
|
33
|
-
category_guid: string;
|
|
34
|
-
category_name: string;
|
|
35
|
-
category_color: string;
|
|
36
|
-
dataset: {
|
|
37
|
-
x: Date;
|
|
38
|
-
y: number;
|
|
39
|
-
}[];
|
|
40
|
-
}[];
|
|
41
|
-
export declare const mockUnstackedDatasetsSequential: {
|
|
42
|
-
top_level_category_guid: string;
|
|
43
|
-
category_guid: string;
|
|
44
|
-
category_name: string;
|
|
45
|
-
category_color: string;
|
|
46
|
-
dataset: {
|
|
47
|
-
x: Date;
|
|
48
|
-
y: number;
|
|
49
|
-
}[];
|
|
50
|
-
}[];
|
|
51
|
-
export declare const mockUnstackedDatasetsVarying: {
|
|
52
|
-
top_level_category_guid: string;
|
|
53
|
-
category_guid: string;
|
|
54
|
-
category_name: string;
|
|
55
|
-
category_color: string;
|
|
56
|
-
dataset: {
|
|
57
|
-
x: Date;
|
|
58
|
-
y: number;
|
|
59
|
-
}[];
|
|
60
|
-
}[];
|
|
61
|
-
export declare const mockUnstackedDatasetsOverlapping: {
|
|
62
|
-
top_level_category_guid: string;
|
|
63
|
-
category_guid: string;
|
|
64
|
-
category_name: string;
|
|
65
|
-
category_color: string;
|
|
66
|
-
dataset: {
|
|
67
|
-
x: Date;
|
|
68
|
-
y: number;
|
|
69
|
-
}[];
|
|
70
|
-
}[];
|
|
71
|
-
export declare const mockUnstackedDatasetsRepeatValues: {
|
|
72
|
-
top_level_category_guid: string;
|
|
73
|
-
category_guid: string;
|
|
74
|
-
category_name: string;
|
|
75
|
-
category_color: string;
|
|
76
|
-
dataset: {
|
|
77
|
-
x: Date;
|
|
78
|
-
y: number;
|
|
79
|
-
}[];
|
|
80
|
-
}[];
|