@mx-cartographer/experiences 8.0.24 → 8.1.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.
Files changed (148) hide show
  1. package/CHANGELOG.md +8 -9
  2. package/dist/{AccountApi-ChQr5PAZ.mjs → AccountApi-WEM2M9tg.mjs} +1 -1
  3. package/dist/{AccountDetailsHeader-D9gbTbUt.mjs → AccountDetailsHeader-IPRH6Wja.mjs} +2 -2
  4. package/dist/{AccountFields-CxqONzjY.mjs → AccountFields-BbPSfzru.mjs} +3 -3
  5. package/dist/{AccountListItem-D9WJDbZ1.mjs → AccountListItem-qpACFl6i.mjs} +2 -2
  6. package/dist/{AccountStore-B7zfcad7.mjs → AccountStore-BeEiLNhW.mjs} +2 -2
  7. package/dist/Analytics-CjZ0emfs.mjs +53 -0
  8. package/dist/{Fetch-B6tMJC1r.mjs → ApiEndpoints-C5IA97i7.mjs} +48 -50
  9. package/dist/{BeatApi-EFHXULDx.mjs → BeatApi-C6pBa0Rb.mjs} +1 -1
  10. package/dist/{BeatStore-C6CAT-ce.mjs → BeatStore-DuvvrljY.mjs} +1 -1
  11. package/dist/{BudgetUtil-DZpOoZQa.mjs → BudgetUtil-CLh4xtj4.mjs} +60 -60
  12. package/dist/CategoryApi-CogDFScz.mjs +29 -0
  13. package/dist/{CategorySelectorDrawer-Dc9Widy9.mjs → CategorySelectorDrawer-BG04ByUx.mjs} +1 -1
  14. package/dist/CategoryStore-Bp1kO9Z-.mjs +160 -0
  15. package/dist/{CategoryUtil-BVixr0d5.mjs → CategoryUtil-DKRCegQv.mjs} +1 -1
  16. package/dist/{CurrencyInput-DuMktPu3.mjs → CurrencyInput-BkNVHxSV.mjs} +14 -13
  17. package/dist/{CurrencyText-CA-E5N_y.mjs → CurrencyText-oqd6cX3M.mjs} +1 -1
  18. package/dist/{DateFormats-BMpMrZpW.mjs → DateFormats-CaOj_4eI.mjs} +1 -1
  19. package/dist/{DateUtil-wcYTmDRD.mjs → DateUtil-C57sqxn4.mjs} +1 -1
  20. package/dist/{EmbeddedCard-qwIhF1VP.mjs → EmbeddedCard-j7IGx3s1.mjs} +5 -5
  21. package/dist/{ExportCsvAction-CHCmCCqf.mjs → ExportCsvAction-7sjz7AXQ.mjs} +1 -1
  22. package/dist/FinstrongApi-FpmsS_sy.mjs +19 -0
  23. package/dist/{FinstrongStore-BQxXxxYD.mjs → FinstrongStore-DgyDJTEP.mjs} +121 -137
  24. package/dist/GlobalCopyApi-DkS-2Zf_.mjs +41 -0
  25. package/dist/Goal-MFBpoOIC.mjs +29 -0
  26. package/dist/{GoalStore-fgXt--2Y.mjs → GoalStore-DcaT4fM6.mjs} +81 -104
  27. package/dist/{Help-BkmSY96v.mjs → Help-cTsMzSQh.mjs} +1 -1
  28. package/dist/{LineChart-EAr5ox5U.mjs → LineChart-DkD_s9NN.mjs} +1 -1
  29. package/dist/Localization-C_HZg9tJ.mjs +15 -0
  30. package/dist/Localization-CkQ49EKr.mjs +26 -0
  31. package/dist/{ManageIncome-DqqI9HB1.mjs → ManageIncome-DwSE_a8L.mjs} +20 -20
  32. package/dist/MerchantApi-D8ahYxiG.mjs +15 -0
  33. package/dist/MerchantStore-CyZTv-BM.mjs +26 -0
  34. package/dist/{NetWorthStore-BqZ44-4M.mjs → NetWorthStore-Ba3q3VcH.mjs} +1 -1
  35. package/dist/NotificationApi-DF0obHoR.mjs +20 -0
  36. package/dist/{NotificationSettings-DBT37CVB.mjs → NotificationSettings-DB-eNgSv.mjs} +3 -3
  37. package/dist/NotificationStore-DlAM5Ue0.mjs +69 -0
  38. package/dist/{NumberFormatting-QCaNwbjv.mjs → NumberFormatting-CyrvFgfd.mjs} +1 -1
  39. package/dist/{OriginalBalanceAction-DjpvVVFz.mjs → OriginalBalanceAction-AB1TGb5P.mjs} +2 -2
  40. package/dist/{RecurringSettings-OBGLelZQ.mjs → RecurringSettings-CZKeZC4m.mjs} +8 -8
  41. package/dist/{RecurringTransactions-BbZ6MQsX.mjs → RecurringTransactions-kzlU8OFY.mjs} +5 -5
  42. package/dist/{RecurringTransactionsStore-BE_eUfTC.mjs → RecurringTransactionsStore-D62Dt2BF.mjs} +76 -90
  43. package/dist/{RepeatingTransaction-DF4vJn_v.mjs → RepeatingTransaction-D2gmBTd0.mjs} +3 -3
  44. package/dist/RepeatingTransactionsApi-BNZgZPLs.mjs +17 -0
  45. package/dist/SettingsApi-D9d7SLhB.mjs +22 -0
  46. package/dist/{SettingsStore-BoIoiRLj.mjs → SettingsStore-Dsz1mvd3.mjs} +41 -60
  47. package/dist/{SpendingData-Bz1bCWAs.mjs → SpendingData-CoZOmlZD.mjs} +1 -1
  48. package/dist/{SpendingLegend-CypdabwS.mjs → SpendingLegend-DljKEG69.mjs} +2 -2
  49. package/dist/{Transaction-C3Pg9TKf.mjs → Transaction-Cn5_iFm0.mjs} +2 -2
  50. package/dist/{TransactionApi-Ck5Ua-7F.mjs → TransactionApi-CLG2eSNe.mjs} +1 -1
  51. package/dist/{TransactionDetails-I1ny1ecc.mjs → TransactionDetails-CN-yZkin.mjs} +9 -9
  52. package/dist/{TransactionStore-BUsgGRL1.mjs → TransactionStore-6ovFO8P1.mjs} +10 -10
  53. package/dist/{TrendsStore-CYdTo7cN.mjs → TrendsStore-DZa6cyQC.mjs} +1 -1
  54. package/dist/{ViewMoreMicroCard-BJOZcYnB.mjs → ViewMoreMicroCard-BsEitNRJ.mjs} +10 -9
  55. package/dist/WidgetApi-C0BA2cFX.mjs +102 -0
  56. package/dist/{WidgetContainer-DYKMArWw.mjs → WidgetContainer-Bc75FqK7.mjs} +1 -1
  57. package/dist/accounts/index.d.ts +0 -1
  58. package/dist/accounts/index.es.js +63 -65
  59. package/dist/accounts/stores/AccountStore.d.ts +1 -1
  60. package/dist/budgets/index.es.js +11 -11
  61. package/dist/budgets/store/BudgetsStore.d.ts +1 -1
  62. package/dist/cashflow/index.d.ts +0 -1
  63. package/dist/cashflow/index.es.js +428 -449
  64. package/dist/categories/index.es.js +2 -2
  65. package/dist/categories/stores/CategoryStore.d.ts +2 -1
  66. package/dist/common/components/Error.d.ts +11 -0
  67. package/dist/common/components/index.d.ts +1 -0
  68. package/dist/common/constants/index.d.ts +0 -1
  69. package/dist/common/index.d.ts +0 -1
  70. package/dist/common/index.es.js +391 -492
  71. package/dist/common/stores/AppDataStore.d.ts +2 -2
  72. package/dist/common/stores/ConnectStore.d.ts +1 -1
  73. package/dist/common/stores/GlobalCopyStore.d.ts +1 -1
  74. package/dist/common/stores/UserStore.d.ts +1 -1
  75. package/dist/common/utils/Localization.d.ts +0 -9
  76. package/dist/common/utils/index.d.ts +1 -2
  77. package/dist/{accounts → core}/api/AccountApi.d.ts +2 -2
  78. package/dist/{common → core}/api/AnalyticsApi.d.ts +1 -1
  79. package/dist/{common → core}/api/AppDataApi.d.ts +2 -2
  80. package/dist/{common → core}/api/BannerApi.d.ts +1 -1
  81. package/dist/{common → core}/api/BeatApi.d.ts +2 -2
  82. package/dist/{budgets → core}/api/BudgetsApi.d.ts +2 -2
  83. package/dist/{common → core}/api/CategoryApi.d.ts +2 -2
  84. package/dist/{finstrong → core}/api/FinstrongApi.d.ts +2 -2
  85. package/dist/{common → core}/api/GlobalCopyApi.d.ts +2 -2
  86. package/dist/{goals → core}/api/GoalApi.d.ts +2 -2
  87. package/dist/{help → core}/api/HelpApi.d.ts +2 -2
  88. package/dist/{investments → core}/api/HoldingApi.d.ts +2 -2
  89. package/dist/{merchants → core}/api/MerchantApi.d.ts +2 -2
  90. package/dist/{common → core}/api/NotificationApi.d.ts +2 -2
  91. package/dist/{recurringtransactions → core}/api/RepeatingTransactionsApi.d.ts +2 -2
  92. package/dist/{common → core}/api/ScheduledPaymentsApi.d.ts +2 -2
  93. package/dist/{settings → core}/api/SettingsApi.d.ts +2 -2
  94. package/dist/{transactions → core}/api/TransactionApi.d.ts +2 -2
  95. package/dist/{common → core}/api/UserApi.d.ts +2 -2
  96. package/dist/{common → core}/api/WidgetApi.d.ts +1 -1
  97. package/dist/core/api/index.d.ts +20 -0
  98. package/dist/{common → core}/constants/ApiEndpoints.d.ts +0 -2
  99. package/dist/core/constants/index.d.ts +1 -0
  100. package/dist/core/index.d.ts +2 -0
  101. package/dist/core/index.es.js +90 -38
  102. package/dist/{common → core}/utils/Fetch.d.ts +1 -1
  103. package/dist/core/utils/Localization.d.ts +9 -0
  104. package/dist/core/utils/index.d.ts +2 -0
  105. package/dist/debts/index.es.js +7 -7
  106. package/dist/{exportTransactionsToCSV-DgdB3TBt.mjs → exportTransactionsToCSV-Dnd5lVq7.mjs} +2 -2
  107. package/dist/finstrong/index.d.ts +0 -1
  108. package/dist/finstrong/index.es.js +16 -17
  109. package/dist/finstrong/stores/FinstrongStore.d.ts +1 -1
  110. package/dist/goals/index.d.ts +0 -1
  111. package/dist/goals/index.es.js +50 -51
  112. package/dist/goals/stores/GoalStore.d.ts +1 -1
  113. package/dist/help/index.es.js +2 -2
  114. package/dist/help/store/HelpStore.d.ts +1 -1
  115. package/dist/insights/index.es.js +6 -6
  116. package/dist/insights/store/BeatStore.d.ts +1 -1
  117. package/dist/investments/index.es.js +2 -2
  118. package/dist/investments/stores/HoldingStore.d.ts +1 -1
  119. package/dist/merchants/index.es.js +1 -1
  120. package/dist/merchants/stores/MerchantStore.d.ts +1 -1
  121. package/dist/microinsights/index.es.js +1 -1
  122. package/dist/microinsights/stores/CopyStore.d.ts +1 -1
  123. package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +1 -1
  124. package/dist/networth/index.es.js +8 -8
  125. package/dist/networth/stores/NetWorthStore.d.ts +1 -1
  126. package/dist/notifications/index.es.js +5 -5
  127. package/dist/notifications/stores/NotificationStore.d.ts +2 -1
  128. package/dist/recurringtransactions/index.es.js +26 -25
  129. package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +1 -1
  130. package/dist/settings/index.d.ts +0 -1
  131. package/dist/settings/index.es.js +65 -66
  132. package/dist/settings/stores/SettingsStore.d.ts +2 -2
  133. package/dist/spending/index.es.js +6 -6
  134. package/dist/transactions/index.d.ts +0 -1
  135. package/dist/transactions/index.es.js +22 -24
  136. package/dist/transactions/stores/TransactionStore.d.ts +3 -2
  137. package/dist/trends/index.es.js +14 -14
  138. package/package.json +1 -1
  139. package/dist/CategoryStore-FTxUbn0f.mjs +0 -186
  140. package/dist/Goal-0loDagc5.mjs +0 -6
  141. package/dist/Localization-CPkpIwIx.mjs +0 -37
  142. package/dist/MerchantStore-BzGi4JAZ.mjs +0 -37
  143. package/dist/NotificationStore-D_e8zo5M.mjs +0 -86
  144. package/dist/cashflow/api/CashflowApi.d.ts +0 -13
  145. package/dist/common/api/LocalizedCopyApi.d.ts +0 -8
  146. package/dist/common/api/index.d.ts +0 -10
  147. package/dist/repeatingTransactions-DHIG94pi.mjs +0 -4
  148. package/dist/useCombineEvents-Bqojlv8q.mjs +0 -92
@@ -1,6 +1,6 @@
1
- import { AppDataApi } from '../api/AppDataApi';
1
+ import { AppDataApi } from '../../core/api/AppDataApi';
2
2
  import { AppConfig, AppData, Banner, User, UserCommunicationProfile, UserProfile } from '../../core';
3
- import { BannerApi } from '../api';
3
+ import { BannerApi } from '../../core/api';
4
4
  import { GlobalStore } from './GlobalStore';
5
5
  export declare class AppDataStore {
6
6
  globalStore: GlobalStore;
@@ -1,4 +1,4 @@
1
- import { WidgetApi } from '../api';
1
+ import { WidgetApi } from '../../core/api/WidgetApi';
2
2
  import { GlobalStore } from '../../common';
3
3
  export declare class ConnectStore {
4
4
  globalStore: GlobalStore;
@@ -1,4 +1,4 @@
1
- import { GlobalCopyApi } from '../api';
1
+ import { GlobalCopyApi } from '../../core/api/GlobalCopyApi';
2
2
  import { GlobalCopy } from '../../core';
3
3
  import { GlobalStore } from './GlobalStore';
4
4
  export declare class GlobalCopyStore {
@@ -1,4 +1,4 @@
1
- import { UserApi } from '../api';
1
+ import { UserApi } from '../../core/api/UserApi';
2
2
  import { GlobalStore } from './GlobalStore';
3
3
  import { User, UserFeature, UserProfile } from '../../core';
4
4
  export declare class UserStore {
@@ -1,12 +1,3 @@
1
1
  import { DynamicCopyElement } from '../../core';
2
- export declare const LOCALES: {
3
- EN_US: string;
4
- EN_CA: string;
5
- FR: string;
6
- FR_CA: string;
7
- ES: string;
8
- };
9
- export declare const VALID_LOCALES: string[];
10
2
  export declare const buildDynamicCopy: (str: string, ...args: DynamicCopyElement[]) => string | DynamicCopyElement[];
11
3
  export declare const buildPluralCopy: (strOne: string, strMulti: string, count: number, ...args: DynamicCopyElement[]) => string | DynamicCopyElement[];
12
- export declare const getLocale: () => any;
@@ -1,7 +1,6 @@
1
1
  export { analyticsSession } from './Analytics';
2
2
  export { getCategory, getDetailedCategory, getDetailedSubCategory, getCategoryTotalsByParent, isIncome, } from './Categories';
3
3
  export { fromTimestampToMonthYear } from './DateUtil';
4
- export { Fetch } from './Fetch';
5
- export { buildDynamicCopy, buildPluralCopy, getLocale, LOCALES } from './Localization';
4
+ export { buildDynamicCopy, buildPluralCopy } from './Localization';
6
5
  export { formatCurrency, formatOrdinal, formatPercentage, getCurrencyCodes, isValidNumber, } from './NumberFormatting';
7
6
  export { getClientTheme } from './Theme';
@@ -1,5 +1,5 @@
1
- import { default as Fetch } from '../../common/utils/Fetch';
2
- import { Account, GlobalErrorHandler } from '../../core';
1
+ import { Fetch } from '../utils';
2
+ import { Account, GlobalErrorHandler } from '..';
3
3
  export declare class AccountApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
@@ -1,5 +1,5 @@
1
1
  import { Fetch } from '../utils';
2
- import { AnalyticsEvent, GlobalErrorHandler } from '../../core';
2
+ import { AnalyticsEvent, GlobalErrorHandler } from '..';
3
3
  export declare class AnalyticsApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
@@ -1,5 +1,5 @@
1
- import { default as Fetch } from '../utils/Fetch';
2
- import { AppData, GlobalErrorHandler } from '../../core';
1
+ import { Fetch } from '../utils';
2
+ import { AppData, GlobalErrorHandler } from '..';
3
3
  export declare class AppDataApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
@@ -1,4 +1,4 @@
1
- import { default as Fetch } from '../utils/Fetch';
1
+ import { Fetch } from '../utils';
2
2
  export declare class BannerApi {
3
3
  fetchInstance: Fetch | null;
4
4
  constructor(bullseyeEndpoint: string);
@@ -1,5 +1,5 @@
1
- import { default as Fetch } from '../utils/Fetch';
2
- import { Beat, GlobalErrorHandler } from '../../core';
1
+ import { Fetch } from '../utils';
2
+ import { Beat, GlobalErrorHandler } from '..';
3
3
  export declare class BeatApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
@@ -1,5 +1,5 @@
1
- import { Fetch } from '../../common';
2
- import { GlobalErrorHandler, Budget, Category } from '../../core';
1
+ import { Fetch } from '../utils';
2
+ import { GlobalErrorHandler, Budget, Category } from '..';
3
3
  export declare class BudgetsApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
@@ -1,5 +1,5 @@
1
- import { default as Fetch } from '../utils/Fetch';
2
- import { Account, Category, GlobalErrorHandler } from '../../core';
1
+ import { Fetch } from '../utils';
2
+ import { Account, Category, GlobalErrorHandler } from '..';
3
3
  export declare class CategoryApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
@@ -1,5 +1,5 @@
1
- import { Fetch } from '../../common';
2
- import { GlobalErrorHandler } from '../../core';
1
+ import { Fetch } from '../utils';
2
+ import { GlobalErrorHandler } from '..';
3
3
  export declare class FinstrongApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
@@ -1,5 +1,5 @@
1
- import { default as Fetch } from '../utils/Fetch';
2
- import { GlobalErrorHandler } from '../../core';
1
+ import { Fetch } from '../utils';
2
+ import { GlobalErrorHandler } from '..';
3
3
  export declare class GlobalCopyApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
@@ -1,5 +1,5 @@
1
- import { Fetch } from '../../common';
2
- import { MonthlyCashFlowProfile, RetirementGoalAccount, GlobalErrorHandler, Goal } from '../../core';
1
+ import { Fetch } from '../utils';
2
+ import { MonthlyCashFlowProfile, RetirementGoalAccount, GlobalErrorHandler, Goal } from '..';
3
3
  export declare class GoalApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
@@ -1,5 +1,5 @@
1
- import { Fetch } from '../../common';
2
- import { GlobalErrorHandler, Ticket } from '../../core';
1
+ import { Fetch } from '../utils';
2
+ import { GlobalErrorHandler, Ticket } from '..';
3
3
  export declare class HelpApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
@@ -1,5 +1,5 @@
1
- import { Fetch } from '../../common';
2
- import { GlobalErrorHandler, Holding } from '../../core';
1
+ import { Fetch } from '../utils';
2
+ import { GlobalErrorHandler, Holding } from '..';
3
3
  export declare class HoldingApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
@@ -1,5 +1,5 @@
1
- import { Fetch } from '../../common';
2
- import { GlobalErrorHandler } from '../../core';
1
+ import { Fetch } from '../utils';
2
+ import { GlobalErrorHandler } from '..';
3
3
  export declare class MerchantApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
@@ -1,5 +1,5 @@
1
- import { default as Fetch } from '../utils/Fetch';
2
- import { Notification, GlobalErrorHandler } from '../../core';
1
+ import { Fetch } from '../utils';
2
+ import { Notification, GlobalErrorHandler } from '..';
3
3
  export declare class NotificationApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
@@ -1,5 +1,5 @@
1
- import { Fetch } from '../../common';
2
- import { GlobalErrorHandler, RepeatingTransaction } from '../../core';
1
+ import { Fetch } from '../utils';
2
+ import { GlobalErrorHandler, RepeatingTransaction } from '..';
3
3
  export declare class RepeatingTransactionsApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
@@ -1,5 +1,5 @@
1
- import { Fetch } from '../../common';
2
- import { ScheduledPayment, GlobalErrorHandler } from '../../core';
1
+ import { Fetch } from '../utils';
2
+ import { ScheduledPayment, GlobalErrorHandler } from '..';
3
3
  export declare class ScheduledPaymentsApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
@@ -1,5 +1,5 @@
1
- import { default as Fetch } from '../../common/utils/Fetch';
2
- import { UserCommunicationProfile, Device, GlobalErrorHandler, NotificationProfile } from '../../core';
1
+ import { Fetch } from '../utils';
2
+ import { UserCommunicationProfile, Device, GlobalErrorHandler, NotificationProfile } from '..';
3
3
  export declare class SettingsApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
@@ -1,5 +1,5 @@
1
- import { Fetch } from '../../common';
2
- import { GlobalErrorHandler, Tag, Tagging, Transaction, TransactionRule } from '../../core';
1
+ import { Fetch } from '../utils';
2
+ import { GlobalErrorHandler, Tag, Tagging, Transaction, TransactionRule } from '..';
3
3
  export declare class TransactionApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
@@ -1,5 +1,5 @@
1
- import { default as Fetch } from '../utils/Fetch';
2
- import { GlobalErrorHandler, User, UserProfile } from '../../core';
1
+ import { Fetch } from '../utils';
2
+ import { GlobalErrorHandler, User, UserProfile } from '..';
3
3
  export declare class UserApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
@@ -1,4 +1,4 @@
1
- import { default as Fetch } from '../utils/Fetch';
1
+ import { Fetch } from '../utils';
2
2
  export declare class WidgetApi {
3
3
  fetchInstance: Fetch;
4
4
  constructor(endpoint: string, token: string);
@@ -0,0 +1,20 @@
1
+ export { AccountApi } from './AccountApi';
2
+ export { AnalyticsApi } from './AnalyticsApi';
3
+ export { AppDataApi } from './AppDataApi';
4
+ export { BannerApi } from './BannerApi';
5
+ export { BeatApi } from './BeatApi';
6
+ export { BudgetsApi } from './BudgetsApi';
7
+ export { CategoryApi } from './CategoryApi';
8
+ export { FinstrongApi } from './FinstrongApi';
9
+ export { GlobalCopyApi } from './GlobalCopyApi';
10
+ export { GoalApi } from './GoalApi';
11
+ export { HelpApi } from './HelpApi';
12
+ export { HoldingApi } from './HoldingApi';
13
+ export { MerchantApi } from './MerchantApi';
14
+ export { NotificationApi } from './NotificationApi';
15
+ export { RepeatingTransactionsApi } from './RepeatingTransactionsApi';
16
+ export { ScheduledPaymentsApi } from './ScheduledPaymentsApi';
17
+ export { SettingsApi } from './SettingsApi';
18
+ export { TransactionApi } from './TransactionApi';
19
+ export { UserApi } from './UserApi';
20
+ export { WidgetApi } from './WidgetApi';
@@ -7,8 +7,6 @@ export declare const ApiEndpoints: {
7
7
  APP_DATA: string;
8
8
  BEATS: string;
9
9
  BUDGETS: string;
10
- CASHFLOW_EVENTS: string;
11
- CASHFLOW_SEQUENCES: string;
12
10
  CATEGORIES: string;
13
11
  DATE_RANGE_CATEGORY_TOTALS: string;
14
12
  DEVICES: string;
@@ -1 +1,2 @@
1
+ export { ApiEndpoints } from './ApiEndpoints';
1
2
  export { RecurrenceTypes } from './repeatingTransactions';
@@ -1,2 +1,4 @@
1
+ export * from './api';
1
2
  export * from './constants';
2
3
  export * from './types';
4
+ export * from './utils';
@@ -1,41 +1,93 @@
1
- import { R as c } from "../repeatingTransactions-DHIG94pi.mjs";
2
- import { a as u, e as T, d as i, A as N, f as R, C, g as m, E as y, M as A, N as I, c as M, P as f, h as g, S as b } from "../Account-BiB1F8lL.mjs";
3
- import { G as k, M as x, T as v } from "../Goal-0loDagc5.mjs";
4
- import { A as E, B as S, I as l, N as w } from "../Notification-DTNYSd8P.mjs";
5
- import { T as F, a as G } from "../Transaction-C3Pg9TKf.mjs";
6
- import { F as W, a as q, b as P, R as U } from "../RepeatingTransaction-DF4vJn_v.mjs";
7
- var o = /* @__PURE__ */ ((a) => (a[a.UNKNOWN = 0] = "UNKNOWN", a[a.CORRECT = 1] = "CORRECT", a[a.INCORRECT = 2] = "INCORRECT", a))(o || {}), s = /* @__PURE__ */ ((a) => (a.Missed = "Missed", a.Paid = "Paid", a.Upcoming = "Upcoming expense", a.Income = "Income", a))(s || {}), t = /* @__PURE__ */ ((a) => (a[a.Unknown = 0] = "Unknown", a[a.Subscription = 1] = "Subscription", a[a.Bill = 2] = "Bill", a))(t || {}), n = /* @__PURE__ */ ((a) => (a.Desktop = "Desktop", a.Mobile = "Mobile", a))(n || {});
1
+ import { A as N } from "../AccountApi-WEM2M9tg.mjs";
2
+ import { A as h, G as C } from "../GlobalCopyApi-DkS-2Zf_.mjs";
3
+ import { A as E, B as S, a as l, H as x, b as I, R, U as M, W as D } from "../WidgetApi-C0BA2cFX.mjs";
4
+ import { B } from "../BeatApi-C6pBa0Rb.mjs";
5
+ import { C as P } from "../CategoryApi-CogDFScz.mjs";
6
+ import { F as O } from "../FinstrongApi-FpmsS_sy.mjs";
7
+ import { G as U, a as F, M as k, T as v } from "../Goal-MFBpoOIC.mjs";
8
+ import { M as W } from "../MerchantApi-D8ahYxiG.mjs";
9
+ import { N as $ } from "../NotificationApi-DF0obHoR.mjs";
10
+ import { R as K } from "../RepeatingTransactionsApi-BNZgZPLs.mjs";
11
+ import { F as n, A as s } from "../ApiEndpoints-C5IA97i7.mjs";
12
+ import { T as r } from "../Transaction-Cn5_iFm0.mjs";
13
+ import { a as j } from "../Transaction-Cn5_iFm0.mjs";
14
+ import { S as Q } from "../SettingsApi-D9d7SLhB.mjs";
15
+ import { T as Z } from "../TransactionApi-CLG2eSNe.mjs";
16
+ import { a as V, e as tt, d as at, A as et, f as st, C as ot, g as nt, E as rt, M as pt, N as ct, c as it, P as At, h as ut, S as mt } from "../Account-BiB1F8lL.mjs";
17
+ import { A as ft, B as yt, I as Nt, N as dt } from "../Notification-DTNYSd8P.mjs";
18
+ import { F as Ct, R as gt, a as Et, b as St } from "../RepeatingTransaction-D2gmBTd0.mjs";
19
+ import { L as xt, V as It, g as Rt } from "../Localization-C_HZg9tJ.mjs";
20
+ class T {
21
+ fetchInstance;
22
+ constructor(a, e, o) {
23
+ this.fetchInstance = new n(a, e, void 0, o);
24
+ }
25
+ addScheduledPayment = async (a) => this.fetchInstance.post(s.SCHEDULED_PAYMENTS, {
26
+ ...a,
27
+ is_recurring: "true",
28
+ transaction_type: r.DEBIT
29
+ }).then((e) => e.scheduled_payment);
30
+ getScheduledPayments = async () => this.fetchInstance.get(s.SCHEDULED_PAYMENTS).then((a) => a.scheduled_payments);
31
+ updateScheduledPayment = async (a) => this.fetchInstance.put(`${s.SCHEDULED_PAYMENTS}/${a.guid}`, a).then((e) => e.scheduled_payment);
32
+ deleteScheduledPayment = async (a) => this.fetchInstance.delete(`${s.SCHEDULED_PAYMENTS}/${a}`).then((e) => e);
33
+ }
34
+ var p = /* @__PURE__ */ ((t) => (t[t.UNKNOWN = 0] = "UNKNOWN", t[t.CORRECT = 1] = "CORRECT", t[t.INCORRECT = 2] = "INCORRECT", t))(p || {}), c = /* @__PURE__ */ ((t) => (t.Missed = "Missed", t.Paid = "Paid", t.Upcoming = "Upcoming expense", t.Income = "Income", t))(c || {}), i = /* @__PURE__ */ ((t) => (t[t.Unknown = 0] = "Unknown", t[t.Subscription = 1] = "Subscription", t[t.Bill = 2] = "Bill", t))(i || {}), A = /* @__PURE__ */ ((t) => (t.Desktop = "Desktop", t.Mobile = "Mobile", t))(A || {});
8
35
  export {
9
- u as AccountIcon,
10
- T as AccountIconVariants,
11
- E as AccountNotificationTypes,
12
- i as AccountSubType,
13
- N as AccountType,
14
- R as AccountTypeName,
15
- S as BudgetNotificationTypes,
16
- C as ConnectionStatus,
17
- m as ConnectionStatusEnums,
18
- y as ErrorStatuses,
19
- s as ExpenseStatus,
20
- W as Frequency,
21
- k as GoalType,
22
- l as InsightNotificationTypes,
23
- x as MetaType,
24
- A as MfaStatuses,
25
- I as NonConnectedStatuses,
26
- w as NotificationTypes,
27
- M as ProcessingStatuses,
28
- f as PropertyType,
29
- g as PropertyTypeName,
30
- q as RecurrenceStatus,
31
- P as RecurrenceType,
32
- c as RecurrenceTypes,
33
- U as RepeatingType,
34
- t as ScheduledPaymentTypes,
35
- n as ScreenSize,
36
- b as StatusName,
36
+ N as AccountApi,
37
+ V as AccountIcon,
38
+ tt as AccountIconVariants,
39
+ ft as AccountNotificationTypes,
40
+ at as AccountSubType,
41
+ et as AccountType,
42
+ st as AccountTypeName,
43
+ h as AnalyticsApi,
44
+ s as ApiEndpoints,
45
+ E as AppDataApi,
46
+ S as BannerApi,
47
+ B as BeatApi,
48
+ yt as BudgetNotificationTypes,
49
+ l as BudgetsApi,
50
+ P as CategoryApi,
51
+ ot as ConnectionStatus,
52
+ nt as ConnectionStatusEnums,
53
+ rt as ErrorStatuses,
54
+ c as ExpenseStatus,
55
+ n as Fetch,
56
+ O as FinstrongApi,
57
+ Ct as Frequency,
58
+ C as GlobalCopyApi,
59
+ U as GoalApi,
60
+ F as GoalType,
61
+ x as HelpApi,
62
+ I as HoldingApi,
63
+ Nt as InsightNotificationTypes,
64
+ xt as LOCALES,
65
+ W as MerchantApi,
66
+ k as MetaType,
67
+ pt as MfaStatuses,
68
+ ct as NonConnectedStatuses,
69
+ $ as NotificationApi,
70
+ dt as NotificationTypes,
71
+ it as ProcessingStatuses,
72
+ At as PropertyType,
73
+ ut as PropertyTypeName,
74
+ gt as RecurrenceStatus,
75
+ Et as RecurrenceType,
76
+ R as RecurrenceTypes,
77
+ K as RepeatingTransactionsApi,
78
+ St as RepeatingType,
79
+ i as ScheduledPaymentTypes,
80
+ T as ScheduledPaymentsApi,
81
+ A as ScreenSize,
82
+ Q as SettingsApi,
83
+ mt as StatusName,
37
84
  v as TrackType,
38
- F as TransactionStatus,
39
- G as TransactionType,
40
- o as UserVerification
85
+ Z as TransactionApi,
86
+ j as TransactionStatus,
87
+ r as TransactionType,
88
+ M as UserApi,
89
+ p as UserVerification,
90
+ It as VALID_LOCALES,
91
+ D as WidgetApi,
92
+ Rt as getLocale
41
93
  };
@@ -1,4 +1,4 @@
1
- import { GlobalErrorHandler } from '../../core';
1
+ import { GlobalErrorHandler } from '../types';
2
2
  export declare class Fetch {
3
3
  endpoint: string;
4
4
  headers: Record<string, string>;
@@ -0,0 +1,9 @@
1
+ export declare const LOCALES: {
2
+ EN_US: string;
3
+ EN_CA: string;
4
+ FR: string;
5
+ FR_CA: string;
6
+ ES: string;
7
+ };
8
+ export declare const VALID_LOCALES: string[];
9
+ export declare const getLocale: () => any;
@@ -0,0 +1,2 @@
1
+ export { Fetch } from './Fetch';
2
+ export { getLocale, LOCALES, VALID_LOCALES } from './Localization';
@@ -10,13 +10,13 @@ import { fromUnixTime as be } from "date-fns/fromUnixTime";
10
10
  import { getUnixTime as _e } from "date-fns/getUnixTime";
11
11
  import { a as N, M as We, I as Ge } from "../DebtsStore-BZqNLaqd.mjs";
12
12
  import { D as nn } from "../DebtsStore-BZqNLaqd.mjs";
13
- import { f as P, a as je } from "../NumberFormatting-QCaNwbjv.mjs";
14
- import { f as J, D as Q } from "../DateFormats-BMpMrZpW.mjs";
13
+ import { f as P, a as je } from "../NumberFormatting-CyrvFgfd.mjs";
14
+ import { f as J, D as Q } from "../DateFormats-CaOj_4eI.mjs";
15
15
  import { G as ze, v as ee, u as C, k as V, g as B, d as te, a as Ye, b as Ve } from "../hooks-BxkfR-Ff.mjs";
16
16
  import { u as ae } from "../useScreenSize-CUcpY7aJ.mjs";
17
17
  import { D as ie } from "../Drawer-Bbe4AMB1.mjs";
18
- import { b as E } from "../Localization-CPkpIwIx.mjs";
19
- import { A as Ke, u as Ue } from "../AccountDetailsHeader-D9gbTbUt.mjs";
18
+ import { b as E } from "../Localization-CkQ49EKr.mjs";
19
+ import { A as Ke, u as Ue } from "../AccountDetailsHeader-IPRH6Wja.mjs";
20
20
  import qe from "@mui/material/Card";
21
21
  import Xe from "@mui/material/CardContent";
22
22
  import Ze from "@mui/material/CardHeader";
@@ -28,10 +28,10 @@ import ye from "@mui/material/Tab";
28
28
  import et from "@mui/material/Tabs";
29
29
  import De from "@mui/material/List";
30
30
  import G from "@mui/material/Divider";
31
- import { M as tt, I as rt, O as nt } from "../OriginalBalanceAction-DjpvVVFz.mjs";
31
+ import { M as tt, I as rt, O as nt } from "../OriginalBalanceAction-AB1TGb5P.mjs";
32
32
  import ot from "@mui/material/TextField";
33
33
  import { L as re } from "../ListItemAction-4KB7P75M.mjs";
34
- import { C as se } from "../CurrencyInput-DuMktPu3.mjs";
34
+ import { C as se } from "../CurrencyInput-BkNVHxSV.mjs";
35
35
  import fe from "@mui/material/Alert";
36
36
  import xe from "@mui/material/AlertTitle";
37
37
  import ge from "@mui/material/Paper";
@@ -47,7 +47,7 @@ import dt from "@mui/material/Popover";
47
47
  import { C as pt } from "../ConnectDrawer-C0wjwcJt.mjs";
48
48
  import { u as ht } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
49
49
  import { L as mt } from "../Loader-D3rjKx72.mjs";
50
- import { W as ut } from "../WidgetContainer-DYKMArWw.mjs";
50
+ import { W as ut } from "../WidgetContainer-Bc75FqK7.mjs";
51
51
  import { E as bt } from "../EmptyState-DHAkGsjk.mjs";
52
52
  const _t = (r, o = 0, n = 0) => {
53
53
  if (n === 0) return 0;
@@ -3,9 +3,9 @@ import s from "@mui/material/ListItem";
3
3
  import r from "@mui/material/ListItemButton";
4
4
  import { g as A } from "./hooks-BxkfR-Ff.mjs";
5
5
  import { fromUnixTime as c } from "date-fns/fromUnixTime";
6
- import { f as O, D as I } from "./DateFormats-BMpMrZpW.mjs";
6
+ import { f as O, D as I } from "./DateFormats-CaOj_4eI.mjs";
7
7
  import { c as d } from "./Category-CevNQ03n.mjs";
8
- import { a as l } from "./Transaction-C3Pg9TKf.mjs";
8
+ import { T as l } from "./Transaction-Cn5_iFm0.mjs";
9
9
  const H = ({
10
10
  children: T,
11
11
  clickEventName: a,
@@ -1,6 +1,5 @@
1
1
  export { DialScoreCard } from './components/shared/DialScoreCard';
2
2
  export { FinancialStrengthGraph } from './components/FinancialStrengthGraph';
3
3
  export { CreditScoreGraph } from './components/CreditScoreGraph';
4
- export { FinstrongApi } from './api/FinstrongApi';
5
4
  export { FinstrongStore } from './stores/FinstrongStore';
6
5
  export { default as FinstrongWidget } from './FinstrongWidget';
@@ -5,8 +5,8 @@ import { useTheme as E, alpha as le } from "@mui/material/styles";
5
5
  import { PieChart as tn } from "@mui/x-charts/PieChart";
6
6
  import { P as I, H3 as V, Text as T, InstitutionLogo as pt, H2 as Be, MerchantLogo as nn, Icon as on } from "@mxenabled/mxui";
7
7
  import { TrendingUp as rn, ArrowRightAlt as an, TrendingDown as sn, AccountBalance as _t, ChevronRight as Z, CheckCircle as cn, Cancel as ln, CreditCard as ut, Savings as dn, ContentCopy as pn, MultilineChart as _n, Add as ht, Cardiology as un, Payments as hn, CalendarMonth as mn, ExpandMore as gn } from "@mxenabled/mx-icons";
8
- import { g as yn, a as bn, r as et, b as fn, c as je, d as mt, C as ke, e as Me, f as xn, h as Sn, i as Cn, j as gt, k as tt, l as vn, m as nt, n as wn, o as yt, p as kn, q as bt, s as Re, t as ft, u as Mn, v as xt, w as Dn, A as ne, x as In, P as Tn } from "../FinstrongStore-BQxXxxYD.mjs";
9
- import { y as vi, F as wi } from "../FinstrongStore-BQxXxxYD.mjs";
8
+ import { g as yn, a as bn, r as et, b as fn, c as je, d as mt, C as ke, e as Me, f as xn, h as Sn, i as Cn, j as gt, k as tt, l as vn, m as nt, n as wn, o as yt, p as kn, q as bt, s as Re, t as ft, u as Mn, v as xt, w as Dn, A as ne, x as In, P as Tn } from "../FinstrongStore-DgyDJTEP.mjs";
9
+ import { F as vi } from "../FinstrongStore-DgyDJTEP.mjs";
10
10
  import * as ot from "d3";
11
11
  import { observer as w } from "mobx-react-lite";
12
12
  import { u as C, b as J, a as Ke, o as ee, y as F, p as An, d as ve, l as Ve, f as On, i as Ye, h as Rn, m as Ln } from "../hooks-BxkfR-Ff.mjs";
@@ -14,7 +14,7 @@ import { L as U } from "../Loader-D3rjKx72.mjs";
14
14
  import h, { useState as Fn, useRef as Bn, useCallback as rt, useEffect as at } from "react";
15
15
  import P from "@mui/material/Button";
16
16
  import Y from "@mui/material/Card";
17
- import { L as Xe } from "../LineChart-EAr5ox5U.mjs";
17
+ import { L as Xe } from "../LineChart-DkD_s9NN.mjs";
18
18
  import { C as St } from "../ConnectionsDrawer-IA7vnv1J.mjs";
19
19
  import { C as re } from "../ConnectDrawer-C0wjwcJt.mjs";
20
20
  import de from "@mui/material/Tab";
@@ -31,18 +31,18 @@ import xe from "@mui/material/ListItem";
31
31
  import vt from "@mui/material/ListItemAvatar";
32
32
  import Se from "@mui/material/ListItemText";
33
33
  import { g as wt } from "../AccountDisplayName-CO7z3v99.mjs";
34
- import { g as kt } from "../AccountFields-CxqONzjY.mjs";
34
+ import { g as kt } from "../AccountFields-BbPSfzru.mjs";
35
35
  import He from "@mui/material/List";
36
36
  import $n from "@mui/material/ListItemButton";
37
37
  import En from "@mui/material/ListSubheader";
38
- import { f as W } from "../NumberFormatting-QCaNwbjv.mjs";
39
- import { b as K } from "../Localization-CPkpIwIx.mjs";
40
- import { S as it, c as zn } from "../RecurringTransactions-BbZ6MQsX.mjs";
38
+ import { f as W } from "../NumberFormatting-CyrvFgfd.mjs";
39
+ import { b as K } from "../Localization-CkQ49EKr.mjs";
40
+ import { S as it, c as zn } from "../RecurringTransactions-kzlU8OFY.mjs";
41
41
  import { A as Ne } from "../Account-BiB1F8lL.mjs";
42
42
  import { S as Gn } from "../StatusBar-BK_uYHAB.mjs";
43
- import { h as Mt } from "../DateUtil-wcYTmDRD.mjs";
44
- import { T as Hn, s as Nn, h as jn, S as Kn, a as Vn } from "../EmbeddedCard-qwIhF1VP.mjs";
45
- import { f as Yn, D as Xn } from "../DateFormats-BMpMrZpW.mjs";
43
+ import { h as Mt } from "../DateUtil-C57sqxn4.mjs";
44
+ import { T as Hn, s as Nn, h as jn, S as Kn, a as Vn } from "../EmbeddedCard-j7IGx3s1.mjs";
45
+ import { f as Yn, D as Xn } from "../DateFormats-CaOj_4eI.mjs";
46
46
  import { T as pe } from "../TabContentContainer-j01JYR_7.mjs";
47
47
  import qn from "@mui/material/useMediaQuery";
48
48
  import { BarPlot as Un } from "@mui/x-charts/BarChart";
@@ -51,16 +51,16 @@ import { ChartsXAxis as Zn } from "@mui/x-charts/ChartsXAxis";
51
51
  import { ChartsYAxis as Jn } from "@mui/x-charts/ChartsYAxis";
52
52
  import { startOfMonth as Dt } from "date-fns/startOfMonth";
53
53
  import { endOfMonth as It } from "date-fns/endOfMonth";
54
- import { g as eo, S as to, b as no } from "../SpendingLegend-CypdabwS.mjs";
54
+ import { g as eo, S as to, b as no } from "../SpendingLegend-DljKEG69.mjs";
55
55
  import { formatISO as oo } from "date-fns/formatISO";
56
56
  import { fromUnixTime as ro } from "date-fns/fromUnixTime";
57
57
  import { startOfToday as st } from "date-fns/startOfToday";
58
58
  import { subDays as ao } from "date-fns/subDays";
59
- import { c as io, d as ct, S as so, i as co } from "../ManageIncome-DqqI9HB1.mjs";
59
+ import { c as io, b as ct, S as so, i as co } from "../ManageIncome-DwSE_a8L.mjs";
60
60
  import { LocalizationProvider as lo, DatePicker as po, StaticDatePicker as _o } from "@mui/x-date-pickers";
61
61
  import { AdapterDateFns as Tt } from "@mui/x-date-pickers/AdapterDateFnsV3";
62
- import { F as At, R as Ot } from "../RepeatingTransaction-DF4vJn_v.mjs";
63
- import { R as uo } from "../RecurringSettings-OBGLelZQ.mjs";
62
+ import { F as At, b as Ot } from "../RepeatingTransaction-D2gmBTd0.mjs";
63
+ import { R as uo } from "../RecurringSettings-CZKeZC4m.mjs";
64
64
  import { LocalizationProvider as ho } from "@mui/x-date-pickers/LocalizationProvider";
65
65
  import { format as mo } from "date-fns/format";
66
66
  import go from "@mui/lab/Timeline";
@@ -73,7 +73,7 @@ import vo from "@mui/material/Accordion";
73
73
  import wo from "@mui/material/AccordionDetails";
74
74
  import ko from "@mui/material/AccordionSummary";
75
75
  import { u as Mo } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
76
- import { W as Do } from "../WidgetContainer-DYKMArWw.mjs";
76
+ import { W as Do } from "../WidgetContainer-Bc75FqK7.mjs";
77
77
  const Io = ({
78
78
  dialScoreData: t,
79
79
  dataIndex: o,
@@ -3669,7 +3669,6 @@ export {
3669
3669
  To as CreditScoreGraph,
3670
3670
  Rt as DialScoreCard,
3671
3671
  Lt as FinancialStrengthGraph,
3672
- vi as FinstrongApi,
3673
- wi as FinstrongStore,
3672
+ vi as FinstrongStore,
3674
3673
  xi as FinstrongWidget
3675
3674
  };
@@ -1,6 +1,6 @@
1
1
  import { GlobalStore } from '../../common';
2
2
  import { MonthlySummaries, HealthScore, HealthScoreReport, MonthlyHealthScore, Transaction } from '../../core';
3
- import { FinstrongApi } from '../api/FinstrongApi';
3
+ import { FinstrongApi } from '../../core/api/FinstrongApi';
4
4
  import { FinstrongTransaction, PeerAverage } from '../../core/types/Finstrong';
5
5
  export declare class FinstrongStore {
6
6
  api: FinstrongApi;
@@ -1,4 +1,3 @@
1
- export { GoalApi } from './api/GoalApi';
2
1
  export { GoalsWidget } from './GoalsWidget';
3
2
  export { GoalStore } from './stores/GoalStore';
4
3
  export { GoalsMicroWidget } from './GoalsMicroWidget';