@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.
Files changed (106) hide show
  1. package/dist/{Account-B4CDD-zq.mjs → Account-BDXA6PWh.mjs} +1 -1
  2. package/dist/AccountDetailsContent-CUztd3-b.mjs +683 -0
  3. package/dist/{AccountDetailsHeader-DRjFuyJT.mjs → AccountDetailsHeader-i3KFhNuo.mjs} +18 -18
  4. package/dist/{AccountFields-Cl4KHoSj.mjs → AccountFields-QZspYAji.mjs} +10 -12
  5. package/dist/AccountListItem-DX5upmCS.mjs +90 -0
  6. package/dist/{AccountStore-HbVblv86.mjs → AccountStore-BcnDpyLL.mjs} +3 -3
  7. package/dist/{Accounts-CRUehOiy.mjs → Accounts-DXfZotRC.mjs} +1 -1
  8. package/dist/{BudgetUtil-Jv8h9H9l.mjs → BudgetUtil-Df2nII9u.mjs} +31 -31
  9. package/dist/{CashflowStore-CA190BPF.mjs → CashflowStore-D9Dpuz7X.mjs} +25 -18
  10. package/dist/{Category-Ccoew_sA.mjs → Category-CevNQ03n.mjs} +2 -2
  11. package/dist/{CategorySelectorDrawer-Dl006GKy.mjs → CategorySelectorDrawer-DqJK_rrL.mjs} +27 -27
  12. package/dist/{CategoryStore-MUwRWH9e.mjs → CategoryStore-DTgyAMM7.mjs} +2 -2
  13. package/dist/{CategoryUtil-DfVKKkRf.mjs → CategoryUtil-C5cR-nfQ.mjs} +4 -4
  14. package/dist/{ConnectDrawer-DVp54lUH.mjs → ConnectDrawer-BIbTqYOH.mjs} +47 -48
  15. package/dist/{ConnectionsDrawer-Dsc04-4Z.mjs → ConnectionsDrawer-BFfY3_zB.mjs} +2 -2
  16. package/dist/CurrencyInput-BFKcs-_K.mjs +85 -0
  17. package/dist/{DateUtil-CDPZw_-m.mjs → DateUtil-CBdcsyuk.mjs} +1 -1
  18. package/dist/{DebtsStore-pL63fmdT.mjs → DebtsStore-BbJB0nmu.mjs} +3 -3
  19. package/dist/{Dialog-CDV0kKxj.mjs → Dialog-BPTr3qHE.mjs} +24 -24
  20. package/dist/{Drawer-BF40nbsH.mjs → Drawer-BEtCk82g.mjs} +17 -17
  21. package/dist/{ExportCsvAction-QhQK4_FU.mjs → ExportCsvAction-DzTrtPzk.mjs} +3 -3
  22. package/dist/{FinstrongStore-BGf36b0z.mjs → FinstrongStore-BIrX0Xg2.mjs} +56 -56
  23. package/dist/{GoalStore-C1-w3Y1E.mjs → GoalStore-DpWY3gVb.mjs} +4 -4
  24. package/dist/HeaderCell-DjuifqHJ.mjs +6 -0
  25. package/dist/{Help-DBfsTkAi.mjs → Help-BnPXM_N2.mjs} +145 -124
  26. package/dist/{Help-c-zHlDbv.mjs → Help-DhcC-C05.mjs} +8 -8
  27. package/dist/{IconBacking-DgT8DCeh.mjs → IconBacking-B9oC6uL2.mjs} +11 -11
  28. package/dist/{LineChart-C1PxNf7P.mjs → LineChart-bc1D9xBE.mjs} +78 -78
  29. package/dist/{ListItemAction-BNCWQAN_.mjs → ListItemAction-uobBrm_a.mjs} +1 -1
  30. package/dist/Loader-DUaFpDGv.mjs +24 -0
  31. package/dist/{ManageIncome-8EsStyIQ.mjs → ManageIncome-NpXHhO1n.mjs} +46 -46
  32. package/dist/MicroWidgetContainer-DEiRnYVa.mjs +45 -0
  33. package/dist/MiniWidgetContainer-CmXpTylX.mjs +56 -0
  34. package/dist/{NetWorthStore-Bti6u-d9.mjs → NetWorthStore-lsuhEpn6.mjs} +4 -4
  35. package/dist/{NotificationSettings-B74rQVYC.mjs → NotificationSettings-CNmJWVeI.mjs} +77 -77
  36. package/dist/{OriginalBalanceAction-2Y_3U_mg.mjs → OriginalBalanceAction-DK8_LkPz.mjs} +8 -8
  37. package/dist/{RecurringSettings-DAncu--R.mjs → RecurringSettings-CqZh1SQa.mjs} +3 -3
  38. package/dist/{RecurringTransactions-CxcSL1dY.mjs → RecurringTransactions-BKcYmpv3.mjs} +77 -77
  39. package/dist/{RecurringTransactionsStore-CNFxyGB6.mjs → RecurringTransactionsStore-Ni5tSQIO.mjs} +1 -1
  40. package/dist/{ResponsiveButton-Cn6-R7ue.mjs → ResponsiveButton-DZFp78fJ.mjs} +10 -10
  41. package/dist/SearchBox-B2_zLv8-.mjs +42 -0
  42. package/dist/{SettingsStore-BASMQSIp.mjs → SettingsStore-krIRNwHK.mjs} +1 -1
  43. package/dist/{SingleSegmentDonut-7Uy6VEld.mjs → SingleSegmentDonut-BgbLgwHi.mjs} +6 -6
  44. package/dist/{SpendingData-DPQ96k3x.mjs → SpendingData-BuJ03S9d.mjs} +4 -4
  45. package/dist/{SpendingLegend-6FqtMcBV.mjs → SpendingLegend-CjX-hX2O.mjs} +12 -12
  46. package/dist/{StatusBar-CPfSXe80.mjs → StatusBar-BK_uYHAB.mjs} +6 -6
  47. package/dist/{TabContentContainer-CnMXkVqr.mjs → TabContentContainer-j01JYR_7.mjs} +8 -8
  48. package/dist/TransactionDetails-5M2vfr59.mjs +1379 -0
  49. package/dist/{TransactionStore-DbwAutwC.mjs → TransactionStore-D-Q3BU9Z.mjs} +58 -41
  50. package/dist/{TrendsStore-_mRaFUdf.mjs → TrendsStore-BW9FGQeE.mjs} +37 -37
  51. package/dist/{User-BklmOUSd.mjs → User-wXzDI4M8.mjs} +107 -107
  52. package/dist/{ViewMoreMicroCard-DAkyNRlD.mjs → ViewMoreMicroCard-C0832BMe.mjs} +233 -231
  53. package/dist/{WidgetContainer-CDh9fjpR.mjs → WidgetContainer-BhQ1Kx2z.mjs} +36 -36
  54. package/dist/accounts/index.es.js +94 -94
  55. package/dist/analytics/index.es.js +27 -27
  56. package/dist/budgets/index.es.js +251 -250
  57. package/dist/cashflow/index.es.js +158 -157
  58. package/dist/categories/index.es.js +2 -2
  59. package/dist/common/components/Loader.d.ts +2 -1
  60. package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
  61. package/dist/common/components/barchart/Bar.d.ts +25 -0
  62. package/dist/common/components/barchart/BarChart.d.ts +34 -0
  63. package/dist/common/components/barchart/BarColumn.d.ts +37 -0
  64. package/dist/common/components/barchart/Legend.d.ts +8 -0
  65. package/dist/common/components/barchart/Util.d.ts +42 -0
  66. package/dist/common/components/barchart/index.d.ts +1 -0
  67. package/dist/common/components/charts/linechart/CustomMark.d.ts +1 -1
  68. package/dist/common/components/index.d.ts +1 -0
  69. package/dist/common/index.es.js +660 -395
  70. package/dist/common/utils/Theme.d.ts +3 -1
  71. package/dist/dashboard/index.es.js +21 -21
  72. package/dist/debts/components/DebtsChart.d.ts +2 -1
  73. package/dist/debts/index.es.js +440 -440
  74. package/dist/{exportTransactionsToCSV-BgV_wTLT.mjs → exportTransactionsToCSV-Cz2t0lmA.mjs} +3 -3
  75. package/dist/finstrong/index.es.js +118 -118
  76. package/dist/goals/index.es.js +380 -386
  77. package/dist/help/components/content/BottomImageContent.d.ts +1 -1
  78. package/dist/help/components/content/LeftImageContent.d.ts +1 -1
  79. package/dist/help/components/content/RightImageContent.d.ts +1 -1
  80. package/dist/help/components/content/TopImageContent.d.ts +1 -1
  81. package/dist/help/index.es.js +6 -6
  82. package/dist/investments/index.es.js +279 -278
  83. package/dist/merchants/index.es.js +7 -7
  84. package/dist/microinsights/index.es.js +1 -1
  85. package/dist/networth/components/NetWorthChange.d.ts +1 -3
  86. package/dist/networth/index.es.js +185 -191
  87. package/dist/notifications/index.es.js +30 -30
  88. package/dist/recurringtransactions/index.es.js +85 -85
  89. package/dist/settings/index.es.js +270 -270
  90. package/dist/spending/index.es.js +44 -44
  91. package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +7 -0
  92. package/dist/transactions/index.es.js +169 -168
  93. package/dist/trends/index.es.js +318 -317
  94. package/dist/{useAccountDisplayName-CcIp09Xc.mjs → useAccountDisplayName-CFNF8766.mjs} +1 -1
  95. package/dist/{useCombineEvents-kNzLTWCp.mjs → useCombineEvents-CRwX-qWE.mjs} +2 -2
  96. package/dist/{useScreenSize-B5afALev.mjs → useScreenSize-B6JyS_Lj.mjs} +1 -1
  97. package/package.json +50 -45
  98. package/dist/AccountDetailsContent-adZTkM52.mjs +0 -683
  99. package/dist/AccountListItem-wgmlex-_.mjs +0 -90
  100. package/dist/CurrencyInput-D1cjbdCI.mjs +0 -85
  101. package/dist/HeaderCell-P8w6CmfO.mjs +0 -6
  102. package/dist/Loader-Ckqi9Rx6.mjs +0 -21
  103. package/dist/MicroWidgetContainer-BGpNl5ZS.mjs +0 -45
  104. package/dist/MiniWidgetContainer-CKzf_Ira.mjs +0 -56
  105. package/dist/SearchBox-B7km148n.mjs +0 -39
  106. package/dist/TransactionDetails-Bn0qY5Hw.mjs +0 -1336
@@ -1,44 +1,44 @@
1
- import { jsxs as g, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as h, jsx as e } from "react/jsx-runtime";
2
2
  import A from "react";
3
- import { css as R } from "@mxenabled/cssinjs";
3
+ import { css as p } from "@mxenabled/cssinjs";
4
4
  import { addDays as b } from "date-fns/addDays";
5
- import { addMonths as w } from "date-fns/addMonths";
6
- import { eachDayOfInterval as H } from "date-fns/eachDayOfInterval";
7
- import { eachWeekOfInterval as B } from "date-fns/eachWeekOfInterval";
8
- import { endOfMonth as P } from "date-fns/endOfMonth";
9
- import { format as k } from "date-fns/format";
10
- import { isBefore as $ } from "date-fns/isBefore";
11
- import { isSameMonth as U } from "date-fns/isSameMonth";
12
- import { startOfMonth as j } from "date-fns/startOfMonth";
5
+ import { addMonths as B } from "date-fns/addMonths";
6
+ import { eachDayOfInterval as P } from "date-fns/eachDayOfInterval";
7
+ import { eachWeekOfInterval as $ } from "date-fns/eachWeekOfInterval";
8
+ import { endOfMonth as U } from "date-fns/endOfMonth";
9
+ import { format as y } from "date-fns/format";
10
+ import { isBefore as j } from "date-fns/isBefore";
11
+ import { isSameMonth as W } from "date-fns/isSameMonth";
12
+ import { startOfMonth as V } from "date-fns/startOfMonth";
13
13
  import { startOfToday as f } from "date-fns/startOfToday";
14
- import { subMonths as W } from "date-fns/subMonths";
15
- import S from "@mui/material/Button";
16
- import V from "@mui/material/Paper";
17
- import { H2 as F, Text as y } from "@mxenabled/mxui";
18
- import { ChevronLeft as Y, ChevronRight as z } from "@mxenabled/mx-icons";
19
- import { f as X, a as Z } from "./Dialog-CDV0kKxj.mjs";
14
+ import { subMonths as F } from "date-fns/subMonths";
15
+ import E from "@mui/material/Button";
16
+ import Y from "@mui/material/Paper";
17
+ import { useTokens as v, H2 as z, Text as G } from "@mxenabled/mxui";
18
+ import { ChevronLeft as X, ChevronRight as Z } from "@mxenabled/mx-icons";
19
+ import { f as q, a as J } from "./Dialog-BPTr3qHE.mjs";
20
20
  import { isSameDay as T } from "date-fns/isSameDay";
21
- import { isWithinInterval as q } from "date-fns/isWithinInterval";
22
- import { useTheme as J } from "@mui/material/styles";
23
- import u from "@mui/material/ListItem";
24
- import Q from "@mui/material/ListItemButton";
25
- import { g as nn } from "./hooks-C41HAxM5.mjs";
26
- var an = /* @__PURE__ */ ((n) => (n[n.CREDIT = 1] = "CREDIT", n[n.DEBIT = 2] = "DEBIT", n))(an || {}), tn = /* @__PURE__ */ ((n) => (n[n.POSTED = 1] = "POSTED", n[n.PENDING = 2] = "PENDING", n))(tn || {});
27
- const on = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
28
- const i = en();
29
- return /* @__PURE__ */ g("div", { className: `mx-cmn-calendar-header ${i}`, children: [
30
- /* @__PURE__ */ e(F, { className: "mx-cmn-calendar-header-title", variant: "h3", children: X(a, Z.MONTH_YEAR) }),
31
- /* @__PURE__ */ g("div", { className: "mx-cmn-calendar-header-button-container", children: [
32
- /* @__PURE__ */ e(S, { "aria-label": n.prevAria, onClick: r, children: /* @__PURE__ */ e(Y, { size: 24 }) }),
33
- /* @__PURE__ */ e(S, { "aria-label": n.nextAria, onClick: o, children: /* @__PURE__ */ e(z, { size: 24 }) })
21
+ import { isWithinInterval as Q } from "date-fns/isWithinInterval";
22
+ import nn from "@mui/material/styles/useTheme";
23
+ import k from "@mui/material/ListItem";
24
+ import an from "@mui/material/ListItemButton";
25
+ import { g as tn } from "./hooks-C41HAxM5.mjs";
26
+ var on = /* @__PURE__ */ ((n) => (n[n.CREDIT = 1] = "CREDIT", n[n.DEBIT = 2] = "DEBIT", n))(on || {}), en = /* @__PURE__ */ ((n) => (n[n.POSTED = 1] = "POSTED", n[n.PENDING = 2] = "PENDING", n))(en || {});
27
+ const rn = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
28
+ const c = v(), l = cn(c);
29
+ return /* @__PURE__ */ h("div", { className: `mx-cmn-calendar-header ${l}`, children: [
30
+ /* @__PURE__ */ e(z, { className: "mx-cmn-calendar-header-title", variant: "H3", children: q(a, J.MONTH_YEAR) }),
31
+ /* @__PURE__ */ h("div", { className: "mx-cmn-calendar-header-button-container", children: [
32
+ /* @__PURE__ */ e(E, { "aria-label": n.prevAria, onClick: r, children: /* @__PURE__ */ e(X, { size: 24 }) }),
33
+ /* @__PURE__ */ e(E, { "aria-label": n.nextAria, onClick: o, children: /* @__PURE__ */ e(Z, { size: 24 }) })
34
34
  ] })
35
35
  ] });
36
- }, en = () => R({
36
+ }, cn = (n) => p({
37
37
  alignItems: "center",
38
38
  display: "flex",
39
- marginBottom: 16,
40
- marginRight: -16,
41
- paddingLeft: 8,
39
+ marginBottom: n.Spacing.Medium,
40
+ marginRight: -n.Spacing.Medium,
41
+ paddingLeft: n.Spacing.XSmall,
42
42
  "& .mx-cmn-calendar-header-title": {
43
43
  flexGrow: 1
44
44
  },
@@ -46,44 +46,44 @@ const on = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
46
46
  display: "flex",
47
47
  gap: 4
48
48
  }
49
- }), rn = ({ beginDate: n, date: a, endDate: o, isInMonth: r, onClick: i }) => {
50
- const C = J(), L = cn(C), c = n && o && q(a, { start: n, end: o }) && !T(a, n) && !T(a, o), N = n && o && T(n, a) && !T(n, o), l = o && n && T(o, a) && !T(n, o), s = n && T(n, a) || o && T(o, a), O = T(a, f());
49
+ }), sn = ({ beginDate: n, date: a, endDate: o, isInMonth: r, onClick: c }) => {
50
+ const l = nn(), S = Tn(l), g = n && o && Q(a, { start: n, end: o }) && !T(a, n) && !T(a, o), s = n && o && T(n, a) && !T(n, o), N = o && n && T(o, a) && !T(n, o), i = n && T(n, a) || o && T(o, a), C = T(a, f());
51
51
  return /* @__PURE__ */ e(
52
52
  "div",
53
53
  {
54
54
  className: `
55
55
  mx-cmn-calendar-day
56
- ${L}
56
+ ${S}
57
57
  ${r ? "" : "mx-cmn-out-of-month"}
58
- ${c ? "mx-cmn-date-interval" : ""}
58
+ ${g ? "mx-cmn-date-interval" : ""}
59
59
  `,
60
60
  children: /* @__PURE__ */ e(
61
- S,
61
+ E,
62
62
  {
63
63
  className: `
64
64
  mx-cmn-calendar-day-button
65
- ${N ? "mx-cmn-range-start" : ""}
66
- ${l ? "mx-cmn-range-end" : ""}
65
+ ${s ? "mx-cmn-range-start" : ""}
66
+ ${N ? "mx-cmn-range-end" : ""}
67
67
  `,
68
- color: s ? "primary" : "secondary",
69
- onClick: () => i(a),
70
- variant: s ? "contained" : "text",
68
+ color: i ? "primary" : "secondary",
69
+ onClick: () => c(a),
70
+ variant: i ? "contained" : "text",
71
71
  children: /* @__PURE__ */ e(
72
- y,
72
+ G,
73
73
  {
74
74
  className: `
75
75
  mx-cmn-calendar-day-text
76
- ${s ? "mx-cmn-day-selected" : ""}
77
- ${O ? "mx-cmn-today" : ""}`,
78
- variant: "body2",
79
- children: k(a, "d")
76
+ ${i ? "mx-cmn-day-selected" : ""}
77
+ ${C ? "mx-cmn-today" : ""}`,
78
+ variant: "Small",
79
+ children: y(a, "d")
80
80
  }
81
81
  )
82
82
  }
83
83
  )
84
84
  }
85
85
  );
86
- }, cn = (n) => R({
86
+ }, Tn = (n) => p({
87
87
  height: I,
88
88
  width: I,
89
89
  display: "flex",
@@ -128,72 +128,72 @@ const on = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
128
128
  paddingBottom: 5
129
129
  }
130
130
  }
131
- }), sn = 340, I = 44;
132
- var Tn = /* @__PURE__ */ ((n) => (n.None = "None", n.Single = "Single", n.Range = "Range", n))(Tn || {});
133
- const bn = ({
131
+ }), ln = 340, I = 44;
132
+ var Cn = /* @__PURE__ */ ((n) => (n.None = "None", n.Single = "Single", n.Range = "Range", n))(Cn || {});
133
+ const Nn = ({
134
134
  copy: n,
135
135
  beginDate: a = void 0,
136
136
  endDate: o = void 0,
137
137
  onDateSelected: r,
138
- onRangeSelected: i,
139
- selectionType: C = "Single"
138
+ onRangeSelected: c,
139
+ selectionType: l = "Single"
140
140
  /* Single */
141
141
  }) => {
142
- const L = ln(), [c, N] = A.useState(f), [l, s] = A.useState(a), [O, m] = A.useState(o);
142
+ const S = v(), g = mn(S), [s, N] = A.useState(f), [i, C] = A.useState(a), [R, _] = A.useState(o);
143
143
  A.useEffect(() => {
144
- s(a), m(o), a && N(a);
144
+ C(a), _(o), a && N(a);
145
145
  }, [a, o]);
146
- const p = A.useMemo(() => {
147
- const t = B({ start: j(c), end: P(c) }), _ = [];
146
+ const D = A.useMemo(() => {
147
+ const t = $({ start: V(s), end: U(s) }), m = [];
148
148
  for (let d = 0; d < t.length; d++) {
149
- const E = t[d], D = H({ start: E, end: b(E, 6) }), x = [];
150
- for (let h = 0; h < D.length; h++)
151
- x.push(D[h]);
152
- _.push(x);
149
+ const O = t[d], u = P({ start: O, end: b(O, 6) }), x = [];
150
+ for (let L = 0; L < u.length; L++)
151
+ x.push(u[L]);
152
+ m.push(x);
153
153
  }
154
- return _;
155
- }, [c]), v = (t) => {
156
- if (C !== "None") {
157
- if (C === "Single") {
158
- s(t), r?.(t);
154
+ return m;
155
+ }, [s]), K = (t) => {
156
+ if (l !== "None") {
157
+ if (l === "Single") {
158
+ C(t), r?.(t);
159
159
  return;
160
160
  }
161
- !l || O ? (s(t), m(void 0)) : $(t, l) ? (m(l), s(t), i?.(t, l)) : (m(t), i?.(l, t));
161
+ !i || R ? (C(t), _(void 0)) : j(t, i) ? (_(i), C(t), c?.(t, i)) : (_(t), c?.(i, t));
162
162
  }
163
- }, G = () => {
164
- const t = f();
165
- N(t), C !== "None" && (s(t), C === "Single" ? r?.(t) : (m(t), i?.(t, t)));
166
- }, K = () => {
167
- N(w(c, 1));
168
163
  }, M = () => {
169
- N(W(c, 1));
164
+ const t = f();
165
+ N(t), l !== "None" && (C(t), l === "Single" ? r?.(t) : (_(t), c?.(t, t)));
166
+ }, w = () => {
167
+ N(B(s, 1));
168
+ }, H = () => {
169
+ N(F(s, 1));
170
170
  };
171
- return /* @__PURE__ */ e("div", { className: `mx-cmn-calendar ${L}`, children: /* @__PURE__ */ g(V, { sx: { boxShadow: "none" }, children: [
171
+ return /* @__PURE__ */ e("div", { className: `mx-cmn-calendar ${g}`, children: /* @__PURE__ */ h(Y, { sx: { boxShadow: "none" }, children: [
172
172
  /* @__PURE__ */ e(
173
- on,
173
+ rn,
174
174
  {
175
175
  copy: n,
176
- date: c,
177
- onNextClick: K,
178
- onPreviousClick: M
176
+ date: s,
177
+ onNextClick: w,
178
+ onPreviousClick: H
179
179
  }
180
180
  ),
181
- /* @__PURE__ */ e("div", { className: "mx-cmn-calendar-header-row", children: p[0].map((t, _) => /* @__PURE__ */ e("div", { className: "mx-cmn-calendar-header-cell", children: /* @__PURE__ */ e(y, { bold: !0, variant: "body2", children: k(t, "EEEEE") }) }, _)) }),
182
- p.map((t, _) => /* @__PURE__ */ e("div", { className: "mx-cmn-calendar-week", children: t.map((d, E) => /* @__PURE__ */ e(
183
- rn,
181
+ /* @__PURE__ */ e("div", { className: "mx-cmn-calendar-header-row", children: D[0].map((t, m) => /* @__PURE__ */ e("div", { className: "mx-cmn-calendar-header-cell", children: /* @__PURE__ */ e(G, { bold: !0, variant: "Small", children: y(t, "EEEEE") }) }, m)) }),
182
+ D.map((t, m) => /* @__PURE__ */ e("div", { className: "mx-cmn-calendar-week", children: t.map((d, O) => /* @__PURE__ */ e(
183
+ sn,
184
184
  {
185
- beginDate: l,
185
+ beginDate: i,
186
186
  date: d,
187
- endDate: O,
188
- isInMonth: U(d, c),
189
- onClick: v
187
+ endDate: R,
188
+ isInMonth: W(d, s),
189
+ onClick: K
190
190
  },
191
- E
192
- )) }, `w-${_}`)),
193
- /* @__PURE__ */ e("div", { className: "mx-cmn-calendar-today-container", children: /* @__PURE__ */ e(S, { onClick: G, size: "small", variant: "text", children: n.today }) })
191
+ O
192
+ )) }, `w-${m}`)),
193
+ /* @__PURE__ */ e("div", { className: "mx-cmn-calendar-today-container", children: /* @__PURE__ */ e(E, { onClick: M, size: "small", variant: "text", children: n.today }) })
194
194
  ] }) });
195
- }, ln = () => R({
196
- width: sn,
195
+ }, mn = (n) => p({
196
+ width: ln,
197
197
  "& .MuiPaper-root": {
198
198
  paddingLeft: 24,
199
199
  paddingRight: 24,
@@ -224,7 +224,7 @@ const bn = ({
224
224
  },
225
225
  "& .mx-cmn-calendar-today-container": {
226
226
  display: "block",
227
- marginTop: 16,
227
+ marginTop: n.Spacing.Medium,
228
228
  textAlign: "center",
229
229
  width: "100%",
230
230
  "& > .MuiButton-root": {
@@ -233,23 +233,23 @@ const bn = ({
233
233
  marginRight: "auto"
234
234
  }
235
235
  }
236
- }), wn = ({
236
+ }), Bn = Nn, Pn = ({
237
237
  children: n,
238
238
  clickEventName: a,
239
239
  onClick: o,
240
240
  sx: r = {}
241
241
  }) => {
242
- const { onEvent: i } = nn();
243
- return o ? /* @__PURE__ */ e(u, { sx: { bgcolor: "background.paper", ...r }, children: /* @__PURE__ */ e(
244
- Q,
242
+ const { onEvent: c } = tn();
243
+ return o ? /* @__PURE__ */ e(k, { sx: { bgcolor: "background.paper", ...r }, children: /* @__PURE__ */ e(
244
+ an,
245
245
  {
246
246
  onClick: () => {
247
- a && i(a), o();
247
+ a && c(a), o();
248
248
  },
249
249
  children: n
250
250
  }
251
251
  ) }) : /* @__PURE__ */ e(
252
- u,
252
+ k,
253
253
  {
254
254
  disableGutters: !1,
255
255
  disablePadding: !1,
@@ -257,7 +257,7 @@ const bn = ({
257
257
  children: n
258
258
  }
259
259
  );
260
- }, Hn = {
260
+ }, $n = {
261
261
  ON_TRANSACTION_CATEGORY_CLICK: "onTransactionCategoryClick",
262
262
  ON_TRANSACTION_CATEGORY_CHANGED: "onTransactionCategoryChanged",
263
263
  ON_TRANSACTION_MANUAL_ADD_CLICK: "onTransactionManualAddClick",
@@ -301,13 +301,13 @@ const bn = ({
301
301
  ON_TRANSACTION_UNHIDE_CANCEL_CLICK: "onTransactionUnHideCancelClick",
302
302
  ON_TRANSACTION_UNSPLIT: "onTransactionUnsplit",
303
303
  ON_TRANSACTION_UNSPLIT_CANCEL: "onTransactionUnsplitCancel"
304
- }, Bn = (n, a) => !!n.find((o) => o.feature_name === a)?.is_enabled;
304
+ }, Un = (n, a) => !!n.find((o) => o.feature_name === a)?.is_enabled;
305
305
  export {
306
- bn as C,
307
- wn as L,
308
- Hn as O,
309
- an as T,
310
- tn as a,
311
- Tn as b,
312
- Bn as i
306
+ Bn as C,
307
+ Pn as L,
308
+ $n as O,
309
+ on as T,
310
+ en as a,
311
+ Cn as b,
312
+ Un as i
313
313
  };