@mx-cartographer/experiences 4.0.14-alpha.JB2 → 4.0.14-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.
Files changed (129) hide show
  1. package/CHANGELOG.md +0 -4
  2. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.d.ts +4 -1
  3. package/dist/accounts/index.d.ts +3 -0
  4. package/dist/accounts/stores/AccountStore.d.ts +3 -0
  5. package/dist/common/api/AppDataApi.d.ts +7 -0
  6. package/dist/common/api/UserApi.d.ts +2 -2
  7. package/dist/common/components/ListItemAction.d.ts +16 -0
  8. package/dist/common/components/index.d.ts +1 -0
  9. package/dist/common/constants/Analytics.d.ts +2 -0
  10. package/dist/common/constants/ApiEndpoints.d.ts +3 -0
  11. package/dist/common/stores/AppDataStore.d.ts +13 -0
  12. package/dist/common/stores/GlobalStore.d.ts +3 -1
  13. package/dist/common/stores/UserStore.d.ts +7 -4
  14. package/dist/common/types/AppData.d.ts +13 -0
  15. package/dist/common/types/Client.d.ts +82 -0
  16. package/dist/common/types/Debt.d.ts +7 -9
  17. package/dist/common/types/Goal.d.ts +12 -0
  18. package/dist/common/types/User.d.ts +12 -0
  19. package/dist/common/types/index.d.ts +4 -3
  20. package/dist/common/types/localization/GoalsCopy.d.ts +31 -0
  21. package/dist/debts/components/DebtDrawer.d.ts +7 -0
  22. package/dist/debts/components/DebtsChart.d.ts +5 -13
  23. package/dist/debts/components/DebtsTable.d.ts +4 -4
  24. package/dist/debts/components/SnowballCard.d.ts +5 -2
  25. package/dist/debts/components/debtsdrawer/DebtDetailsChart.d.ts +4 -0
  26. package/dist/debts/components/debtsdrawer/DebtDetailsContent.d.ts +4 -0
  27. package/dist/debts/components/debtsdrawer/DebtDetailsTab.d.ts +4 -0
  28. package/dist/debts/components/debtsdrawer/DebtScheduleTab.d.ts +4 -0
  29. package/dist/debts/components/debtsdrawer/DebtStatusCard.d.ts +7 -0
  30. package/dist/debts/hooks/useDebtsUiStore.d.ts +1 -0
  31. package/dist/debts/store/DebtsStore.d.ts +2 -0
  32. package/dist/debts/store/DebtsUiStore.d.ts +10 -0
  33. package/dist/debts/utils/DebtStore.d.ts +1 -2
  34. package/dist/debts/utils/DebtsChart.d.ts +2 -0
  35. package/dist/debts/utils/DebtsWidget.d.ts +10 -9
  36. package/dist/debts/utils/SnowballCard.d.ts +2 -2
  37. package/dist/goals/api/GoalApi.d.ts +9 -2
  38. package/dist/goals/components/AccountSelectionDrawer.d.ts +10 -0
  39. package/dist/goals/components/AddGoal.d.ts +6 -0
  40. package/dist/goals/components/GoalDetails.d.ts +3 -1
  41. package/dist/goals/components/GoalDetailsDrawer.d.ts +8 -0
  42. package/dist/goals/components/actions/AccountAction.d.ts +6 -0
  43. package/dist/goals/components/actions/AddRetirementAccountAction.d.ts +6 -0
  44. package/dist/goals/components/actions/AmountToSaveAction.d.ts +6 -0
  45. package/dist/goals/components/actions/BirthdayAction.d.ts +8 -0
  46. package/dist/goals/components/actions/ChangeAccountAction.d.ts +6 -0
  47. package/dist/goals/components/actions/GoalNameAction.d.ts +8 -0
  48. package/dist/goals/components/actions/InterestRateAction.d.ts +6 -0
  49. package/dist/goals/components/actions/MonthlyPaymentAction.d.ts +6 -0
  50. package/dist/goals/components/actions/OriginalBalanceAction.d.ts +6 -0
  51. package/dist/goals/components/actions/RetirementAgeAction.d.ts +6 -0
  52. package/dist/goals/components/addgoal/AddGoalListItem.d.ts +8 -0
  53. package/dist/goals/stores/GoalStore.d.ts +11 -1
  54. package/dist/goals/util/GoalsUtil.d.ts +15 -1
  55. package/dist/index.es.js +18763 -12
  56. package/dist/index.es.js.map +1 -1
  57. package/package.json +4 -21
  58. package/dist/AccountStore-B23-oV1B.mjs +0 -244
  59. package/dist/AccountStore-B23-oV1B.mjs.map +0 -1
  60. package/dist/BeatApi-BxXgbSJY.mjs +0 -99
  61. package/dist/BeatApi-BxXgbSJY.mjs.map +0 -1
  62. package/dist/BudgetUtil-BSn9Zr71.mjs +0 -208
  63. package/dist/BudgetUtil-BSn9Zr71.mjs.map +0 -1
  64. package/dist/CashflowApi-zcebgnO1.mjs +0 -103
  65. package/dist/CashflowApi-zcebgnO1.mjs.map +0 -1
  66. package/dist/CashflowStore-gPEEBiXo.mjs +0 -53
  67. package/dist/CashflowStore-gPEEBiXo.mjs.map +0 -1
  68. package/dist/Categories-XVFviD23.mjs +0 -117
  69. package/dist/Categories-XVFviD23.mjs.map +0 -1
  70. package/dist/CategoryStore-CSNSMNA6.mjs +0 -298
  71. package/dist/CategoryStore-CSNSMNA6.mjs.map +0 -1
  72. package/dist/ConnectMiniWidget-Ep65CtHH.mjs +0 -10854
  73. package/dist/ConnectMiniWidget-Ep65CtHH.mjs.map +0 -1
  74. package/dist/DebtsStore-Duf3n1vZ.mjs +0 -127
  75. package/dist/DebtsStore-Duf3n1vZ.mjs.map +0 -1
  76. package/dist/Donut-DgMeKScZ.mjs +0 -53
  77. package/dist/Donut-DgMeKScZ.mjs.map +0 -1
  78. package/dist/Fetch-DpUi1_Dx.mjs +0 -99
  79. package/dist/Fetch-DpUi1_Dx.mjs.map +0 -1
  80. package/dist/GoalStore-BYoRLx99.mjs +0 -128
  81. package/dist/GoalStore-BYoRLx99.mjs.map +0 -1
  82. package/dist/MerchantStore-RhLvDvX-.mjs +0 -118
  83. package/dist/MerchantStore-RhLvDvX-.mjs.map +0 -1
  84. package/dist/NetWorthStore-syD1VnxE.mjs +0 -66
  85. package/dist/NetWorthStore-syD1VnxE.mjs.map +0 -1
  86. package/dist/NotificationStore-CqTYHfJC.mjs +0 -141
  87. package/dist/NotificationStore-CqTYHfJC.mjs.map +0 -1
  88. package/dist/RecurringActivityStore-B_COvGWG.mjs +0 -304
  89. package/dist/RecurringActivityStore-B_COvGWG.mjs.map +0 -1
  90. package/dist/StackedLineChart-CCqGRwvs.mjs +0 -342
  91. package/dist/StackedLineChart-CCqGRwvs.mjs.map +0 -1
  92. package/dist/TransactionStore-BUrjBWkk.mjs +0 -478
  93. package/dist/TransactionStore-BUrjBWkk.mjs.map +0 -1
  94. package/dist/index.es10.js +0 -107
  95. package/dist/index.es10.js.map +0 -1
  96. package/dist/index.es11.js +0 -159
  97. package/dist/index.es11.js.map +0 -1
  98. package/dist/index.es12.js +0 -483
  99. package/dist/index.es12.js.map +0 -1
  100. package/dist/index.es13.js +0 -620
  101. package/dist/index.es13.js.map +0 -1
  102. package/dist/index.es14.js +0 -788
  103. package/dist/index.es14.js.map +0 -1
  104. package/dist/index.es15.js +0 -891
  105. package/dist/index.es15.js.map +0 -1
  106. package/dist/index.es16.js +0 -962
  107. package/dist/index.es16.js.map +0 -1
  108. package/dist/index.es17.js +0 -1904
  109. package/dist/index.es17.js.map +0 -1
  110. package/dist/index.es2.js +0 -11
  111. package/dist/index.es2.js.map +0 -1
  112. package/dist/index.es3.js +0 -10
  113. package/dist/index.es3.js.map +0 -1
  114. package/dist/index.es4.js +0 -9
  115. package/dist/index.es4.js.map +0 -1
  116. package/dist/index.es5.js +0 -7
  117. package/dist/index.es5.js.map +0 -1
  118. package/dist/index.es6.js +0 -7
  119. package/dist/index.es6.js.map +0 -1
  120. package/dist/index.es7.js +0 -10
  121. package/dist/index.es7.js.map +0 -1
  122. package/dist/index.es8.js +0 -10
  123. package/dist/index.es8.js.map +0 -1
  124. package/dist/index.es9.js +0 -18
  125. package/dist/index.es9.js.map +0 -1
  126. package/dist/useCombineEvents-CZUDHE96.mjs +0 -170
  127. package/dist/useCombineEvents-CZUDHE96.mjs.map +0 -1
  128. package/dist/usePrevious-BLb3umpI.mjs +0 -11
  129. package/dist/usePrevious-BLb3umpI.mjs.map +0 -1
@@ -0,0 +1,6 @@
1
+ import { Account } from '../../../common';
2
+ interface AccountActionProps {
3
+ account: Account;
4
+ }
5
+ export declare const AccountAction: ({ account }: AccountActionProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import { Goal } from '../../../common';
2
+ interface AddRetirementAccountActionProps {
3
+ goal: Goal;
4
+ }
5
+ export declare const AddRetirementAccountAction: ({ goal }: AddRetirementAccountActionProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import { Goal } from '../../../common';
2
+ interface AmountToSaveActionProps {
3
+ goal: Goal;
4
+ }
5
+ export declare const AmountToSaveAction: ({ goal }: AmountToSaveActionProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,8 @@
1
+ import { Goal } from '../../../common';
2
+ interface BirthdayActionProps {
3
+ goal: Goal;
4
+ }
5
+ export declare const BirthdayAction: (({ goal }: BirthdayActionProps) => import("react/jsx-runtime").JSX.Element) & {
6
+ displayName: string;
7
+ };
8
+ export {};
@@ -0,0 +1,6 @@
1
+ import { Goal } from '../../../common';
2
+ interface ChangeAccountProps {
3
+ goal: Goal;
4
+ }
5
+ export declare const ChangeAccountAction: ({ goal }: ChangeAccountProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,8 @@
1
+ import { Goal } from '../../../common';
2
+ interface GoalNameActionProps {
3
+ goal: Goal;
4
+ }
5
+ export declare const GoalNameAction: (({ goal }: GoalNameActionProps) => import("react/jsx-runtime").JSX.Element) & {
6
+ displayName: string;
7
+ };
8
+ export {};
@@ -0,0 +1,6 @@
1
+ import { Goal } from '../../../common';
2
+ interface InterestRateActionProps {
3
+ goal: Goal;
4
+ }
5
+ export declare const InterestRateAction: ({ goal }: InterestRateActionProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import { Goal } from '../../../common';
2
+ interface MonthlyPaymentActionProps {
3
+ goal: Goal;
4
+ }
5
+ export declare const MonthlyPaymentAction: ({ goal }: MonthlyPaymentActionProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import { Goal } from '../../../common';
2
+ interface OriginalBalanceActionProps {
3
+ goal: Goal;
4
+ }
5
+ export declare const OriginalBalanceAction: ({ goal }: OriginalBalanceActionProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import { Goal } from '../../../common';
2
+ interface RetirementAgeActionProps {
3
+ goal: Goal;
4
+ }
5
+ export declare const RetirementAgeAction: ({ goal }: RetirementAgeActionProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,8 @@
1
+ import { MetaType, TrackType } from '../../../common';
2
+ import { GoalType } from '../../util/GoalsUtil';
3
+ interface AddGoalListItemProps {
4
+ goalType: GoalType;
5
+ onClick: (name: string, metaType: MetaType, type: TrackType) => void;
6
+ }
7
+ export declare const AddGoalListItem: ({ goalType, onClick }: AddGoalListItemProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -1,15 +1,25 @@
1
1
  import { GoalApi } from '../api/GoalApi';
2
- import { Goal, GlobalStore } from '../../common';
2
+ import { Goal, GlobalStore, RetirementGoalAccount } from '../../common';
3
3
  export declare class GoalStore {
4
4
  api: GoalApi;
5
5
  globalStore: GlobalStore;
6
6
  goals: Goal[];
7
+ retirementGoalAccounts: RetirementGoalAccount[];
8
+ newRetirementGoalAccounts: RetirementGoalAccount[];
7
9
  selectedGoal: Goal | undefined;
8
10
  constructor(globalStore: GlobalStore);
9
11
  initialize: (endpoint: string, token: string) => Promise<void>;
10
12
  get debtGoals(): Goal[];
11
13
  get retirementGoals(): Goal[];
12
14
  get savingsGoals(): Goal[];
15
+ addGoal: (goal: Goal) => Promise<void>;
16
+ addRetirementGoal: (goal: Goal) => Promise<void>;
17
+ addRetirementGoalAccount: (account: RetirementGoalAccount) => Promise<void>;
13
18
  loadGoals: () => Promise<void>;
19
+ deleteGoal: (guid: string) => Promise<void>;
20
+ deleteRetirementGoal: (goal: Goal) => Promise<void>;
21
+ deleteRetirementGoalAccount: (guid: string) => Promise<void>;
22
+ setNewRetirementGoalAccounts: (accounts: RetirementGoalAccount[]) => void;
14
23
  setSelectedGoal: (goal: Goal | undefined) => Goal | undefined;
24
+ updateGoal: (goal: Goal) => Promise<void>;
15
25
  }
@@ -1,4 +1,5 @@
1
- import { Goal, GoalsCopy } from '../../common';
1
+ import { IconList } from '@mxenabled/mx-icons';
2
+ import { Goal, GoalsCopy, TrackType, MetaType } from '../../common';
2
3
  export interface GoalStatusData {
3
4
  backgroundColor: string;
4
5
  color: string;
@@ -6,4 +7,17 @@ export interface GoalStatusData {
6
7
  percentageText: string;
7
8
  projectedText: string;
8
9
  }
10
+ export type GoalType = {
11
+ bgcolor: string;
12
+ icon: keyof typeof IconList;
13
+ label: string;
14
+ description: string;
15
+ subTypes: {
16
+ icon: keyof typeof IconList;
17
+ label: string;
18
+ metaType: MetaType;
19
+ }[];
20
+ type: TrackType;
21
+ };
9
22
  export declare function getGoalStatusData(copy: GoalsCopy, goal: Goal): GoalStatusData;
23
+ export declare function getGoalTypes(copy: GoalsCopy): GoalType[];