@mx-cartographer/experiences 3.9.0-alpha.sms1 → 3.9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +5 -7
- package/dist/accounts/AccountsMiniWidget.d.ts +1 -0
- package/dist/accounts/AccountsWidget.d.ts +1 -0
- package/dist/accounts/ConnectMiniWidget.d.ts +7 -2
- package/dist/accounts/api/AccountApi.d.ts +1 -0
- package/dist/accounts/components/AccountListItem.d.ts +1 -0
- package/dist/accounts/components/ConnectMiniWidgetCard.d.ts +5 -0
- package/dist/accounts/components/ConnectStatus.d.ts +1 -0
- package/dist/accounts/components/ConnectionsDrawer.d.ts +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit.d.ts +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage.d.ts +1 -0
- package/dist/accounts/stores/AccountStore.d.ts +1 -0
- package/dist/accounts/stores/UiStore.d.ts +1 -0
- package/dist/accounts/utils/AccountFields.d.ts +1 -0
- package/dist/accounts/utils/Accounts.d.ts +1 -0
- package/dist/budgets/BubbleBudgetsMiniWidget.d.ts +1 -0
- package/dist/budgets/api/BudgetsApi.d.ts +1 -0
- package/dist/budgets/components/BubbleBudgets.d.ts +1 -0
- package/dist/budgets/components/BubbleChart.d.ts +1 -0
- package/dist/budgets/components/bubblechart/Bubble.d.ts +1 -0
- package/dist/budgets/components/bubblechart/Mercury.d.ts +1 -0
- package/dist/budgets/store/BudgetsStore.d.ts +1 -0
- package/dist/budgets/utils/Budget.d.ts +1 -0
- package/dist/cashflow/CashflowMiniWidget.d.ts +1 -0
- package/dist/cashflow/CashflowOnboarding.d.ts +1 -0
- package/dist/cashflow/CashflowWidget.d.ts +1 -0
- package/dist/cashflow/api/CashflowApi.d.ts +1 -0
- package/dist/cashflow/components/CashflowAmountHeading.d.ts +1 -0
- package/dist/cashflow/components/CashflowContent.d.ts +1 -0
- package/dist/cashflow/components/CashflowHeading.d.ts +1 -0
- package/dist/cashflow/components/CashflowWidgetContent.d.ts +1 -0
- package/dist/cashflow/components/DetailsExpenseHeader.d.ts +1 -0
- package/dist/cashflow/components/DetailsExpenseRow.d.ts +1 -0
- package/dist/cashflow/components/onboarding/StepOne.d.ts +1 -0
- package/dist/cashflow/components/onboarding/StepTwo.d.ts +1 -0
- package/dist/cashflow/stores/CashflowStore.d.ts +1 -0
- package/dist/cashflow/stores/UiStore.d.ts +1 -0
- package/dist/cashflow/util/Filters.d.ts +1 -0
- package/dist/categories/components/CategoryList.d.ts +1 -0
- package/dist/categories/components/CategoryRow.d.ts +1 -0
- package/dist/categories/components/CategorySelector.d.ts +1 -0
- package/dist/categories/components/CategorySelectorDrawer.d.ts +1 -0
- package/dist/categories/components/CustomCategories/AddSubcategory.d.ts +1 -0
- package/dist/categories/components/CustomCategories/CustomCategoryModal.d.ts +1 -0
- package/dist/categories/components/CustomCategories/DeleteSubcategory.d.ts +1 -0
- package/dist/categories/components/CustomCategories/RenameSubcategory.d.ts +1 -0
- package/dist/categories/components/SubcategoryList.d.ts +1 -0
- package/dist/categories/components/SubcategoryRow.d.ts +1 -0
- package/dist/categories/stores/CategoryStore.d.ts +1 -0
- package/dist/common/api/AnalyticsApi.d.ts +2 -1
- package/dist/common/api/BeatApi.d.ts +1 -0
- package/dist/common/api/CategoryApi.d.ts +1 -0
- package/dist/common/api/GlobalCopyApi.d.ts +1 -0
- package/dist/common/api/LocalizedCopyApi.d.ts +1 -0
- package/dist/common/api/NotificationApi.d.ts +1 -0
- package/dist/common/api/ScheduledPaymentsApi.d.ts +1 -0
- package/dist/common/api/UserApi.d.ts +1 -0
- package/dist/common/api/WidgetApi.d.ts +1 -0
- package/dist/common/components/ConnectDrawer.d.ts +1 -0
- package/dist/common/components/CurrencyInput.d.ts +1 -0
- package/dist/common/components/CurrencyText.d.ts +1 -0
- package/dist/common/components/DataRow.d.ts +1 -0
- package/dist/common/components/IconBacking.d.ts +1 -0
- package/dist/common/components/InformationTooltip.d.ts +1 -0
- package/dist/common/components/ListItemWrapper.d.ts +1 -0
- package/dist/common/components/Loader.d.ts +1 -0
- package/dist/common/components/MiniWidgetContainer.d.ts +1 -0
- package/dist/common/components/ResponsiveButton.d.ts +1 -0
- package/dist/common/components/SearchBox.d.ts +1 -0
- package/dist/common/components/SelectionBox.d.ts +1 -0
- package/dist/common/components/SubheaderRow.d.ts +1 -0
- package/dist/common/components/WidgetContainer.d.ts +1 -0
- package/dist/common/components/accountfilter/AccountFilter.d.ts +1 -0
- package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -0
- package/dist/common/components/barchart/Bar.d.ts +1 -0
- package/dist/common/components/barchart/BarChart.d.ts +1 -0
- package/dist/common/components/barchart/BarColumn.d.ts +1 -0
- package/dist/common/components/barchart/Legend.d.ts +1 -0
- package/dist/common/components/calendar/Calendar.d.ts +1 -0
- package/dist/common/components/calendar/Day.d.ts +1 -0
- package/dist/common/components/calendar/Header.d.ts +1 -0
- package/dist/common/components/charts/Donut.d.ts +1 -0
- package/dist/common/components/charts/LineChart.d.ts +1 -0
- package/dist/common/components/charts/StackedLineChart.d.ts +1 -0
- package/dist/common/components/charts/StatusBar.d.ts +1 -0
- package/dist/common/components/charts/linechart/CustomLine.d.ts +1 -0
- package/dist/common/components/charts/linechart/CustomMark.d.ts +1 -0
- package/dist/common/components/charts/stackedlinechart/CategoryIconLabel.d.ts +1 -0
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +1 -0
- package/dist/common/components/charts/stackedlinechart/CustomLegend.d.ts +1 -0
- package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.d.ts +1 -0
- package/dist/common/components/daterangeselector/DateRangeSelector.d.ts +1 -0
- package/dist/common/components/dialog/Dialog.d.ts +1 -0
- package/dist/common/components/donuts/MultiSegmentDonut.d.ts +1 -0
- package/dist/common/components/donuts/SingleSegmentDonut.d.ts +1 -0
- package/dist/common/components/drawer/Drawer.d.ts +1 -0
- package/dist/common/components/drawer/Header.d.ts +1 -0
- package/dist/common/components/index.d.ts +1 -0
- package/dist/common/constants/Account.d.ts +1 -0
- package/dist/common/context/GlobalDataProvider.d.ts +1 -0
- package/dist/common/context/WidgetContainerProvider.d.ts +1 -0
- package/dist/common/hooks/useCombineEvents.d.ts +1 -0
- package/dist/common/hooks/useDimensions.d.ts +1 -0
- package/dist/common/stores/ConnectStore.d.ts +1 -0
- package/dist/common/stores/GlobalCopyStore.d.ts +1 -0
- package/dist/common/stores/GlobalStore.d.ts +1 -0
- package/dist/common/stores/GlobalUiStore.d.ts +1 -0
- package/dist/common/stores/UserStore.d.ts +1 -0
- package/dist/common/types/Activity.d.ts +1 -0
- package/dist/common/types/Analytics.d.ts +1 -0
- package/dist/common/types/Beat.d.ts +1 -0
- package/dist/common/types/Cashflow.d.ts +1 -0
- package/dist/common/types/Expense.d.ts +1 -0
- package/dist/common/types/GlobalCopy.d.ts +1 -0
- package/dist/common/types/LocalizedContent.d.ts +1 -0
- package/dist/common/types/Notification.d.ts +1 -0
- package/dist/common/types/ScheduledPayment.d.ts +1 -0
- package/dist/common/types/SpendingPlan.d.ts +1 -0
- package/dist/common/types/Widgets.d.ts +1 -0
- package/dist/common/types/localization/CashflowCopy.d.ts +1 -0
- package/dist/common/types/localization/CommonCopy.d.ts +1 -0
- package/dist/common/utils/AccountFilter.d.ts +1 -0
- package/dist/common/utils/Analytics.d.ts +2 -1
- package/dist/common/utils/Categories.d.ts +1 -0
- package/dist/common/utils/Fetch.d.ts +1 -2
- package/dist/common/utils/Localization.d.ts +1 -0
- package/dist/common/utils/NumberFormatting.d.ts +1 -0
- package/dist/dashboard/Dashboard.d.ts +1 -0
- package/dist/dashboard/types/DashboardTypes.d.ts +1 -0
- package/dist/goals/api/GoalApi.d.ts +1 -0
- package/dist/goals/components/GoalsWidget.d.ts +1 -0
- package/dist/goals/stores/GoalStore.d.ts +1 -0
- package/dist/index.es.js +4057 -3998
- package/dist/index.es.js.map +1 -1
- package/dist/insights/components/beats/SetUpDirectDeposit/SetUpDirectDepositBody.d.ts +1 -0
- package/dist/insights/contexts/ToastContext.d.ts +1 -0
- package/dist/insights/settings/SettingsDrawer.d.ts +1 -0
- package/dist/insights/settings/components/PulseSubheaderRow.d.ts +1 -0
- package/dist/insights/settings/components/SettingsItem.d.ts +1 -0
- package/dist/insights/settings/components/Toast.d.ts +1 -0
- package/dist/insights/settings/hiddeninsights/components/CategoryEmptyState.d.ts +1 -0
- package/dist/insights/settings/hiddeninsights/components/HiddenInsightsDrawer.d.ts +1 -0
- package/dist/insights/settings/hiddeninsights/components/HiddenInsightsDrawerWrapper.d.ts +1 -0
- package/dist/insights/settings/hiddeninsights/components/SubCategoryDrawer.d.ts +1 -0
- package/dist/insights/settings/manageaccounts/components/AccountGroup.d.ts +1 -0
- package/dist/insights/settings/manageaccounts/components/ManageAccountsDrawer.d.ts +1 -0
- package/dist/insights/settings/manageaccounts/types/index.d.ts +1 -0
- package/dist/insights/store/BeatStore.d.ts +1 -0
- package/dist/insights/utils/beatTemplateCategories.d.ts +1 -0
- package/dist/merchants/api/MerchantApi.d.ts +1 -0
- package/dist/merchants/components/MerchantLookup.d.ts +1 -0
- package/dist/merchants/stores/MerchantStore.d.ts +1 -0
- package/dist/microinsights/analytics.d.ts +1 -0
- package/dist/microinsights/components/beatCard/BeatCard.d.ts +1 -0
- package/dist/microinsights/components/beaticons/BeatCategoryIcon.d.ts +1 -0
- package/dist/microinsights/components/beaticons/BeatIcon.d.ts +1 -0
- package/dist/microinsights/components/beaticons/BeatMerchantLogo.d.ts +1 -0
- package/dist/microinsights/components/beaticons/ChartFilledIcon.d.ts +1 -0
- package/dist/microinsights/components/beaticons/MonthlySpendComparisonIcon.d.ts +2 -1
- package/dist/microinsights/components/carouselheader/CarouselHeader.d.ts +1 -0
- package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget.d.ts +1 -0
- package/dist/microinsights/components/microBeatCarousel/CarouselControls.d.ts +1 -0
- package/dist/microinsights/components/microBeatCarousel/MicroBeatCarousel.d.ts +1 -0
- package/dist/microinsights/components/microInsightCard/MicroInsightCard.d.ts +1 -0
- package/dist/microinsights/components/noRelevantInsightsCard/NoRelevantInsightsCard.d.ts +1 -0
- package/dist/microinsights/components/spinner/Spinner.d.ts +1 -0
- package/dist/microinsights/components/viewMoreMicroCard/ViewMoreMicroCard.d.ts +1 -0
- package/dist/microinsights/components/zeroStateCard/ZeroStateCard.d.ts +1 -0
- package/dist/microinsights/constants/Analytics.d.ts +1 -0
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +1 -0
- package/dist/microinsights/interfaces.d.ts +1 -0
- package/dist/microinsights/stores/AppStore.d.ts +1 -0
- package/dist/microinsights/stores/CopyStore.d.ts +1 -0
- package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +1 -0
- package/dist/microinsights/types/BeatUIComponent.d.ts +1 -0
- package/dist/microinsights/utils/DataSeries.d.ts +1 -0
- package/dist/notifications/components/DateRow.d.ts +1 -0
- package/dist/notifications/components/NotificationBadge.d.ts +1 -0
- package/dist/notifications/components/NotificationCard.d.ts +1 -0
- package/dist/notifications/components/NotificationList.d.ts +1 -0
- package/dist/notifications/stores/NotificationStore.d.ts +1 -0
- package/dist/notifications/utils/NotificationUtils.d.ts +1 -0
- package/dist/recurringactivity/RecurringActivityMiniWidget.d.ts +1 -0
- package/dist/recurringactivity/RecurringActivityWidget.d.ts +1 -0
- package/dist/recurringactivity/components/ActivityDetails.d.ts +1 -0
- package/dist/recurringactivity/components/ActivityList.d.ts +1 -0
- package/dist/recurringactivity/components/ActivityRow.d.ts +1 -0
- package/dist/recurringactivity/components/ActivityStatus.d.ts +1 -0
- package/dist/recurringactivity/components/MiniWidgetContent.d.ts +1 -0
- package/dist/recurringactivity/components/actions/FrequencyAction.d.ts +1 -0
- package/dist/recurringactivity/components/actions/PaymentDateAction.d.ts +1 -0
- package/dist/recurringactivity/components/activitycalendar/ActivityDay.d.ts +1 -0
- package/dist/recurringactivity/components/shared/activitysettings/AddActivity.d.ts +1 -0
- package/dist/recurringactivity/components/shared/activitysettings/AddActivityDetails.d.ts +1 -0
- package/dist/recurringactivity/components/shared/activitysettings/SelectTransaction.d.ts +1 -0
- package/dist/recurringactivity/stores/RecurringActivityStore.d.ts +1 -0
- package/dist/recurringactivity/util/RecurringActivityUtils.d.ts +1 -0
- package/dist/recurringactivity/util/buildActivities.d.ts +1 -0
- package/dist/recurringactivity/util/buildNewActivity.d.ts +1 -0
- package/dist/recurringactivity/util/getRecurrence.d.ts +1 -0
- package/dist/recurringactivity/util/getStatus.d.ts +1 -0
- package/dist/recurringactivity/util/updateActivity.d.ts +1 -0
- package/dist/spending/SpendingMiniWidget.d.ts +1 -0
- package/dist/spending/SpendingWidget.d.ts +1 -0
- package/dist/spending/components/SpendingChart.d.ts +1 -0
- package/dist/spending/components/SpendingDonut.d.ts +1 -0
- package/dist/spending/components/SpendingLegend.d.ts +1 -0
- package/dist/spending/components/SpendingList.d.ts +1 -0
- package/dist/spending/components/SpendingTabLabel.d.ts +1 -0
- package/dist/spending/utils/SpendingData.d.ts +1 -0
- package/dist/transactions/TransactionWidget.d.ts +1 -0
- package/dist/transactions/analytics.d.ts +1 -0
- package/dist/transactions/api/TransactionApi.d.ts +1 -0
- package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -0
- package/dist/transactions/components/shared/TransactionList.d.ts +1 -0
- package/dist/transactions/components/shared/TransactionTable.d.ts +1 -0
- package/dist/transactions/components/shared/transactiondetails/Description.d.ts +1 -0
- package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +1 -0
- package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.d.ts +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.d.ts +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.d.ts +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.d.ts +1 -0
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +1 -0
- package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +1 -0
- package/dist/transactions/components/shared/transactionlist/ZeroState.d.ts +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/AccountCell.d.ts +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/AmountCell.d.ts +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/CategoryCell.d.ts +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/DateCell.d.ts +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/FlagCell.d.ts +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/HeaderCell.d.ts +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.d.ts +1 -0
- package/dist/transactions/components/splitmanager/SplitManager.d.ts +1 -0
- package/dist/transactions/components/splitmanager/SplitRow.d.ts +1 -0
- package/dist/transactions/components/tagmanager/SearchBox.d.ts +1 -0
- package/dist/transactions/components/tagmanager/TagManager.d.ts +1 -0
- package/dist/transactions/components/tagmanager/TagRow.d.ts +1 -0
- package/dist/transactions/components/transactionwidget/AddAccountModal.d.ts +1 -0
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +1 -0
- package/dist/transactions/constants/Transaction.d.ts +1 -0
- package/dist/transactions/stores/TransactionStore.d.ts +1 -0
- package/dist/transactions/stores/UiStore.d.ts +1 -0
- package/dist/transactions/utils/Filters.d.ts +1 -0
- package/dist/transactions/utils/Transactions.d.ts +1 -0
- package/dist/transactions/utils/buildDetailedTransactions.d.ts +1 -0
- package/dist/transactions/utils/exportTransactionsToCSV.d.ts +1 -0
- package/dist/transactions/utils/sortAndFilterTransactions.d.ts +1 -0
- package/dist/trends/TrendsFullWidget.d.ts +1 -0
- package/dist/trends/TrendsMiniWidget.d.ts +1 -0
- package/dist/trends/components/TrendsTable.d.ts +1 -0
- package/dist/trends/components/trendstable/AmountCell.d.ts +1 -0
- package/dist/trends/components/trendstable/CategoryCell.d.ts +1 -0
- package/dist/trends/components/trendstable/HeaderCell.d.ts +1 -0
- package/dist/trends/utils/index.d.ts +1 -0
- package/package.json +39 -43
@@ -8,6 +8,7 @@ export * from './donuts';
|
|
8
8
|
export * from './drawer';
|
9
9
|
export { default as MiniWidgetContainer } from './MiniWidgetContainer';
|
10
10
|
export { default as WidgetContainer } from './WidgetContainer';
|
11
|
+
export { default as ConnectDrawer } from './ConnectDrawer';
|
11
12
|
export { default as CurrencyInput } from './CurrencyInput';
|
12
13
|
export { default as Loader } from './Loader';
|
13
14
|
export { default as ResponsiveButton } from './ResponsiveButton';
|
@@ -1,3 +1,4 @@
|
|
1
1
|
import { AnalyticEventFunction, AnalyticPageviewFunction } from '../types';
|
2
|
+
|
2
3
|
export declare const useCombineEvents: (events: AnalyticEventFunction[], store: any) => (event: string) => void;
|
3
4
|
export declare const useCombinePageviews: (pages: AnalyticPageviewFunction[], store: any) => (event: string) => void;
|
@@ -11,6 +11,7 @@ import { RecurringActivityStore } from '../../recurringactivity';
|
|
11
11
|
import { TransactionStore } from '../../transactions';
|
12
12
|
import { UserStore } from './UserStore';
|
13
13
|
import { GlobalCopyStore } from './GlobalCopyStore';
|
14
|
+
|
14
15
|
export declare class GlobalStore {
|
15
16
|
accountStore: AccountStore;
|
16
17
|
beatStore: BeatStore;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { TransactionType } from './Transaction';
|
2
|
+
|
2
3
|
export type RepeatDay = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14' | '15' | '16' | '17' | '18' | '19' | '20' | '21' | '22' | '23' | '24' | '25' | '26' | '27' | '28' | '29' | '30' | '31';
|
3
4
|
export type RepeatDayOfWeek = '0#0' | '0#1' | '0#2' | '0#3' | '0#4' | '0#5' | '0#6' | '1#0' | '1#1' | '1#2' | '1#3' | '1#4' | '1#5' | '1#6' | '2#0' | '2#1' | '2#2' | '2#3' | '2#4' | '2#5' | '2#6' | '3#0' | '3#1' | '3#2' | '3#3' | '3#4' | '3#5' | '3#6' | '4#0' | '4#1' | '4#2' | '4#3' | '4#4' | '4#5' | '4#6';
|
4
5
|
export type RepeatInterval = '1' | '2' | '3';
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { AccountsCopy, BudgetsCopy, CashflowCopy, CategoryCopy, CommonCopy, ConnectCopy, InsightsFeedCopy, MicroInsightsCopy, NotificationsCopy, RecurringCopy, SpendingCopy, TransactionsCopy, TrendsCopy } from './localization';
|
2
|
+
|
2
3
|
export interface GlobalCopy {
|
3
4
|
accounts: AccountsCopy;
|
4
5
|
budgets: BudgetsCopy;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { BasicAnalyticsEvent, BasicAnalyticsPageview } from '../types';
|
2
|
-
|
2
|
+
|
3
|
+
export declare const analyticsSession: (endpoint: string, token: string, version?: string, featureName?: string) => Promise<{
|
3
4
|
sendAnalyticEvent: (event: BasicAnalyticsEvent) => Promise<any>;
|
4
5
|
sendAnalyticsPageview: (pageview: BasicAnalyticsPageview) => Promise<any>;
|
5
6
|
}>;
|
@@ -1,8 +1,7 @@
|
|
1
1
|
export declare class Fetch {
|
2
2
|
endpoint: string;
|
3
3
|
headers: {};
|
4
|
-
|
5
|
-
constructor(endpoint: string, token: string, propagateError?: boolean);
|
4
|
+
constructor(endpoint: string, token: string);
|
6
5
|
get: (url: string) => Promise<any>;
|
7
6
|
post: (url: string, data?: any) => Promise<any>;
|
8
7
|
put: (url: string, data: any) => Promise<any>;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { DynamicCopyElement } from '../types';
|
2
|
+
|
2
3
|
export declare const buildDynamicCopy: (str: string, ...args: DynamicCopyElement[]) => string | DynamicCopyElement[];
|
3
4
|
export declare const buildPluralCopy: (strOne: string, strMulti: string, count: number, ...args: DynamicCopyElement[]) => string | DynamicCopyElement[];
|
4
5
|
export declare const getLocale: () => any;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { RoundingFunction } from 'numeral';
|
2
2
|
import { CurrencyCodes } from '../constants';
|
3
|
+
|
3
4
|
export declare const formatCurrency: (amount: number | undefined, formatting: string, roundingFunction?: RoundingFunction) => string;
|
4
5
|
export declare const getCurrencyCodes: () => CurrencyCodes;
|
5
6
|
export declare const isValidNumber: (value: any) => boolean;
|