@mx-cartographer/experiences 7.0.29-alpha.mega2 → 7.0.29

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,6 +1,7 @@
1
1
  ## [7.0.29] - 09-29-2025
2
2
 
3
- - **FIXED** - Date range handling by ensuring the end date includes the full day for accurate selection
3
+ - **FIXED** - Corrected text transform on buttons to prevent automatic capitalization
4
+ - **UPDATED** - Applied client profile-based corner radius styles to buttons and cards for consistent UI appearance
4
5
 
5
6
  ## [7.0.28] - 09-27-2025
6
7
 
@@ -14,7 +14,7 @@ import w from "@mui/material/ListItemText";
14
14
  import { u as D } from "./AccountDetailsHeader-DXTi1p0V.mjs";
15
15
  import { c as z, u as E, f as O, g as X } from "./hooks-DlI63qSB.mjs";
16
16
  import { A as at } from "./AccountListItem-CnE3rCVZ.mjs";
17
- import { A as k } from "./WidgetContainer-D3Y1NrBT.mjs";
17
+ import { A as k } from "./WidgetContainer-Bn6JPnY3.mjs";
18
18
  import { a as V, f as B, D as j } from "./Dialog-CWW597AF.mjs";
19
19
  import { b as h } from "./Localization-2MODESHW.mjs";
20
20
  import { D as J } from "./Drawer-kEE73B87.mjs";
@@ -44,7 +44,7 @@ import yt from "@mui/material/AlertTitle";
44
44
  import xt from "@mui/material/Link";
45
45
  import wt from "@mui/material/Paper";
46
46
  import { subDays as kt, startOfToday as It, endOfToday as Mt } from "date-fns";
47
- import { T as vt, a as Lt } from "./TransactionDetails-D7Nx839i.mjs";
47
+ import { T as vt, a as Lt } from "./TransactionDetails-C2gYzV0z.mjs";
48
48
  import { T as K } from "./TabContentContainer-j01JYR_7.mjs";
49
49
  const U = ({
50
50
  children: e,
@@ -16,7 +16,7 @@ import { startOfToday as z } from "date-fns/startOfToday";
16
16
  import { endOfMonth as _e } from "date-fns/endOfMonth";
17
17
  import H from "@mui/material/Button";
18
18
  import { Delete as me, Add as ye, ReceiptLong as pe } from "@mxenabled/mx-icons";
19
- import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-D7Nx839i.mjs";
19
+ import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-C2gYzV0z.mjs";
20
20
  import { getDayOfYear as be } from "date-fns/getDayOfYear";
21
21
  import { setDayOfYear as Se } from "date-fns/setDayOfYear";
22
22
  import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
@@ -25,7 +25,7 @@ import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProv
25
25
  import { u as w, i as M, f as F, a as Ae, g as Z, o as De } from "./hooks-DlI63qSB.mjs";
26
26
  import { b as Ie, f as J } from "./NumberFormatting-CtWHhyBX.mjs";
27
27
  import { D as O } from "./Drawer-kEE73B87.mjs";
28
- import { A as R } from "./WidgetContainer-D3Y1NrBT.mjs";
28
+ import { A as R } from "./WidgetContainer-Bn6JPnY3.mjs";
29
29
  import { f as Ee, D as Re, a as Te } from "./Dialog-CWW597AF.mjs";
30
30
  import { formatISO as Le } from "date-fns/formatISO";
31
31
  import { fromUnixTime as Oe } from "date-fns/fromUnixTime";
@@ -7,10 +7,10 @@ import R from "@mui/material/Tabs";
7
7
  import l from "@mui/material/Divider";
8
8
  import T from "@mui/material/List";
9
9
  import C from "@mui/material/Stack";
10
- import { R as x, A as S, a as E, M as A } from "./ManageIncome-BFy5tz8l.mjs";
10
+ import { R as x, A as S, a as E, M as A } from "./ManageIncome-CFh-N0KK.mjs";
11
11
  import { u as h, i as y, f as _ } from "./hooks-DlI63qSB.mjs";
12
12
  import { R as v, F as N } from "./RepeatingTransaction-BW4J-jeJ.mjs";
13
- import { A as d } from "./WidgetContainer-D3Y1NrBT.mjs";
13
+ import { A as d } from "./WidgetContainer-Bn6JPnY3.mjs";
14
14
  const I = u(() => {
15
15
  const { recurring: r } = h(), { repeatingTransactions: s } = y(), { onEvent: o } = _(), a = (n) => {
16
16
  o(d.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
@@ -17,7 +17,7 @@ import { fromUnixTime as W } from "date-fns/fromUnixTime";
17
17
  import { isSameDay as Ne } from "date-fns/isSameDay";
18
18
  import { h as Ye } from "./DateUtil-BcuH7ErC.mjs";
19
19
  import { L as Ie } from "./Loader-DUaFpDGv.mjs";
20
- import { A as P } from "./WidgetContainer-D3Y1NrBT.mjs";
20
+ import { A as P } from "./WidgetContainer-Bn6JPnY3.mjs";
21
21
  import ne from "@mui/material/Paper";
22
22
  import ce from "@mui/material/Button";
23
23
  import je from "@mui/material/FormGroup";
@@ -1,43 +1,42 @@
1
- import { jsxs as I, jsx as e } from "react/jsx-runtime";
2
- import s from "react";
3
- import { observer as ce } from "mobx-react-lite";
1
+ import { jsxs as T, jsx as e } from "react/jsx-runtime";
2
+ import o from "react";
3
+ import { observer as ne } from "mobx-react-lite";
4
4
  import M from "@mui/material/Button";
5
- import X from "@mui/material/Box";
6
- import re from "@mui/material/Card";
7
- import oe from "@mui/material/CardHeader";
8
- import se from "@mui/material/CardContent";
5
+ import j from "@mui/material/Box";
6
+ import ce from "@mui/material/Card";
7
+ import re from "@mui/material/CardHeader";
8
+ import oe from "@mui/material/CardContent";
9
9
  import Z from "@mui/material/Divider";
10
10
  import F from "@mui/material/IconButton";
11
11
  import Y from "@mui/material/Stack";
12
- import { Icon as l, Text as z, DateRangePicker as q, H1 as le, H3 as Ce } from "@mxenabled/mxui";
13
- import { u as de } from "./useDimensions-27p2evRx.mjs";
14
- import { L as Te } from "./Loader-DUaFpDGv.mjs";
15
- import { f as Ie, a as Ee, u as Re, W as Ae } from "./hooks-DlI63qSB.mjs";
16
- import { u as ie } from "./useScreenSize-B6JyS_Lj.mjs";
12
+ import { Icon as s, Text as z, DateRangePicker as q, H1 as se, H3 as le } from "@mxenabled/mxui";
13
+ import { u as Ce } from "./useDimensions-27p2evRx.mjs";
14
+ import { L as de } from "./Loader-DUaFpDGv.mjs";
15
+ import { f as Te, a as Ie, u as Ee, W as Re } from "./hooks-DlI63qSB.mjs";
16
+ import { u as ae } from "./useScreenSize-B6JyS_Lj.mjs";
17
17
  import { addMonths as J } from "date-fns/addMonths";
18
18
  import { addDays as ge } from "date-fns/addDays";
19
19
  import { addYears as Q } from "date-fns/addYears";
20
- import { differenceInCalendarDays as ue } from "date-fns/differenceInCalendarDays";
21
- import { endOfDay as ee } from "date-fns/endOfDay";
20
+ import { differenceInCalendarDays as Ae } from "date-fns/differenceInCalendarDays";
22
21
  import { endOfMonth as V } from "date-fns/endOfMonth";
23
- import { endOfToday as te } from "date-fns/endOfToday";
22
+ import { endOfToday as ee } from "date-fns/endOfToday";
24
23
  import { endOfYear as Se } from "date-fns/endOfYear";
25
- import { startOfMonth as Ne } from "date-fns/startOfMonth";
26
- import { startOfToday as me } from "date-fns/startOfToday";
27
- import { startOfYear as Le } from "date-fns/startOfYear";
28
- import { subMonths as j } from "date-fns/subMonths";
29
- import { subDays as De } from "date-fns/subDays";
30
- import { subYears as _e } from "date-fns/subYears";
31
- import pe from "@mui/material/ButtonGroup";
32
- import ke from "@mui/material/Tab";
33
- import Oe from "@mui/material/Tabs";
24
+ import { startOfMonth as ue } from "date-fns/startOfMonth";
25
+ import { startOfToday as Ne } from "date-fns/startOfToday";
26
+ import { startOfYear as me } from "date-fns/startOfYear";
27
+ import { subMonths as X } from "date-fns/subMonths";
28
+ import { subDays as Le } from "date-fns/subDays";
29
+ import { subYears as te } from "date-fns/subYears";
30
+ import De from "@mui/material/ButtonGroup";
31
+ import pe from "@mui/material/Tab";
32
+ import ke from "@mui/material/Tabs";
34
33
  import he from "@mui/material/ToggleButton";
35
- import fe from "@mui/material/ToggleButtonGroup";
36
- import be from "@mui/material/styles/useTheme";
37
- import { f as K, D as G, a as we } from "./Dialog-CWW597AF.mjs";
38
- import { D as Ke } from "./Drawer-kEE73B87.mjs";
39
- import { i as Ge, j as Me } from "./ConnectDrawer-D86nRDxQ.mjs";
40
- const We = {
34
+ import Oe from "@mui/material/ToggleButtonGroup";
35
+ import fe from "@mui/material/styles/useTheme";
36
+ import { f as K, D as G, a as be } from "./Dialog-CWW597AF.mjs";
37
+ import { D as we } from "./Drawer-kEE73B87.mjs";
38
+ import { i as Ke, j as Ge } from "./ConnectDrawer-D86nRDxQ.mjs";
39
+ const Me = {
41
40
  ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
42
41
  ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",
43
42
  ACCOUNTS_CLICK_FILTER: "accounts_widget_click_filter_accounts",
@@ -156,15 +155,15 @@ const We = {
156
155
  TRENDS_HOVER_LEGEND: "trends_hover_ChartLegend",
157
156
  TRENDS_LOAD_WIDGET: "trends_load_widget",
158
157
  TRENDS_VIEW_TRANSACTIONS: "trends_view_transactions"
159
- }, ye = ({
158
+ }, We = ({
160
159
  calendarActions: i,
161
- color: N = "primary",
160
+ color: u = "primary",
162
161
  copy: a,
163
- range: m = [Ne(me()), V(te())],
164
- shouldShrinkToIcon: L = !0,
162
+ range: N = [ue(Ne()), V(ee())],
163
+ shouldShrinkToIcon: m = !0,
165
164
  variant: n = "outlined"
166
165
  }) => {
167
- const W = be(), { isMobile: D } = ie(), [C, b] = s.useState(m), [c, y] = s.useState(a.dateRangePickerCopy.dateRangeThisMonth), [r, p] = s.useState(C), [k, O] = s.useState(!1), [H, x] = s.useState(!0), [h, d] = s.useState(6), T = {
166
+ const W = fe(), { isMobile: L } = ae(), [l, b] = o.useState(N), [c, y] = o.useState(a.dateRangePickerCopy.dateRangeThisMonth), [r, D] = o.useState(l), [p, k] = o.useState(!1), [H, x] = o.useState(!0), [h, C] = o.useState(6), d = {
168
167
  buttons: [
169
168
  { label: "3M", value: 3 },
170
169
  { label: "6M", value: 6 },
@@ -178,31 +177,31 @@ const We = {
178
177
  { label: "1 Year", value: 12 }
179
178
  ]
180
179
  };
181
- s.useEffect(() => {
182
- b(m), p(m);
183
- }, [m]), s.useEffect(() => {
184
- (n === "timeframebuttons" || n === "timeframetabs") && i.onRangeChanged(E());
180
+ o.useEffect(() => {
181
+ b(N), D(N);
182
+ }, [N]), o.useEffect(() => {
183
+ (n === "timeframebuttons" || n === "timeframetabs") && i.onRangeChanged(I());
185
184
  }, [h]);
186
- const E = () => {
187
- const _ = V(te());
188
- return [V(j(_, h)), _];
185
+ const I = () => {
186
+ const _ = V(ee());
187
+ return [V(X(_, h)), _];
189
188
  }, w = (_) => {
190
- const [t, o] = C, u = _ === "previous";
189
+ const [t, O] = l, A = _ === "previous";
191
190
  let S;
192
191
  if (c === a.dateRangePickerCopy.dateRangeThisMonth || c === a.dateRangePickerCopy.dateRangeLastMonth)
193
192
  S = [
194
- u ? j(t, 1) : J(t, 1),
195
- V(u ? j(o, 1) : J(o, 1))
193
+ A ? X(t, 1) : J(t, 1),
194
+ V(A ? X(O, 1) : J(O, 1))
196
195
  ];
197
196
  else if (c === a.dateRangePickerCopy.dateRangeYTD || c === a.dateRangePickerCopy.dateRangeLastYear) {
198
- const R = Le(t), A = Se(t);
197
+ const E = me(t), R = Se(t);
199
198
  S = [
200
- u ? _e(R, 1) : Q(R, 1),
201
- u ? _e(A, 1) : Q(A, 1)
199
+ A ? te(E, 1) : Q(E, 1),
200
+ A ? te(R, 1) : Q(R, 1)
202
201
  ];
203
202
  } else {
204
- const R = ue(o, t), A = u ? De : ge;
205
- S = [A(t, R), A(o, R)];
203
+ const E = Ae(O, t), R = A ? Le : ge;
204
+ S = [R(t, E), R(O, E)];
206
205
  }
207
206
  b(S), i.onRangeChanged(S);
208
207
  }, v = () => {
@@ -210,33 +209,33 @@ const We = {
210
209
  c === a.dateRangePickerCopy.dateRangeThisMonth || c === a.dateRangePickerCopy.dateRangeLastMonth
211
210
  ), i.onRangeChanged(r);
212
211
  }, U = (_) => {
213
- d(_);
212
+ C(_);
214
213
  };
215
- return /* @__PURE__ */ I(X, { className: "mx-cmn-date-range-selector", m: 4, children: [
216
- /* @__PURE__ */ I(
217
- X,
214
+ return /* @__PURE__ */ T(j, { className: "mx-cmn-date-range-selector", m: 4, children: [
215
+ /* @__PURE__ */ T(
216
+ j,
218
217
  {
219
218
  sx: {
220
219
  [W.breakpoints.down("sm")]: {
221
- display: L ? "none" : "flex",
220
+ display: m ? "none" : "flex",
222
221
  justifyContent: "center"
223
222
  },
224
223
  [W.breakpoints.up("sm")]: { display: "inline-flex" }
225
224
  },
226
225
  children: [
227
- n === "readonly" && /* @__PURE__ */ I(Y, { alignItems: "center", direction: "row", gap: 8, children: [
228
- /* @__PURE__ */ e(l, { name: "calendar_month", size: 24 }),
226
+ n === "readonly" && /* @__PURE__ */ T(Y, { alignItems: "center", direction: "row", gap: 8, children: [
227
+ /* @__PURE__ */ e(s, { name: "calendar_month", size: 24 }),
229
228
  /* @__PURE__ */ e(z, { bold: !0, children: K(r[0], G.MONTH_DAY) }),
230
- /* @__PURE__ */ e(l, { name: "remove" }),
229
+ /* @__PURE__ */ e(s, { name: "remove" }),
231
230
  /* @__PURE__ */ e(z, { bold: !0, children: K(r[1], G.MONTH_DAY_YEAR) })
232
231
  ] }),
233
- n !== "readonly" && n !== "timeframebuttons" && n !== "timeframetabs" && /* @__PURE__ */ I(
234
- pe,
232
+ n !== "readonly" && n !== "timeframebuttons" && n !== "timeframetabs" && /* @__PURE__ */ T(
233
+ De,
235
234
  {
236
- color: N,
235
+ color: u,
237
236
  sx: {
238
237
  "& .MuiButtonGroup-grouped": {
239
- padding: D ? 0 : 12
238
+ padding: L ? 0 : 12
240
239
  },
241
240
  "& .MuiButtonGroup-middleButton": {
242
241
  px: 24
@@ -252,24 +251,24 @@ const We = {
252
251
  "aria-label": a.dateRangePreviousAria,
253
252
  color: i.shouldDisablePrevious ? "secondary" : "primary",
254
253
  onClick: () => i.shouldDisablePrevious ? null : w("previous"),
255
- children: /* @__PURE__ */ e(l, { name: "chevron_left", size: 20 })
254
+ children: /* @__PURE__ */ e(s, { name: "chevron_left", size: 20 })
256
255
  }
257
256
  ),
258
257
  /* @__PURE__ */ e(
259
258
  M,
260
259
  {
261
260
  "aria-disabled": i.shouldDisablePicker,
262
- color: N,
263
- onClick: () => i.shouldDisablePicker ? null : O(!0),
264
- startIcon: /* @__PURE__ */ e(l, { name: "calendar_month", size: 20 }),
261
+ color: u,
262
+ onClick: () => i.shouldDisablePicker ? null : k(!0),
263
+ startIcon: /* @__PURE__ */ e(s, { name: "calendar_month", size: 20 }),
265
264
  sx: {
266
- p: D ? 0 : 8
265
+ p: L ? 0 : 8
267
266
  },
268
- children: H ? K(C[0], G.MONTH_YEAR) : /* @__PURE__ */ I("span", { children: [
269
- K(C[0], G.MONTH_DAY_YEAR),
267
+ children: H ? K(l[0], G.MONTH_YEAR) : /* @__PURE__ */ T("span", { children: [
268
+ K(l[0], G.MONTH_DAY_YEAR),
270
269
  " -",
271
270
  " ",
272
- K(C[1], G.MONTH_DAY_YEAR)
271
+ K(l[1], G.MONTH_DAY_YEAR)
273
272
  ] })
274
273
  }
275
274
  ),
@@ -280,20 +279,20 @@ const We = {
280
279
  "aria-label": a.dateRangeNextAria,
281
280
  color: i.shouldDisableNext ? "secondary" : "primary",
282
281
  onClick: () => i.shouldDisableNext ? null : w("next"),
283
- children: /* @__PURE__ */ e(l, { name: "chevron_right", size: 20 })
282
+ children: /* @__PURE__ */ e(s, { name: "chevron_right", size: 20 })
284
283
  }
285
284
  )
286
285
  ]
287
286
  }
288
287
  ),
289
288
  n === "timeframebuttons" && /* @__PURE__ */ e(
290
- fe,
289
+ Oe,
291
290
  {
292
- color: N,
291
+ color: u,
293
292
  exclusive: !0,
294
293
  orientation: "horizontal",
295
294
  value: h,
296
- children: T.buttons.map((_) => /* @__PURE__ */ e(
295
+ children: d.buttons.map((_) => /* @__PURE__ */ e(
297
296
  he,
298
297
  {
299
298
  onClick: () => U(_.value),
@@ -306,15 +305,15 @@ const We = {
306
305
  }
307
306
  ),
308
307
  n === "timeframetabs" && /* @__PURE__ */ e(
309
- Oe,
308
+ ke,
310
309
  {
311
310
  indicatorColor: "primary",
312
311
  onChange: (_, t) => U(t),
313
312
  textColor: "primary",
314
313
  value: h,
315
314
  variant: "fullWidth",
316
- children: T.tabs.map((_) => /* @__PURE__ */ e(
317
- ke,
315
+ children: d.tabs.map((_) => /* @__PURE__ */ e(
316
+ pe,
318
317
  {
319
318
  label: /* @__PURE__ */ e(z, { bold: !0, variant: "Body", children: _.label }),
320
319
  sx: { minWidth: 80 },
@@ -327,14 +326,14 @@ const We = {
327
326
  ]
328
327
  }
329
328
  ),
330
- k && D && /* @__PURE__ */ e(
331
- Ke,
329
+ p && L && /* @__PURE__ */ e(
330
+ we,
332
331
  {
333
332
  ariaLabelClose: a.dateRangeCloseAria,
334
- isOpen: k,
335
- onClose: () => O(!1),
333
+ isOpen: p,
334
+ onClose: () => k(!1),
336
335
  onPrimaryAction: () => {
337
- v(), O(!1);
336
+ v(), k(!1);
338
337
  },
339
338
  primaryText: a.dateRangeEditApply,
340
339
  title: a.dateRangeEditTitle,
@@ -344,12 +343,7 @@ const We = {
344
343
  copy: a.dateRangePickerCopy,
345
344
  dateRange: r,
346
345
  onRangeChanged: (_, t) => {
347
- _[0] && !_[1] && (_[1] = _[0]);
348
- const o = [
349
- _[0],
350
- _[1] ? ee(_[1]) : _[1]
351
- ];
352
- p(o), y(t);
346
+ _[0] && !_[1] && (_[1] = _[0]), D(_), y(t);
353
347
  },
354
348
  selectedShortcut: c,
355
349
  sx: { p: 16 }
@@ -357,12 +351,12 @@ const We = {
357
351
  )
358
352
  }
359
353
  ),
360
- k && !D && /* @__PURE__ */ e(
361
- we,
354
+ p && !L && /* @__PURE__ */ e(
355
+ be,
362
356
  {
363
357
  copy: { title: a.dateRangeEditTitle },
364
358
  isOpen: !0,
365
- onClose: () => O(!1),
359
+ onClose: () => k(!1),
366
360
  onPrimaryAction: () => v(),
367
361
  primaryText: a.dateRangeEditApply,
368
362
  sx: {
@@ -376,12 +370,7 @@ const We = {
376
370
  copy: a.dateRangePickerCopy,
377
371
  dateRange: r,
378
372
  onRangeChanged: (_, t) => {
379
- _[0] && !_[1] && (_[1] = _[0]);
380
- const o = [
381
- _[0],
382
- _[1] ? ee(_[1]) : _[1]
383
- ];
384
- p(o), y(t);
373
+ _[0] && !_[1] && (_[1] = _[0]), D(_), y(t);
385
374
  },
386
375
  selectedShortcut: c,
387
376
  sx: {
@@ -395,26 +384,26 @@ const We = {
395
384
  }
396
385
  )
397
386
  ] });
398
- }, ae = ye, xe = ({
387
+ }, _e = We, ye = ({
399
388
  accountOptions: i,
400
- actions: N = [],
389
+ actions: u = [],
401
390
  calendarActions: a,
402
- children: m,
403
- dateRange: L,
391
+ children: N,
392
+ dateRange: m,
404
393
  dateRangeVariant: n,
405
394
  className: W = "mx-cmn-widget",
406
- hasDivider: D = !1,
407
- onBackClick: C,
395
+ hasDivider: L = !1,
396
+ onBackClick: l,
408
397
  onAccountsFilterClick: b,
409
398
  showDividerAboveDateSelector: c = !0,
410
399
  sx: y = {},
411
400
  title: r = ""
412
401
  }) => {
413
- const [p, k] = s.useState(!1), [O, { height: H, width: x }] = de(), { onEvent: h } = Ie(), { isDesktop: d, isMobile: T, isTablet: E } = ie(x), { displayedDateRange: w, isCopyLoaded: v, selectedAccountGuids: U, setSelectedAccountGuids: _ } = Ee(), { common: t, connect: o } = Re(), u = () => {
414
- C && (C(), h(We.WIDGET_BACK_CLICK));
402
+ const [D, p] = o.useState(!1), [k, { height: H, width: x }] = Ce(), { onEvent: h } = Te(), { isDesktop: C, isMobile: d, isTablet: I } = ae(x), { displayedDateRange: w, isCopyLoaded: v, selectedAccountGuids: U, setSelectedAccountGuids: _ } = Ie(), { common: t, connect: O } = Ee(), A = () => {
403
+ l && (l(), h(Me.WIDGET_BACK_CLICK));
415
404
  };
416
405
  if (!v)
417
- return /* @__PURE__ */ e(Te, {});
406
+ return /* @__PURE__ */ e(de, {});
418
407
  const S = {
419
408
  accountFilterOptionsCopy: {
420
409
  accountTypeAccounts: t.account_filter.account_type_accounts,
@@ -429,7 +418,7 @@ const We = {
429
418
  zeroStateTitle: t.account_filter.zero_state_title
430
419
  },
431
420
  title: t.account_filter.title
432
- }, R = {
421
+ }, E = {
433
422
  dateRangePickerCopy: {
434
423
  dateRangeFrom: t.date_range_picker.from,
435
424
  dateRangeTo: t.date_range_picker.to,
@@ -447,39 +436,39 @@ const We = {
447
436
  dateRangeEditTitle: t.date_range_picker.edit_title,
448
437
  dateRangeNextAria: t.date_range_picker.next_aria,
449
438
  dateRangePreviousAria: t.date_range_picker.previous_aria
450
- }, A = L ? L.start : w.start, $ = L ? L.end : w.end, ne = N?.length > 1;
451
- return /* @__PURE__ */ I(
452
- re,
439
+ }, R = m ? m.start : w.start, $ = m ? m.end : w.end, ie = u?.length > 1;
440
+ return /* @__PURE__ */ T(
441
+ ce,
453
442
  {
454
443
  className: W,
455
444
  sx: {
456
- ...T && { px: 4 },
445
+ ...d && { px: 4 },
457
446
  "& .mx-cmn-date-range-selector": {
458
- ...(T || E) && { textAlign: "center" }
447
+ ...(d || I) && { textAlign: "center" }
459
448
  },
460
449
  ...y
461
450
  },
462
451
  children: [
463
452
  r && /* @__PURE__ */ e(
464
- oe,
453
+ re,
465
454
  {
466
- action: /* @__PURE__ */ I(Y, { alignItems: "center", flexDirection: "row", children: [
467
- d && a && /* @__PURE__ */ e(X, { sx: { flexGrow: 1 }, children: /* @__PURE__ */ e(
468
- ae,
455
+ action: /* @__PURE__ */ T(Y, { alignItems: "center", flexDirection: "row", children: [
456
+ C && a && /* @__PURE__ */ e(j, { sx: { flexGrow: 1 }, children: /* @__PURE__ */ e(
457
+ _e,
469
458
  {
470
459
  calendarActions: a,
471
- copy: R,
472
- range: [A, $],
460
+ copy: E,
461
+ range: [R, $],
473
462
  shouldShrinkToIcon: !1,
474
463
  variant: n
475
464
  }
476
465
  ) }),
477
466
  i && /* @__PURE__ */ e(
478
- Ge,
467
+ Ke,
479
468
  {
480
469
  accounts: i,
481
470
  copy: S,
482
- onConnectAccountClick: () => k(!0),
471
+ onConnectAccountClick: () => p(!0),
483
472
  onFilterClick: (f) => {
484
473
  _(f), b?.(f);
485
474
  },
@@ -488,86 +477,86 @@ const We = {
488
477
  variant: "text"
489
478
  }
490
479
  ),
491
- N?.map((f) => {
492
- if (s.isValidElement(f)) return f;
480
+ u?.map((f) => {
481
+ if (o.isValidElement(f)) return f;
493
482
  const { iconName: g, onClick: P, label: B } = f;
494
- return ne ? d || E ? /* @__PURE__ */ e(
483
+ return ie ? C || I ? /* @__PURE__ */ e(
495
484
  M,
496
485
  {
497
486
  onClick: P,
498
- startIcon: /* @__PURE__ */ e(l, { name: g, size: 24 }),
487
+ startIcon: /* @__PURE__ */ e(s, { name: g, size: 24 }),
499
488
  sx: { my: 4 },
500
489
  children: B
501
490
  },
502
491
  g
503
- ) : /* @__PURE__ */ e(F, { "aria-label": B, color: "primary", onClick: P, children: /* @__PURE__ */ e(l, { name: g, size: 24 }) }, g) : d || E ? /* @__PURE__ */ e(
492
+ ) : /* @__PURE__ */ e(F, { "aria-label": B, color: "primary", onClick: P, children: /* @__PURE__ */ e(s, { name: g, size: 24 }) }, g) : C || I ? /* @__PURE__ */ e(
504
493
  M,
505
494
  {
506
495
  onClick: P,
507
- startIcon: /* @__PURE__ */ e(l, { name: g, size: 24 }),
496
+ startIcon: /* @__PURE__ */ e(s, { name: g, size: 24 }),
508
497
  sx: { my: 4 },
509
498
  children: B
510
499
  },
511
500
  g
512
- ) : /* @__PURE__ */ e(F, { "aria-label": B, color: "primary", onClick: P, children: /* @__PURE__ */ e(l, { name: g, size: 24 }) }, g);
501
+ ) : /* @__PURE__ */ e(F, { "aria-label": B, color: "primary", onClick: P, children: /* @__PURE__ */ e(s, { name: g, size: 24 }) }, g);
513
502
  })
514
503
  ] }),
515
504
  sx: {
516
- p: d ? 48 : 24,
505
+ p: C ? 48 : 24,
517
506
  pb: 0,
518
507
  "& .MuiCardHeader-action": {
519
508
  mr: 0,
520
- ...a && d && { flexGrow: 1 },
521
- ...(T || E) && { alignSelf: "center" }
509
+ ...a && C && { flexGrow: 1 },
510
+ ...(d || I) && { alignSelf: "center" }
522
511
  },
523
512
  "& .MuiCardHeader-content": {
524
513
  overflow: "hidden"
525
514
  }
526
515
  },
527
- title: d || E ? /* @__PURE__ */ e(le, { children: r }) : /* @__PURE__ */ I(Y, { alignItems: "center", flexDirection: "row", sx: { overflow: "hidden" }, children: [
528
- T && C && /* @__PURE__ */ e(
516
+ title: C || I ? /* @__PURE__ */ e(se, { children: r }) : /* @__PURE__ */ T(Y, { alignItems: "center", flexDirection: "row", sx: { overflow: "hidden" }, children: [
517
+ d && l && /* @__PURE__ */ e(
529
518
  F,
530
519
  {
531
520
  "aria-label": t.back_to_dashboard,
532
521
  color: "primary",
533
- onClick: u,
522
+ onClick: A,
534
523
  sx: { p: 12, mr: 4 },
535
- children: /* @__PURE__ */ e(l, { name: "arrow_back", size: 24 })
524
+ children: /* @__PURE__ */ e(s, { name: "arrow_back", size: 24 })
536
525
  }
537
526
  ),
538
- /* @__PURE__ */ e(Ce, { children: r })
527
+ /* @__PURE__ */ e(le, { children: r })
539
528
  ] })
540
529
  }
541
530
  ),
542
- D && /* @__PURE__ */ e(Z, { sx: { mt: d ? 48 : 24 } }),
543
- a && (T || E) && /* @__PURE__ */ I(Y, { gap: 24, justifyContent: "center", sx: { mt: T ? 0 : 16 }, children: [
531
+ L && /* @__PURE__ */ e(Z, { sx: { mt: C ? 48 : 24 } }),
532
+ a && (d || I) && /* @__PURE__ */ T(Y, { gap: 24, justifyContent: "center", sx: { mt: d ? 0 : 16 }, children: [
544
533
  c && /* @__PURE__ */ e(Z, {}),
545
534
  /* @__PURE__ */ e(
546
- ae,
535
+ _e,
547
536
  {
548
537
  calendarActions: a,
549
- copy: R,
550
- range: [A, $],
538
+ copy: E,
539
+ range: [R, $],
551
540
  shouldShrinkToIcon: !1,
552
541
  variant: n
553
542
  }
554
543
  )
555
544
  ] }),
556
- p && /* @__PURE__ */ e(
557
- Me,
545
+ D && /* @__PURE__ */ e(
546
+ Ge,
558
547
  {
559
- onClose: () => k(!1),
560
- showConnectWidget: p,
561
- title: o.mini_title
548
+ onClose: () => p(!1),
549
+ showConnectWidget: D,
550
+ title: O.mini_title
562
551
  }
563
552
  ),
564
- /* @__PURE__ */ e(se, { ref: O, sx: { p: 0 }, children: /* @__PURE__ */ e(Ae, { availableHeight: H, availableWidth: x, children: m }) })
553
+ /* @__PURE__ */ e(oe, { ref: k, sx: { p: 0 }, children: /* @__PURE__ */ e(Re, { availableHeight: H, availableWidth: x, children: N }) })
565
554
  ]
566
555
  }
567
556
  );
568
- }, Lt = ce(xe);
557
+ }, Nt = ne(ye);
569
558
  export {
570
- We as A,
571
- ae as D,
572
- Lt as W
559
+ Me as A,
560
+ _e as D,
561
+ Nt as W
573
562
  };
@@ -7,14 +7,14 @@ import E from "@mui/material/List";
7
7
  import T from "@mui/material/ListSubheader";
8
8
  import x from "@mui/system/Stack";
9
9
  import { Text as v } from "@mxenabled/mxui";
10
- import { A as G } from "../AccountDetailsContent-B8BSf9Bj.mjs";
11
- import { u as O1 } from "../AccountDetailsContent-B8BSf9Bj.mjs";
10
+ import { A as G } from "../AccountDetailsContent-BZAbCT6q.mjs";
11
+ import { u as O1 } from "../AccountDetailsContent-BZAbCT6q.mjs";
12
12
  import { u as K, A as z } from "../AccountDetailsHeader-DXTi1p0V.mjs";
13
13
  import { A as W } from "../AccountListItem-CnE3rCVZ.mjs";
14
14
  import { u as g, a as y, c as O, f as N, m as P } from "../hooks-DlI63qSB.mjs";
15
15
  import { f as I } from "../NumberFormatting-CtWHhyBX.mjs";
16
16
  import { D as Y } from "../Drawer-kEE73B87.mjs";
17
- import { A, W as q } from "../WidgetContainer-D3Y1NrBT.mjs";
17
+ import { A, W as q } from "../WidgetContainer-Bn6JPnY3.mjs";
18
18
  import { C as J } from "../ConnectionsDrawer-BkNr5Up0.mjs";
19
19
  import { u as Q } from "../useScreenSize-B6JyS_Lj.mjs";
20
20
  import { L as R } from "../Loader-DUaFpDGv.mjs";