@mx-cartographer/experiences 7.0.44 → 7.0.45

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,7 @@
1
+ ## [7.0.45] - 10-08-2025
2
+
3
+ - **ADDED** - Default values for dashboard survey
4
+
1
5
  ## [7.0.44] - 10-06-2025
2
6
 
3
7
  - **UPDATED** - Displayed account names to use account nickname when available
@@ -14,7 +18,7 @@
14
18
 
15
19
  - **UPDATED** - Bug Fixed - Upcomig and Past tabs Divider has too much padding on both sides in the mobile view
16
20
 
17
- ## [7.0.40] - 10-04-2025
21
+ ## [7.0.40] - 10-06-2025
18
22
 
19
23
  - **FIXED** - Allow deletion of existing goals without account link
20
24
 
@@ -12,7 +12,7 @@ import { H as ot } from "../Help-DhcC-C05.mjs";
12
12
  import { E as ys } from "../Help-DhcC-C05.mjs";
13
13
  import { M as bs } from "../MicroWidgetContainer-C4QQHfD7.mjs";
14
14
  import { M as xs } from "../MiniWidgetContainer-DSG6mwaW.mjs";
15
- import { A as Ds, D as vs, W as As } from "../WidgetContainer-p7NIdiNJ.mjs";
15
+ import { A as vs, D as Ds, W as As } from "../WidgetContainer-p7NIdiNJ.mjs";
16
16
  import { j as Ts, a as Bs, e as Is, m as Ns, A as Ms, f as ks, k as $s, d as Rs, l as Ps, E as Os, i as Us, N as Ls, h as Gs, P as Hs, n as Fs, S as Ws } from "../ConnectDrawer-YIWwEzuN.mjs";
17
17
  import { C as Ys } from "../CurrencyInput-CRtdzs3o.mjs";
18
18
  import { L as zs } from "../Loader-DUaFpDGv.mjs";
@@ -31,7 +31,7 @@ import { C as Sr } from "../CurrencyText-YUhH2caW.mjs";
31
31
  import { E as wr } from "../EmptyState-C0lr9E5T.mjs";
32
32
  import { L as Cr } from "../ListItemAction-DSrYDGAP.mjs";
33
33
  import { T as ct } from "../TrendsStore-BKBnNQba.mjs";
34
- import { L as vr, S as Ar } from "../TrendsStore-BKBnNQba.mjs";
34
+ import { L as Dr, S as Ar } from "../TrendsStore-BKBnNQba.mjs";
35
35
  import { A as Tr, B as Br, I as Ir, N as Nr, T as Mr, a as kr } from "../Notification-aGCHxikw.mjs";
36
36
  import { jsxs as f, jsx as n } from "react/jsx-runtime";
37
37
  import dt, { useRef as lt, useEffect as ut } from "react";
@@ -50,7 +50,7 @@ import { C as eo, c as so, a as ro, P as oo } from "../Category-CevNQ03n.mjs";
50
50
  import { C as no, f as io, b as co, a as lo, g as uo, i as ho } from "../NumberFormatting-CtWHhyBX.mjs";
51
51
  import { R as mt } from "../RecurringTransactionsStore-DeLXfuC4.mjs";
52
52
  import { S as po, T as mo } from "../RecurringTransactionsStore-DeLXfuC4.mjs";
53
- import { G as fo, B as yo, C as So, W as bo, d as wo, a as xo, i as Co, t as Do, m as vo, x as Ao, y as Eo, g as To, w as Bo, u as Io, f as No, b as Mo, l as ko, z as $o, s as Ro, c as Po, q as Oo, n as Uo, A as Lo, j as Go, r as Ho, h as Fo, v as Wo, o as qo, p as Yo } from "../hooks-CE2TKk4a.mjs";
53
+ import { G as fo, B as yo, C as So, W as bo, d as wo, a as xo, i as Co, t as vo, m as Do, x as Ao, y as Eo, g as To, w as Bo, u as Io, f as No, b as Mo, l as ko, z as $o, s as Ro, c as Po, q as Oo, n as Uo, A as Lo, j as Go, r as Ho, h as Fo, v as Wo, o as qo, p as Yo } from "../hooks-CE2TKk4a.mjs";
54
54
  import { u as zo } from "../useAccountDisplayName-DC1Lqjag.mjs";
55
55
  import { u as jo } from "../useInsightsEnabled-DSnpkUq0.mjs";
56
56
  import { u as Vo } from "../useScreenSize-B6JyS_Lj.mjs";
@@ -65,7 +65,7 @@ import { f as bt, a as wt, b as L } from "../BudgetUtil-2EncZLBQ.mjs";
65
65
  import { g as Jo, e as ta, c as ea, d as sa, i as ra } from "../BudgetUtil-2EncZLBQ.mjs";
66
66
  import { a as xt } from "../DebtsStore-Dy3YG1fX.mjs";
67
67
  import { a as Ct } from "../FinstrongStore-F2c607dj.mjs";
68
- import { A as Dt, m as vt, a as At, b as Et } from "../InvestmentUtil-jOyOgzIB.mjs";
68
+ import { A as vt, m as Dt, a as At, b as Et } from "../InvestmentUtil-jOyOgzIB.mjs";
69
69
  import { M as Tt } from "../MerchantStore-DrFvsUyy.mjs";
70
70
  import { N as Bt } from "../NetWorthStore-C5RMjsMS.mjs";
71
71
  import { a as It } from "../SettingsStore-Dc34Tzx8.mjs";
@@ -372,14 +372,14 @@ const Ke = (s) => {
372
372
  width: d,
373
373
  xAxisLabel: g = ""
374
374
  }) => {
375
- const S = x(), C = Ht(S, d), D = h / l * i, v = Math.abs(h) / l * e, A = c === void 0 || c === o ? "primary" : "secondary";
375
+ const S = x(), C = Ht(S, d), v = h / l * i, D = Math.abs(h) / l * e, A = c === void 0 || c === o ? "primary" : "secondary";
376
376
  return /* @__PURE__ */ f("div", { className: `mx-cmn-barchart-bar-column ${C}`, children: [
377
377
  /* @__PURE__ */ n("div", { style: { height: i }, children: h >= 0 && /* @__PURE__ */ n(
378
378
  q,
379
379
  {
380
380
  ariaLabel: s,
381
381
  color: r,
382
- height: D,
382
+ height: v,
383
383
  index: o,
384
384
  label: p,
385
385
  onClick: a,
@@ -394,7 +394,7 @@ const Ke = (s) => {
394
394
  {
395
395
  ariaLabel: s,
396
396
  color: r,
397
- height: v,
397
+ height: D,
398
398
  index: o,
399
399
  label: p,
400
400
  onClick: a,
@@ -450,13 +450,13 @@ const Ke = (s) => {
450
450
  selectedIndex: i,
451
451
  valueFormatter: h = (p) => `${p}`
452
452
  }) => {
453
- const p = x(), d = zt(p), g = r.reduce(qt, []), S = s !== void 0 ? s : g.reduce(Ft, 0) / g.length, C = Math.max(...g), D = Math.min(...g), v = g.reduce(Wt, 0), A = C >= 0, R = D < 0, I = Q(A, R, o), N = Q(R, A, o), P = Yt(S, C, D, I || N), tt = (b) => i === void 0 || b === i ? e : `${e}80`, O = () => /* @__PURE__ */ n(
453
+ const p = x(), d = zt(p), g = r.reduce(qt, []), S = s !== void 0 ? s : g.reduce(Ft, 0) / g.length, C = Math.max(...g), v = Math.min(...g), D = g.reduce(Wt, 0), A = C >= 0, R = v < 0, I = Q(A, R, o), N = Q(R, A, o), P = Yt(S, C, v, I || N), tt = (b) => i === void 0 || b === i ? e : `${e}80`, O = () => /* @__PURE__ */ n(
454
454
  Y,
455
455
  {
456
456
  averageLineHeight: P,
457
457
  bottomHeight: N,
458
458
  color: "",
459
- range: v,
459
+ range: D,
460
460
  topHeight: I,
461
461
  value: 0,
462
462
  width: void 0
@@ -475,7 +475,7 @@ const Ke = (s) => {
475
475
  color: tt(M),
476
476
  index: M,
477
477
  onClick: c,
478
- range: v,
478
+ range: D,
479
479
  selectedIndex: i,
480
480
  topHeight: I,
481
481
  value: b.value,
@@ -853,7 +853,7 @@ class j {
853
853
  updateHoldings = async (t) => this.fetchInstance.put(`${u.HOLDINGS}/${t.guid}`, t).then((e) => e.holding);
854
854
  }
855
855
  class ne {
856
- analysisType = Dt.Stocks;
856
+ analysisType = vt.Stocks;
857
857
  api = new j("/", "");
858
858
  holdings = [];
859
859
  holdingsLoaded = !1;
@@ -863,7 +863,7 @@ class ne {
863
863
  this.globalStore = t, this.api = new j(t.endpoint, t.sessionToken, t.onError), _(this);
864
864
  }
865
865
  get analysisChartData() {
866
- return vt(At(this.visibleHoldings), this.analysisType);
866
+ return Dt(At(this.visibleHoldings), this.analysisType);
867
867
  }
868
868
  get analysisDetails() {
869
869
  return Et(this.visibleHoldings)[this.analysisType] || {};
@@ -925,6 +925,8 @@ const K = {
925
925
  dashboard_insights_location: 1,
926
926
  dashboard_spending_index: 1,
927
927
  dashboard_spending_location: 1,
928
+ dashboard_survey_index: 8,
929
+ dashboard_survey_location: 1,
928
930
  dashboard_trends_index: 4,
929
931
  dashboard_trends_location: 0,
930
932
  display_account_number_in_accounts: !0,
@@ -1229,7 +1231,7 @@ class Je {
1229
1231
  };
1230
1232
  }
1231
1233
  export {
1232
- Ds as ANALYTICS_EVENTS,
1234
+ vs as ANALYTICS_EVENTS,
1233
1235
  Ts as AccountFilter,
1234
1236
  Bs as AccountIcon,
1235
1237
  Is as AccountIconVariants,
@@ -1261,7 +1263,7 @@ export {
1261
1263
  gt as DEFAULT_DONUT_SIZE,
1262
1264
  pt as DEFAULT_STROKE_WIDTH,
1263
1265
  ar as DataRow,
1264
- vs as DateRangeSelector,
1266
+ Ds as DateRangeSelector,
1265
1267
  Fr as Dialog,
1266
1268
  Rr as Donut,
1267
1269
  jr as Drawer,
@@ -1285,7 +1287,7 @@ export {
1285
1287
  Qe as LOADING_STATUS,
1286
1288
  Or as LineChart,
1287
1289
  Cr as ListItemAction,
1288
- vr as ListItemRow,
1290
+ Dr as ListItemRow,
1289
1291
  ms as ListItemWrapper,
1290
1292
  zs as Loader,
1291
1293
  Xe as LocalizedCopyApi,
@@ -1358,8 +1360,8 @@ export {
1358
1360
  wo as useAccountStore,
1359
1361
  xo as useAppConfig,
1360
1362
  Co as useBudgetsStore,
1361
- Do as useCashflowStore,
1362
- vo as useCategoryStore,
1363
+ vo as useCashflowStore,
1364
+ Do as useCategoryStore,
1363
1365
  os as useCombineEvents,
1364
1366
  as as useCombinePageviews,
1365
1367
  Ao as useDebtStore,
@@ -66,6 +66,8 @@ export interface Config {
66
66
  dashboard_insights_location: number;
67
67
  dashboard_spending_index: number;
68
68
  dashboard_spending_location: number;
69
+ dashboard_survey_index: number;
70
+ dashboard_survey_location: number;
69
71
  dashboard_trends_index: number;
70
72
  dashboard_trends_location: number;
71
73
  display_account_number_in_accounts: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.0.44",
3
+ "version": "7.0.45",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",