@mx-cartographer/experiences 8.0.0-alpha.bb4 → 8.0.0-alpha.sms1
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/dist/{Account-B4CDD-zq.mjs → Account-BDXA6PWh.mjs} +1 -1
- package/dist/AccountDetailsContent-CUztd3-b.mjs +683 -0
- package/dist/{AccountDetailsHeader-DRjFuyJT.mjs → AccountDetailsHeader-i3KFhNuo.mjs} +18 -18
- package/dist/{AccountFields-Cl4KHoSj.mjs → AccountFields-QZspYAji.mjs} +10 -12
- package/dist/AccountListItem-DX5upmCS.mjs +90 -0
- package/dist/{AccountStore-HbVblv86.mjs → AccountStore-BcnDpyLL.mjs} +3 -3
- package/dist/{Accounts-CRUehOiy.mjs → Accounts-DXfZotRC.mjs} +1 -1
- package/dist/{BudgetUtil-Jv8h9H9l.mjs → BudgetUtil-Df2nII9u.mjs} +31 -31
- package/dist/{CashflowStore-CA190BPF.mjs → CashflowStore-D9Dpuz7X.mjs} +25 -18
- package/dist/{Category-Ccoew_sA.mjs → Category-CevNQ03n.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-Dl006GKy.mjs → CategorySelectorDrawer-DqJK_rrL.mjs} +27 -27
- package/dist/{CategoryStore-MUwRWH9e.mjs → CategoryStore-DTgyAMM7.mjs} +2 -2
- package/dist/{CategoryUtil-DfVKKkRf.mjs → CategoryUtil-C5cR-nfQ.mjs} +4 -4
- package/dist/{ConnectDrawer-DVp54lUH.mjs → ConnectDrawer-BIbTqYOH.mjs} +47 -48
- package/dist/{ConnectionsDrawer-Dsc04-4Z.mjs → ConnectionsDrawer-BFfY3_zB.mjs} +2 -2
- package/dist/CurrencyInput-BFKcs-_K.mjs +85 -0
- package/dist/{DateUtil-CDPZw_-m.mjs → DateUtil-CBdcsyuk.mjs} +1 -1
- package/dist/{DebtsStore-pL63fmdT.mjs → DebtsStore-BbJB0nmu.mjs} +3 -3
- package/dist/{Dialog-CDV0kKxj.mjs → Dialog-BPTr3qHE.mjs} +24 -24
- package/dist/{Drawer-BF40nbsH.mjs → Drawer-BEtCk82g.mjs} +17 -17
- package/dist/{ExportCsvAction-QhQK4_FU.mjs → ExportCsvAction-DzTrtPzk.mjs} +3 -3
- package/dist/{FinstrongStore-BGf36b0z.mjs → FinstrongStore-BIrX0Xg2.mjs} +56 -56
- package/dist/{GoalStore-C1-w3Y1E.mjs → GoalStore-DpWY3gVb.mjs} +4 -4
- package/dist/HeaderCell-DjuifqHJ.mjs +6 -0
- package/dist/{Help-DBfsTkAi.mjs → Help-BnPXM_N2.mjs} +145 -124
- package/dist/{Help-c-zHlDbv.mjs → Help-DhcC-C05.mjs} +8 -8
- package/dist/{IconBacking-DgT8DCeh.mjs → IconBacking-B9oC6uL2.mjs} +11 -11
- package/dist/{LineChart-C1PxNf7P.mjs → LineChart-bc1D9xBE.mjs} +78 -78
- package/dist/{ListItemAction-BNCWQAN_.mjs → ListItemAction-uobBrm_a.mjs} +1 -1
- package/dist/Loader-DUaFpDGv.mjs +24 -0
- package/dist/{ManageIncome-8EsStyIQ.mjs → ManageIncome-NpXHhO1n.mjs} +46 -46
- package/dist/MicroWidgetContainer-DEiRnYVa.mjs +45 -0
- package/dist/MiniWidgetContainer-CmXpTylX.mjs +56 -0
- package/dist/{NetWorthStore-Bti6u-d9.mjs → NetWorthStore-lsuhEpn6.mjs} +4 -4
- package/dist/{NotificationSettings-B74rQVYC.mjs → NotificationSettings-CNmJWVeI.mjs} +77 -77
- package/dist/{OriginalBalanceAction-2Y_3U_mg.mjs → OriginalBalanceAction-DK8_LkPz.mjs} +8 -8
- package/dist/{RecurringSettings-DAncu--R.mjs → RecurringSettings-CqZh1SQa.mjs} +3 -3
- package/dist/{RecurringTransactions-CxcSL1dY.mjs → RecurringTransactions-BKcYmpv3.mjs} +77 -77
- package/dist/{RecurringTransactionsStore-CNFxyGB6.mjs → RecurringTransactionsStore-Ni5tSQIO.mjs} +1 -1
- package/dist/{ResponsiveButton-Cn6-R7ue.mjs → ResponsiveButton-DZFp78fJ.mjs} +10 -10
- package/dist/SearchBox-B2_zLv8-.mjs +42 -0
- package/dist/{SettingsStore-BASMQSIp.mjs → SettingsStore-krIRNwHK.mjs} +1 -1
- package/dist/{SingleSegmentDonut-7Uy6VEld.mjs → SingleSegmentDonut-BgbLgwHi.mjs} +6 -6
- package/dist/{SpendingData-DPQ96k3x.mjs → SpendingData-BuJ03S9d.mjs} +4 -4
- package/dist/{SpendingLegend-6FqtMcBV.mjs → SpendingLegend-CjX-hX2O.mjs} +12 -12
- package/dist/{StatusBar-CPfSXe80.mjs → StatusBar-BK_uYHAB.mjs} +6 -6
- package/dist/{TabContentContainer-CnMXkVqr.mjs → TabContentContainer-j01JYR_7.mjs} +8 -8
- package/dist/TransactionDetails-5M2vfr59.mjs +1379 -0
- package/dist/{TransactionStore-DbwAutwC.mjs → TransactionStore-D-Q3BU9Z.mjs} +58 -41
- package/dist/{TrendsStore-_mRaFUdf.mjs → TrendsStore-BW9FGQeE.mjs} +37 -37
- package/dist/{User-BklmOUSd.mjs → User-wXzDI4M8.mjs} +107 -107
- package/dist/{ViewMoreMicroCard-DAkyNRlD.mjs → ViewMoreMicroCard-C0832BMe.mjs} +233 -231
- package/dist/{WidgetContainer-CDh9fjpR.mjs → WidgetContainer-BhQ1Kx2z.mjs} +36 -36
- package/dist/accounts/index.es.js +94 -94
- package/dist/analytics/index.es.js +27 -27
- package/dist/budgets/index.es.js +251 -250
- package/dist/cashflow/index.es.js +158 -157
- package/dist/categories/index.es.js +2 -2
- package/dist/common/components/Loader.d.ts +2 -1
- package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
- package/dist/common/components/barchart/Bar.d.ts +25 -0
- package/dist/common/components/barchart/BarChart.d.ts +34 -0
- package/dist/common/components/barchart/BarColumn.d.ts +37 -0
- package/dist/common/components/barchart/Legend.d.ts +8 -0
- package/dist/common/components/barchart/Util.d.ts +42 -0
- package/dist/common/components/barchart/index.d.ts +1 -0
- package/dist/common/components/charts/linechart/CustomMark.d.ts +1 -1
- package/dist/common/components/index.d.ts +1 -0
- package/dist/common/index.es.js +660 -395
- package/dist/common/utils/Theme.d.ts +3 -1
- package/dist/dashboard/index.es.js +21 -21
- package/dist/debts/components/DebtsChart.d.ts +2 -1
- package/dist/debts/index.es.js +440 -440
- package/dist/{exportTransactionsToCSV-BgV_wTLT.mjs → exportTransactionsToCSV-Cz2t0lmA.mjs} +3 -3
- package/dist/finstrong/index.es.js +118 -118
- package/dist/goals/index.es.js +380 -386
- 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/investments/index.es.js +279 -278
- package/dist/merchants/index.es.js +7 -7
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/components/NetWorthChange.d.ts +1 -3
- package/dist/networth/index.es.js +185 -191
- package/dist/notifications/index.es.js +30 -30
- package/dist/recurringtransactions/index.es.js +85 -85
- package/dist/settings/index.es.js +270 -270
- package/dist/spending/index.es.js +44 -44
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +7 -0
- package/dist/transactions/index.es.js +169 -168
- package/dist/trends/index.es.js +318 -317
- package/dist/{useAccountDisplayName-CcIp09Xc.mjs → useAccountDisplayName-CFNF8766.mjs} +1 -1
- package/dist/{useCombineEvents-kNzLTWCp.mjs → useCombineEvents-CRwX-qWE.mjs} +2 -2
- package/dist/{useScreenSize-B5afALev.mjs → useScreenSize-B6JyS_Lj.mjs} +1 -1
- package/package.json +50 -45
- package/dist/AccountDetailsContent-adZTkM52.mjs +0 -683
- package/dist/AccountListItem-wgmlex-_.mjs +0 -90
- package/dist/CurrencyInput-D1cjbdCI.mjs +0 -85
- package/dist/HeaderCell-P8w6CmfO.mjs +0 -6
- package/dist/Loader-Ckqi9Rx6.mjs +0 -21
- package/dist/MicroWidgetContainer-BGpNl5ZS.mjs +0 -45
- package/dist/MiniWidgetContainer-CKzf_Ira.mjs +0 -56
- package/dist/SearchBox-B7km148n.mjs +0 -39
- package/dist/TransactionDetails-Bn0qY5Hw.mjs +0 -1336
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-
|
|
2
|
-
import { C as g } from "../CategoryStore-
|
|
1
|
+
import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-DqJK_rrL.mjs";
|
|
2
|
+
import { C as g } from "../CategoryStore-DTgyAMM7.mjs";
|
|
3
3
|
export {
|
|
4
4
|
o as CategoryRow,
|
|
5
5
|
a as CategorySelector,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
interface LoaderProps {
|
|
2
3
|
height?: number;
|
|
3
4
|
label?: string;
|
|
4
5
|
size?: number;
|
|
5
6
|
}
|
|
6
|
-
declare const Loader:
|
|
7
|
+
declare const Loader: React.FC<LoaderProps>;
|
|
7
8
|
export default Loader;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { Account } from '../../types';
|
|
2
|
+
import { Account } from '../../types/Account';
|
|
3
3
|
import { MappedAccount, MappedAccounts, MappedOptions } from '../../utils/AccountFilter';
|
|
4
4
|
export type AccountFilterOptionsCopy = {
|
|
5
5
|
accountTypeAccounts: string;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface BarProps {
|
|
3
|
+
ariaLabel?: string;
|
|
4
|
+
color: string;
|
|
5
|
+
height: number;
|
|
6
|
+
index: number;
|
|
7
|
+
label: string;
|
|
8
|
+
onClick?: (index: number) => void;
|
|
9
|
+
selectedIndex?: number;
|
|
10
|
+
value: number;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* The Bar component is what displays the colored (optionally clickable) bar
|
|
14
|
+
*
|
|
15
|
+
* @param ariaLabel OPTIONAL aria label used on the bar
|
|
16
|
+
* @param color The color of the bar
|
|
17
|
+
* @param height The pixel height of the bar
|
|
18
|
+
* @param index The index of the bar
|
|
19
|
+
* @param label The label to use above (on positive bars) or below (on negative bars)
|
|
20
|
+
* @param onClick OPTIONAL function to call if the bar is clicked
|
|
21
|
+
* @param selectedIndex OPTIONAL indicates the selected bar
|
|
22
|
+
* @param value Value representing the bar
|
|
23
|
+
*/
|
|
24
|
+
declare const Bar: React.FC<BarProps>;
|
|
25
|
+
export default Bar;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type BarChartData = {
|
|
3
|
+
ariaLabel: string;
|
|
4
|
+
label: string;
|
|
5
|
+
value: number;
|
|
6
|
+
};
|
|
7
|
+
export interface BarChartProps {
|
|
8
|
+
average?: number;
|
|
9
|
+
barWidth?: number | string;
|
|
10
|
+
color: string;
|
|
11
|
+
data: BarChartData[];
|
|
12
|
+
height: number;
|
|
13
|
+
legendLabelAverage: string;
|
|
14
|
+
legendLabelMain: string;
|
|
15
|
+
onBarClick?: (index: number) => void;
|
|
16
|
+
selectedIndex?: number;
|
|
17
|
+
valueFormatter?: (value: number) => string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* BarChart component to display a vertical bar chart given an array of data
|
|
21
|
+
*
|
|
22
|
+
* @param average OPTIONAL custom average not based on average or all value
|
|
23
|
+
* @param barWidth OPTIONAL pixel or percentage width of bars
|
|
24
|
+
* @param color Color of the bars
|
|
25
|
+
* @param data An array of chart data. Chart data must contain and aria label, label and value.
|
|
26
|
+
* @param height Height in pixels of the chart
|
|
27
|
+
* @param legendLabelAverage Label to use on legend for the average value
|
|
28
|
+
* @param legendLabelMain Label to use on the legend for the data
|
|
29
|
+
* @param onBarClick OPTIONAL function to call if bar is clicked
|
|
30
|
+
* @param selectedIndex OPTIONAL indicates the selected bar
|
|
31
|
+
* @param valueFormatter OPTIONAL function to call to format the value displayed with the bars
|
|
32
|
+
*/
|
|
33
|
+
declare const BarChart: React.FC<BarChartProps>;
|
|
34
|
+
export default BarChart;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface BarColumnProps {
|
|
3
|
+
ariaLabel?: string;
|
|
4
|
+
averageLineHeight: number;
|
|
5
|
+
bottomHeight: number;
|
|
6
|
+
color: string;
|
|
7
|
+
index?: number;
|
|
8
|
+
onClick?: (index: number) => void;
|
|
9
|
+
range: number;
|
|
10
|
+
selectedIndex?: number;
|
|
11
|
+
topHeight: number;
|
|
12
|
+
value: number;
|
|
13
|
+
valueLabel?: string;
|
|
14
|
+
width?: number | string;
|
|
15
|
+
xAxisLabel?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The BarColumn component represents a single vertical slice of the bar chart. It contains from top to bottom
|
|
19
|
+
* the positive section, which will only display a bar if value > 0, the zero line, the average line, negative
|
|
20
|
+
* section, which will only display a bar if value < 0 and the X-Axis label.
|
|
21
|
+
*
|
|
22
|
+
* @param ariaLabel OPTIONAL aria label used to label the bar
|
|
23
|
+
* @param averageLineHeight the pixel height above/below the zero line for the dashed average line
|
|
24
|
+
* @param bottomHeight the height of the bottom (negative) section
|
|
25
|
+
* @param color the color of the bar
|
|
26
|
+
* @param index OPTIONAL index of the bar (Only used when bar is clickable)
|
|
27
|
+
* @param onClick OPTIONAL function to call if the bar is clicked
|
|
28
|
+
* @param range
|
|
29
|
+
* @param selectedIndex OPTIONAL indicates the selected bar
|
|
30
|
+
* @param topHeight the pixel height of the top (positvie section)
|
|
31
|
+
* @param value the value for the bar
|
|
32
|
+
* @param valueLabel OPTIONAL string value to use for the bar
|
|
33
|
+
* @param width OPTIONAL pixel or percentage width of the bar
|
|
34
|
+
* @param xAxisLabel label for the X-Axis
|
|
35
|
+
*/
|
|
36
|
+
declare const BarColumn: React.FC<BarColumnProps>;
|
|
37
|
+
export default BarColumn;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns a sum
|
|
3
|
+
*
|
|
4
|
+
* @param acc accumulator
|
|
5
|
+
* @param value current value
|
|
6
|
+
*/
|
|
7
|
+
export declare const sumReducer: (acc: number, value: number) => number;
|
|
8
|
+
/**
|
|
9
|
+
* Returns the max range
|
|
10
|
+
*
|
|
11
|
+
* @param acc accumulator
|
|
12
|
+
* @param value current value
|
|
13
|
+
*/
|
|
14
|
+
export declare const rangeReducer: (acc: number, value: number) => number;
|
|
15
|
+
/**
|
|
16
|
+
* Returns an array with the value of an object added
|
|
17
|
+
*
|
|
18
|
+
* @param acc accumulator
|
|
19
|
+
* @param value current value
|
|
20
|
+
*/
|
|
21
|
+
export declare const valueReducer: (acc: number[], value: {
|
|
22
|
+
value: number;
|
|
23
|
+
}) => number[];
|
|
24
|
+
/**
|
|
25
|
+
* Returns full height if only the first section is visible, half height if both sections
|
|
26
|
+
* are visible and 0 if the first section is not visible
|
|
27
|
+
*
|
|
28
|
+
* @param hasSection1 If the first section is visible
|
|
29
|
+
* @param hasSection2 If the second section is visible
|
|
30
|
+
* @param fullHeight The full height
|
|
31
|
+
*/
|
|
32
|
+
export declare const getSectionHeight: (hasSection1: boolean, hasSection2: boolean, fullHeight: number) => number;
|
|
33
|
+
/**
|
|
34
|
+
* Returns the +/- pixel height of the average line. This is calcluated using the percentange of average
|
|
35
|
+
* to max value multiplied by the height. If the max value is less than 0, then we use negative min value.
|
|
36
|
+
*
|
|
37
|
+
* @param average The average value
|
|
38
|
+
* @param max The maximum value
|
|
39
|
+
* @param min The minimum value
|
|
40
|
+
* @param height The height of the container the average line displays in.
|
|
41
|
+
*/
|
|
42
|
+
export declare const getAverageLineHeight: (average: number, max: number, min: number, height: number) => number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BarChart } from './BarChart';
|
|
@@ -18,5 +18,5 @@ interface CustomMarkProps extends MarkElementProps {
|
|
|
18
18
|
labelFontSize?: number;
|
|
19
19
|
valueFormatterString?: string;
|
|
20
20
|
}
|
|
21
|
-
export declare const CustomMark:
|
|
21
|
+
export declare const CustomMark: React.FC<CustomMarkProps>;
|
|
22
22
|
export {};
|