@mx-cartographer/experiences 5.2.4 → 5.2.7

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 CHANGED
@@ -1,3 +1,15 @@
1
+ ## [5.2.7] - 04-02-2025
2
+
3
+ - **FIXED** - Transaction Rules | Incorrect alert when category changed
4
+
5
+ ## [5.2.6] - 04-02-2025
6
+
7
+ - **ADDED** - Insights and Recurring transaction flags to AppConfig
8
+
9
+ ## [5.2.5] - 04-02-2025
10
+
11
+ - **FIXED** - Transactions Widget | Memo TextInput Full Screen fix.
12
+
1
13
  ## [5.2.4] - 04-01-2025
2
14
 
3
15
  - **FIXED** - Export CSV from `TransactionsWidget` to include the Credit/Debit column
@@ -80,11 +80,13 @@ export interface Config {
80
80
  show_help_widget_in_master: boolean;
81
81
  show_horizontal_padding_in_pulse_micro_widget: boolean;
82
82
  show_icon_in_pulse_micro_widget: boolean;
83
+ show_insights_widget_in_master: boolean;
83
84
  show_investments_widget_in_master: boolean;
84
85
  show_mx_branding: boolean;
85
86
  show_navigation_controls_in_pulse_micro_widget: boolean;
86
87
  show_net_worth_widget_in_master: boolean;
87
88
  show_notifications_widget_in_master: boolean;
89
+ show_recurring_transactions_widget_in_master: boolean;
88
90
  show_settings_widget_in_master: boolean;
89
91
  show_spending_plan_widget_in_master: boolean;
90
92
  show_spending_widget_in_master: boolean;
package/dist/index.es.js CHANGED
@@ -6170,6 +6170,7 @@ const EI = ({ transaction: A }) => {
6170
6170
  {
6171
6171
  "aria-label": o.memo_desc_aria,
6172
6172
  focused: !0,
6173
+ fullWidth: !0,
6173
6174
  multiline: !0,
6174
6175
  name: "memo",
6175
6176
  onChange: (d) => f(d.target.value),
@@ -13989,7 +13990,12 @@ class al {
13989
13990
  console.error(`Error updating notification profile: ${i}`);
13990
13991
  }
13991
13992
  };
13992
- updateTransactionRule = async (t) => {
13993
+ updateRuleCategory = async (t) => {
13994
+ this.transactionApi.updateTransactionRule(t).then(() => {
13995
+ this.loadTransactionRules();
13996
+ });
13997
+ };
13998
+ updateRulePayee = async (t) => {
13993
13999
  this.transactionApi.updateTransactionRule(t).then(() => {
13994
14000
  this.setAlert(this.copy.edit_payee_success, "success"), this.loadTransactionRules();
13995
14001
  }).catch(() => {
@@ -17869,7 +17875,7 @@ const qv = ({
17869
17875
  ] }) });
17870
17876
  }
17871
17877
  ), Yv = g(() => {
17872
- const { settings: A } = X(), { categories: t } = qA(), { selectedRule: i, updateTransactionRule: n } = ze(), [r, o] = h.useState(!1), I = () => {
17878
+ const { settings: A } = X(), { categories: t } = qA(), { selectedRule: i, updateRuleCategory: n } = ze(), [r, o] = h.useState(!1), I = () => {
17873
17879
  o(!1);
17874
17880
  }, a = () => {
17875
17881
  o(!0);
@@ -17897,19 +17903,17 @@ const qv = ({
17897
17903
  )
17898
17904
  ] });
17899
17905
  }), Vv = g(() => {
17900
- const { common: A, settings: t } = X(), { selectedRule: i, updateTransactionRule: n } = ze(), r = uA(), [o, I] = h.useState(
17901
- i?.match_description ? i.match_description : ""
17902
- ), [a, c] = h.useState(!1), f = h.useRef(o), E = () => {
17903
- c(!0);
17906
+ const { common: A, settings: t } = X(), { selectedRule: i, updateRulePayee: n } = ze(), r = uA(), [o, I] = h.useState(!1), a = i?.description ? i.description : i?.match_description, [c, f] = h.useState(a || ""), E = () => {
17907
+ I(!0);
17904
17908
  }, d = async () => {
17905
- o !== f.current && i && (i.description = o, await n(i), c(!1));
17909
+ c !== a && i && (i.description = c, await n(i), I(!1));
17906
17910
  };
17907
17911
  return /* @__PURE__ */ s(h.Fragment, { children: [
17908
17912
  /* @__PURE__ */ e(
17909
17913
  Ar,
17910
17914
  {
17911
17915
  onClick: E,
17912
- primaryText: o,
17916
+ primaryText: a,
17913
17917
  secondaryText: t.payee
17914
17918
  }
17915
17919
  ),
@@ -17917,10 +17921,10 @@ const qv = ({
17917
17921
  XA,
17918
17922
  {
17919
17923
  copy: { title: t.edit_payee },
17920
- isOpen: a,
17921
- onClose: () => c(!1),
17924
+ isOpen: o,
17925
+ onClose: () => I(!1),
17922
17926
  onPrimaryAction: d,
17923
- onSecondaryAction: () => c(!1),
17927
+ onSecondaryAction: () => I(!1),
17924
17928
  primaryText: A.save_button,
17925
17929
  secondaryText: A.cancel_button,
17926
17930
  sx: {
@@ -17930,9 +17934,9 @@ const qv = ({
17930
17934
  children: /* @__PURE__ */ e(
17931
17935
  JA,
17932
17936
  {
17933
- onChange: (l) => I(l.target.value),
17937
+ onChange: (l) => f(l.target.value),
17934
17938
  sx: { width: 352 },
17935
- value: o
17939
+ value: c
17936
17940
  }
17937
17941
  )
17938
17942
  }
@@ -18409,11 +18413,13 @@ const _v = {
18409
18413
  show_help_widget_in_master: !0,
18410
18414
  show_horizontal_padding_in_pulse_micro_widget: !0,
18411
18415
  show_icon_in_pulse_micro_widget: !0,
18416
+ show_insights_widget_in_master: !0,
18412
18417
  show_investments_widget_in_master: !1,
18413
18418
  show_mx_branding: !0,
18414
18419
  show_navigation_controls_in_pulse_micro_widget: !0,
18415
18420
  show_net_worth_widget_in_master: !0,
18416
18421
  show_notifications_widget_in_master: !0,
18422
+ show_recurring_transactions_widget_in_master: !0,
18417
18423
  show_settings_widget_in_master: !0,
18418
18424
  show_spending_plan_widget_in_master: !1,
18419
18425
  show_spending_widget_in_master: !0,