@mx-cartographer/experiences 9.0.0-alpha.al3 → 9.0.0-alpha.al4

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.
@@ -6,20 +6,19 @@ import C from "@mui/material/Button";
6
6
  import P from "@mui/material/Divider";
7
7
  import w from "@mui/material/IconButton";
8
8
  import O from "@mui/material/Popover";
9
- import S from "@mui/material/Stack";
10
- import D from "@mui/material/Tooltip";
11
- import { FilterAlt as A } from "@mxenabled/mx-icons";
12
- import F from "@mui/material/Checkbox";
9
+ import A from "@mui/material/Stack";
10
+ import E from "@mui/material/Tooltip";
11
+ import { FilterAlt as F } from "@mxenabled/mx-icons";
12
+ import S from "@mui/material/Checkbox";
13
13
  import G from "@mui/material/List";
14
14
  import y from "@mui/material/ListItem";
15
15
  import _ from "@mui/material/ListItemButton";
16
- import E from "@mui/material/ListItemIcon";
16
+ import H from "@mui/material/ListItemIcon";
17
17
  import v from "@mui/material/ListItemText";
18
- import { b as z, u as M, d as L } from "./hooks-BxkfR-Ff.mjs";
19
- import { u as H } from "./useScreenSize-B6JyS_Lj.mjs";
18
+ import { b as M, u as z, d as L } from "./hooks-BxkfR-Ff.mjs";
20
19
  const N = I(
21
20
  ({ allowedAccountTypes: a }) => {
22
- const { accountFilterMap: s, updateAccountFilterMap: u } = z(), { accounts: g, common: x } = M(), { account_filter: c } = x, { accountsByTypeMap: n } = L(), k = B.useMemo(
21
+ const { accountFilterMap: s, updateAccountFilterMap: u } = M(), { accounts: g, common: x } = z(), { account_filter: c } = x, { accountsByTypeMap: n } = L(), k = B.useMemo(
23
22
  () => Array.from(n.keys()).reduce((t, i) => {
24
23
  if (!a || a && a.includes(i)) {
25
24
  const o = n.get(i);
@@ -57,7 +56,7 @@ const N = I(
57
56
  sx: { py: 16 },
58
57
  children: /* @__PURE__ */ d(_, { disableGutters: !0, onClick: f, sx: { p: 0, px: 8 }, children: [
59
58
  /* @__PURE__ */ e(
60
- F,
59
+ S,
61
60
  {
62
61
  "aria-checked": m,
63
62
  checked: m,
@@ -89,7 +88,7 @@ const N = I(
89
88
  "aria-label": r,
90
89
  disableGutters: !0,
91
90
  disablePadding: !0,
92
- children: /* @__PURE__ */ d(S, { sx: { pb: 8, width: "100%" }, children: [
91
+ children: /* @__PURE__ */ d(A, { sx: { pb: 8, width: "100%" }, children: [
93
92
  /* @__PURE__ */ e(P, {}),
94
93
  /* @__PURE__ */ e(
95
94
  G,
@@ -122,8 +121,8 @@ const N = I(
122
121
  onClick: () => u(l.guid, !s.get(l.guid)),
123
122
  sx: { p: 0, minHeight: 40 },
124
123
  children: [
125
- /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
126
- F,
124
+ /* @__PURE__ */ e(H, { children: /* @__PURE__ */ e(
125
+ S,
127
126
  {
128
127
  "aria-checked": s.get(l.guid),
129
128
  checked: s.get(l.guid),
@@ -157,22 +156,23 @@ const N = I(
157
156
  }
158
157
  );
159
158
  }
160
- ), ne = I(
159
+ ), le = I(
161
160
  ({
162
161
  allowedAccountTypes: a,
163
- onAccountFilterClick: s,
164
- sx: u = {},
165
- variant: g = "text"
162
+ isDesktop: s,
163
+ onAccountFilterClick: u,
164
+ sx: g = {},
165
+ variant: x = "text"
166
166
  }) => {
167
- const { isDesktop: x } = H(), { common: c } = M(), { accountFilterMap: n, resetAccountFilterMap: k } = z(), { detailedAccounts: p, updateAccountFilter: m } = L(), [h, f] = B.useState(null), b = (W) => {
168
- k(), f(W.currentTarget), s?.();
167
+ const { common: c } = z(), { accountFilterMap: n, resetAccountFilterMap: k } = M(), { detailedAccounts: p, updateAccountFilter: m } = L(), [h, f] = B.useState(null), b = (W) => {
168
+ k(), f(W.currentTarget), u?.();
169
169
  }, t = () => {
170
170
  f(null);
171
171
  }, i = async () => {
172
172
  await m(n), f(null);
173
173
  }, o = c.account_filter, r = !!h, l = p.length === 0;
174
- return /* @__PURE__ */ d(j, { sx: { ...u }, children: [
175
- x ? /* @__PURE__ */ e(
174
+ return /* @__PURE__ */ d(j, { sx: { ...g }, children: [
175
+ s ? /* @__PURE__ */ e(
176
176
  C,
177
177
  {
178
178
  "aria-controls": r ? "filter_accounts" : void 0,
@@ -181,12 +181,12 @@ const N = I(
181
181
  "aria-label": o.title,
182
182
  disabled: l,
183
183
  onClick: b,
184
- startIcon: /* @__PURE__ */ e(A, { size: 24 }),
184
+ startIcon: /* @__PURE__ */ e(F, { size: 24 }),
185
185
  sx: { p: 8, whiteSpace: "nowrap", minWidth: "max-content" },
186
- variant: g,
186
+ variant: x,
187
187
  children: c.filter_button
188
188
  }
189
- ) : /* @__PURE__ */ e(D, { id: "filter-accounts", placement: "bottom", title: o.title, children: /* @__PURE__ */ e(
189
+ ) : /* @__PURE__ */ e(E, { id: "filter-accounts", placement: "bottom", title: o.title, children: /* @__PURE__ */ e(
190
190
  w,
191
191
  {
192
192
  "aria-controls": r ? "filter_accounts" : void 0,
@@ -198,7 +198,7 @@ const N = I(
198
198
  disabled: l,
199
199
  onClick: b,
200
200
  sx: { p: 8 },
201
- children: /* @__PURE__ */ e(A, { size: 24 })
201
+ children: /* @__PURE__ */ e(F, { size: 24 })
202
202
  }
203
203
  ) }),
204
204
  /* @__PURE__ */ e(
@@ -209,10 +209,10 @@ const N = I(
209
209
  onClose: t,
210
210
  open: r,
211
211
  transformOrigin: { vertical: "top", horizontal: "left" },
212
- children: /* @__PURE__ */ d(S, { children: [
212
+ children: /* @__PURE__ */ d(A, { children: [
213
213
  /* @__PURE__ */ e(N, { allowedAccountTypes: a }),
214
214
  /* @__PURE__ */ e(P, {}),
215
- /* @__PURE__ */ d(S, { direction: "row", justifyContent: "space-between", spacing: 16, sx: { p: 16 }, children: [
215
+ /* @__PURE__ */ d(A, { direction: "row", justifyContent: "space-between", spacing: 16, sx: { p: 16 }, children: [
216
216
  /* @__PURE__ */ e(C, { fullWidth: !0, onClick: t, variant: "text", children: c.cancel_button }),
217
217
  /* @__PURE__ */ e(
218
218
  C,
@@ -233,5 +233,5 @@ const N = I(
233
233
  }
234
234
  );
235
235
  export {
236
- ne as G
236
+ le as G
237
237
  };
@@ -1,5 +1,5 @@
1
- import { jsxs as h, jsx as e } from "react/jsx-runtime";
2
- import R from "react";
1
+ import { jsxs as f, jsx as e } from "react/jsx-runtime";
2
+ import h from "react";
3
3
  import { observer as re } from "mobx-react-lite";
4
4
  import z from "@mui/material/Button";
5
5
  import se from "@mui/material/Card";
@@ -7,11 +7,11 @@ import le from "@mui/material/CardContent";
7
7
  import de from "@mui/material/Divider";
8
8
  import K from "@mui/material/IconButton";
9
9
  import me from "@mui/material/Paper";
10
- import E from "@mui/material/Stack";
10
+ import A from "@mui/material/Stack";
11
11
  import { ChevronLeft as ce } from "@mxenabled/mx-icons";
12
12
  import { Icon as k, Text as F, DateRangePicker as J } from "@mxenabled/mxui";
13
13
  import { u as ue } from "./useDimensions-CeDR9V8N.mjs";
14
- import { G as ge } from "./GlobalAccountFilter-C0oMFGr7.mjs";
14
+ import { G as ge } from "./GlobalAccountFilter-CmnaZDS6.mjs";
15
15
  import { b as oe, u as ne, g as pe, a as he, W as fe } from "./hooks-BxkfR-Ff.mjs";
16
16
  import { addMonths as Q } from "date-fns/addMonths";
17
17
  import { addDays as be } from "date-fns/addDays";
@@ -66,7 +66,7 @@ const Be = (o) => {
66
66
  shouldShrinkToIcon: r = !0,
67
67
  variant: n = "outlined"
68
68
  }) => {
69
- const u = Le(), { isMobile: c } = ie(), { announce: M, ariaLive: g } = Ye(), [i, _] = R.useState(m), [s, H] = R.useState(a.dateRangePickerCopy.dateRangeThisMonth), [C, A] = R.useState(i), [Y, x] = R.useState(!1), [W, G] = R.useState(!0), [S, j] = R.useState(6), O = {
69
+ const u = Le(), { isMobile: c } = ie(), { announce: M, ariaLive: g } = Ye(), [i, _] = h.useState(m), [s, H] = h.useState(a.dateRangePickerCopy.dateRangeThisMonth), [C, O] = h.useState(i), [E, x] = h.useState(!1), [W, G] = h.useState(!0), [S, j] = h.useState(6), N = {
70
70
  buttons: [
71
71
  { ariaLabel: "3 Months", label: "3M", value: 3 },
72
72
  { ariaLabel: "6 Months", label: "6M", value: 6 },
@@ -80,46 +80,46 @@ const Be = (o) => {
80
80
  { label: "1 Year", value: 12 }
81
81
  ]
82
82
  };
83
- R.useEffect(() => {
84
- _(m), A(m);
85
- }, [m]), R.useEffect(() => {
83
+ h.useEffect(() => {
84
+ _(m), O(m);
85
+ }, [m]), h.useEffect(() => {
86
86
  (n === "timeframebuttons" || n === "timeframetabs") && o.onRangeChanged($());
87
87
  }, [S]);
88
88
  const $ = () => {
89
89
  const t = w(ee());
90
90
  return [w(V(t, S)), t];
91
- }, N = (t) => {
92
- const [l, p] = i, f = t === "previous";
93
- let b;
91
+ }, B = (t) => {
92
+ const [l, p] = i, b = t === "previous";
93
+ let R;
94
94
  if (s === a.dateRangePickerCopy.dateRangeThisMonth || s === a.dateRangePickerCopy.dateRangeLastMonth)
95
- b = [
96
- f ? V(l, 1) : Q(l, 1),
97
- w(f ? V(p, 1) : Q(p, 1))
95
+ R = [
96
+ b ? V(l, 1) : Q(l, 1),
97
+ w(b ? V(p, 1) : Q(p, 1))
98
98
  ];
99
99
  else if (s === a.dateRangePickerCopy.dateRangeYTD || s === a.dateRangePickerCopy.dateRangeLastYear) {
100
100
  const T = xe(l), D = Ce(l);
101
- b = [
102
- f ? te(T, 1) : Z(T, 1),
103
- f ? te(D, 1) : Z(D, 1)
101
+ R = [
102
+ b ? te(T, 1) : Z(T, 1),
103
+ b ? te(D, 1) : Z(D, 1)
104
104
  ];
105
105
  } else {
106
- const T = Re(p, l), D = f ? ye : be;
107
- b = [D(l, T), D(p, T)];
106
+ const T = Re(p, l), D = b ? ye : be;
107
+ R = [D(l, T), D(p, T)];
108
108
  }
109
- _(b), o.onRangeChanged(b);
109
+ _(R), o.onRangeChanged(R);
110
110
  }, L = () => {
111
111
  _(C), G(
112
112
  s === a.dateRangePickerCopy.dateRangeThisMonth || s === a.dateRangePickerCopy.dateRangeLastMonth
113
113
  ), o.onRangeChanged(C);
114
114
  }, y = (t, l) => {
115
115
  t[1] = t[1] ?? t[0];
116
- const p = [t[0], t[1] ? _e(t[1]) : t[1]], f = v(p[0], P.MONTH_DAY_YEAR), b = v(p[1], P.MONTH_DAY_YEAR);
117
- A(p), H(l), M(`${a.dateRangePickerCopy}: ${f} - ${b}`);
118
- }, B = (t) => {
116
+ const p = [t[0], t[1] ? _e(t[1]) : t[1]], b = v(p[0], P.MONTH_DAY_YEAR), R = v(p[1], P.MONTH_DAY_YEAR);
117
+ O(p), H(l), M(`${a.dateRangePickerCopy}: ${b} - ${R}`);
118
+ }, Y = (t) => {
119
119
  j(t);
120
120
  };
121
- return /* @__PURE__ */ h(ae, { className: "mx-cmn-date-range-selector", m: 4, children: [
122
- /* @__PURE__ */ h(
121
+ return /* @__PURE__ */ f(ae, { className: "mx-cmn-date-range-selector", m: 4, children: [
122
+ /* @__PURE__ */ f(
123
123
  ae,
124
124
  {
125
125
  sx: {
@@ -130,13 +130,13 @@ const Be = (o) => {
130
130
  [u.breakpoints.up("sm")]: { display: "inline-flex" }
131
131
  },
132
132
  children: [
133
- n === "readonly" && /* @__PURE__ */ h(E, { alignItems: "center", direction: "row", gap: 8, children: [
133
+ n === "readonly" && /* @__PURE__ */ f(A, { alignItems: "center", direction: "row", gap: 8, children: [
134
134
  /* @__PURE__ */ e(k, { name: "calendar_month", size: 24 }),
135
135
  /* @__PURE__ */ e(F, { bold: !0, children: v(C[0], P.MONTH_DAY) }),
136
136
  /* @__PURE__ */ e(k, { name: "remove" }),
137
137
  /* @__PURE__ */ e(F, { bold: !0, children: v(C[1], P.MONTH_DAY_YEAR) })
138
138
  ] }),
139
- n !== "readonly" && n !== "timeframebuttons" && n !== "timeframetabs" && /* @__PURE__ */ h(
139
+ n !== "readonly" && n !== "timeframebuttons" && n !== "timeframetabs" && /* @__PURE__ */ f(
140
140
  Te,
141
141
  {
142
142
  color: d,
@@ -157,7 +157,7 @@ const Be = (o) => {
157
157
  "aria-disabled": o.shouldDisablePrevious,
158
158
  "aria-label": a.dateRangePreviousAria,
159
159
  color: o.shouldDisablePrevious ? "secondary" : "primary",
160
- onClick: () => o.shouldDisablePrevious ? null : N("previous"),
160
+ onClick: () => o.shouldDisablePrevious ? null : B("previous"),
161
161
  children: /* @__PURE__ */ e(k, { name: "chevron_left", size: 20 })
162
162
  }
163
163
  ),
@@ -171,7 +171,7 @@ const Be = (o) => {
171
171
  sx: {
172
172
  p: c ? 0 : 8
173
173
  },
174
- children: W ? v(i[0], P.MONTH_YEAR) : /* @__PURE__ */ h("span", { children: [
174
+ children: W ? v(i[0], P.MONTH_YEAR) : /* @__PURE__ */ f("span", { children: [
175
175
  v(i[0], P.MONTH_DAY_YEAR),
176
176
  " -",
177
177
  " ",
@@ -185,7 +185,7 @@ const Be = (o) => {
185
185
  "aria-disabled": o.shouldDisableNext,
186
186
  "aria-label": a.dateRangeNextAria,
187
187
  color: o.shouldDisableNext ? "secondary" : "primary",
188
- onClick: () => o.shouldDisableNext ? null : N("next"),
188
+ onClick: () => o.shouldDisableNext ? null : B("next"),
189
189
  children: /* @__PURE__ */ e(k, { name: "chevron_right", size: 20 })
190
190
  }
191
191
  )
@@ -200,11 +200,11 @@ const Be = (o) => {
200
200
  exclusive: !0,
201
201
  orientation: "horizontal",
202
202
  value: S,
203
- children: O.buttons.map((t) => /* @__PURE__ */ e(
203
+ children: N.buttons.map((t) => /* @__PURE__ */ e(
204
204
  Me,
205
205
  {
206
206
  "aria-label": t.ariaLabel,
207
- onClick: () => B(t.value),
207
+ onClick: () => Y(t.value),
208
208
  sx: { width: 56 },
209
209
  value: t.value,
210
210
  children: t.label
@@ -217,11 +217,11 @@ const Be = (o) => {
217
217
  Pe,
218
218
  {
219
219
  indicatorColor: "primary",
220
- onChange: (t, l) => B(l),
220
+ onChange: (t, l) => Y(l),
221
221
  textColor: "primary",
222
222
  value: S,
223
223
  variant: "fullWidth",
224
- children: O.tabs.map((t) => /* @__PURE__ */ e(
224
+ children: N.tabs.map((t) => /* @__PURE__ */ e(
225
225
  ve,
226
226
  {
227
227
  label: /* @__PURE__ */ e(F, { bold: !0, variant: "body1", children: t.label }),
@@ -235,11 +235,11 @@ const Be = (o) => {
235
235
  ]
236
236
  }
237
237
  ),
238
- Y && c && /* @__PURE__ */ h(
238
+ E && c && /* @__PURE__ */ f(
239
239
  Ae,
240
240
  {
241
241
  ariaLabelClose: a.dateRangeCloseAria,
242
- isOpen: Y,
242
+ isOpen: E,
243
243
  onClose: () => x(!1),
244
244
  onPrimaryAction: () => {
245
245
  L(), x(!1);
@@ -261,7 +261,7 @@ const Be = (o) => {
261
261
  ]
262
262
  }
263
263
  ),
264
- Y && !c && /* @__PURE__ */ h(
264
+ E && !c && /* @__PURE__ */ f(
265
265
  Ee,
266
266
  {
267
267
  copy: { title: a.dateRangeEditTitle },
@@ -345,20 +345,20 @@ const Be = (o) => {
345
345
  sx: H = {},
346
346
  title: C = ""
347
347
  }) => {
348
- const [A, { height: Y, width: x }] = ue(), { onEvent: W } = pe(), {
348
+ const [O, { height: E, width: x }] = ue(), { onEvent: W } = pe(), {
349
349
  actionsFlex: G,
350
350
  containerSquareCorners: S,
351
351
  headerHeadingLevel: j,
352
- headerPaddingBottom: O,
352
+ headerPaddingBottom: N,
353
353
  headerPaddingTop: $,
354
- headerPaddingX: N,
354
+ headerPaddingX: B,
355
355
  iconSize: L,
356
356
  isCompact: y,
357
- isDesktop: B,
357
+ isDesktop: Y,
358
358
  slotPaddingBottom: t
359
359
  } = Be(x), { isCopyLoaded: l } = oe(), { common: p } = ne(), {
360
- config: { display_widget_headings: f }
361
- } = he(), b = () => {
360
+ config: { display_widget_headings: b }
361
+ } = he(), R = () => {
362
362
  g && (g(), W(Ne.WIDGET_BACK_CLICK));
363
363
  };
364
364
  if (!l)
@@ -368,11 +368,11 @@ const Be = (o) => {
368
368
  {
369
369
  "aria-label": p.back_to_dashboard,
370
370
  color: "primary",
371
- onClick: b,
371
+ onClick: R,
372
372
  sx: { p: 10 },
373
373
  children: /* @__PURE__ */ e(ce, { size: 24 })
374
374
  }
375
- ) : null, D = a && /* @__PURE__ */ e(E, { alignItems: "center", sx: { pb: t, flex: 1, flexShrink: 0 }, children: /* @__PURE__ */ e(
375
+ ) : null, D = a && /* @__PURE__ */ e(A, { alignItems: "center", sx: { pb: t, flex: 1, flexShrink: 0 }, children: /* @__PURE__ */ e(
376
376
  ze,
377
377
  {
378
378
  calendarActions: a,
@@ -387,25 +387,25 @@ const Be = (o) => {
387
387
  elevation: 1,
388
388
  square: S,
389
389
  sx: { borderBottomLeftRadius: 0, borderBottomRightRadius: 0, ...H },
390
- children: /* @__PURE__ */ h(se, { children: [
391
- /* @__PURE__ */ h(
392
- E,
390
+ children: /* @__PURE__ */ f(se, { children: [
391
+ /* @__PURE__ */ f(
392
+ A,
393
393
  {
394
394
  alignItems: "center",
395
395
  alignSelf: "stretch",
396
396
  direction: "row",
397
397
  justifyContent: "space-between",
398
398
  sx: {
399
- pb: O,
399
+ pb: N,
400
400
  pt: $,
401
- px: N
401
+ px: B
402
402
  },
403
403
  children: [
404
404
  T(),
405
- /* @__PURE__ */ e(E, { alignItems: "flex-start", minWidth: 0, sx: { flex: 1 }, children: f && /* @__PURE__ */ e(F, { sx: { width: "100%" }, truncate: !0, variant: j, children: C }) }),
405
+ /* @__PURE__ */ e(A, { alignItems: "flex-start", minWidth: 0, sx: { flex: 1 }, children: b && /* @__PURE__ */ e(F, { sx: { width: "100%" }, truncate: !0, variant: j, children: C }) }),
406
406
  !y && (s || D),
407
- /* @__PURE__ */ h(
408
- E,
407
+ /* @__PURE__ */ f(
408
+ A,
409
409
  {
410
410
  alignItems: "center",
411
411
  direction: "row",
@@ -416,13 +416,15 @@ const Be = (o) => {
416
416
  ge,
417
417
  {
418
418
  allowedAccountTypes: d,
419
+ isDesktop: Y,
419
420
  onAccountFilterClick: M
420
421
  }
421
422
  ),
422
423
  o?.map((q) => {
423
- if (R.isValidElement(q)) return q;
424
+ if (h.isValidElement(q))
425
+ return h.cloneElement(q, { isDesktop: Y });
424
426
  const { iconName: I, onClick: X, label: U } = q;
425
- return B ? /* @__PURE__ */ e(
427
+ return Y ? /* @__PURE__ */ e(
426
428
  z,
427
429
  {
428
430
  onClick: X,
@@ -440,7 +442,7 @@ const Be = (o) => {
440
442
  ),
441
443
  y && (s || D),
442
444
  y && c && /* @__PURE__ */ e(de, {}),
443
- /* @__PURE__ */ e(le, { ref: A, children: /* @__PURE__ */ e(fe, { availableHeight: Y, availableWidth: x, children: m }) })
445
+ /* @__PURE__ */ e(le, { ref: O, children: /* @__PURE__ */ e(fe, { availableHeight: E, availableWidth: x, children: m }) })
444
446
  ] })
445
447
  }
446
448
  );
@@ -63,7 +63,7 @@ import { C as l3 } from "../ConnectionsDrawer-IA7vnv1J.mjs";
63
63
  import { u as H1 } from "../useScreenSize-B6JyS_Lj.mjs";
64
64
  import { u as n1 } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
65
65
  import { L as o1 } from "../Loader-D3rjKx72.mjs";
66
- import { W as r3 } from "../WidgetContainer-DOSn19Ff.mjs";
66
+ import { W as r3 } from "../WidgetContainer-CqskWiNX.mjs";
67
67
  import { M as v1 } from "../MiniWidgetContainer-Bhkv-hpz.mjs";
68
68
  import { A as l2 } from "../AccountApi-ChQr5PAZ.mjs";
69
69
  import { A as d2 } from "../AccountStore-DpYvNnql.mjs";
@@ -48,7 +48,7 @@ import { subDays as st } from "date-fns/subDays";
48
48
  import it from "@mui/material/IconButton";
49
49
  import { M as ct } from "../ManageIncome-Cc-wba0I.mjs";
50
50
  import { u as ze } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
51
- import { W as lt } from "../WidgetContainer-DOSn19Ff.mjs";
51
+ import { W as lt } from "../WidgetContainer-CqskWiNX.mjs";
52
52
  import { u as dt, g as ut, C as mt } from "../BudgetUtil-CLhRnCoX.mjs";
53
53
  import { M as gt } from "../MiniWidgetContainer-Bhkv-hpz.mjs";
54
54
  import { b as we } from "../CategoryUtil-BVixr0d5.mjs";
@@ -40,7 +40,7 @@ import { M as st, S as ct, i as lt, d as Se, c as dt } from "../ManageIncome-Cc-
40
40
  import { D as Ge } from "../Drawer-Bbe4AMB1.mjs";
41
41
  import { subDays as Me } from "date-fns/subDays";
42
42
  import { endOfToday as mt } from "date-fns/endOfToday";
43
- import { W as ut } from "../WidgetContainer-DOSn19Ff.mjs";
43
+ import { W as ut } from "../WidgetContainer-CqskWiNX.mjs";
44
44
  import { A as Ie } from "../Analytics-BYItVAe-.mjs";
45
45
  import { A as J } from "../Account-BiB1F8lL.mjs";
46
46
  import { formatISO as pt } from "date-fns/formatISO";
@@ -2,10 +2,11 @@ import { SxProps } from '@mui/material/styles';
2
2
  import { AccountType } from '../../core';
3
3
  export interface GlobalAccountFilterProps {
4
4
  allowedAccountTypes?: AccountType[] | undefined;
5
+ isDesktop?: boolean;
5
6
  onAccountFilterClick?: () => void;
6
7
  sx?: SxProps;
7
8
  variant?: 'outlined' | 'text';
8
9
  }
9
- export declare const GlobalAccountFilter: (({ allowedAccountTypes, onAccountFilterClick, sx, variant, }: GlobalAccountFilterProps) => import("react/jsx-runtime").JSX.Element) & {
10
+ export declare const GlobalAccountFilter: (({ allowedAccountTypes, isDesktop, onAccountFilterClick, sx, variant, }: GlobalAccountFilterProps) => import("react/jsx-runtime").JSX.Element) & {
10
11
  displayName: string;
11
12
  };
@@ -11,7 +11,7 @@ import { H as W } from "../Help-B8mD4aLJ.mjs";
11
11
  import { E as Lt } from "../Help-B8mD4aLJ.mjs";
12
12
  import { M as Pt } from "../MicroWidgetContainer-B_EnfvCq.mjs";
13
13
  import { M as Nt } from "../MiniWidgetContainer-Bhkv-hpz.mjs";
14
- import { D as $t, W as Ft, u as Gt } from "../WidgetContainer-DOSn19Ff.mjs";
14
+ import { D as $t, W as Ft, u as Gt } from "../WidgetContainer-CqskWiNX.mjs";
15
15
  import { C as Wt } from "../ConnectDrawer-C0wjwcJt.mjs";
16
16
  import { f as q, c as Y, d as D } from "../BudgetUtil-CLhRnCoX.mjs";
17
17
  import { a as Yt, b as Qt, C as zt, e as Vt, k as Kt, h as jt, j as Zt, l as Xt } from "../BudgetUtil-CLhRnCoX.mjs";
@@ -35,7 +35,7 @@ import { T as K } from "../TrendsStore-CYdTo7cN.mjs";
35
35
  import { L as xs } from "../TrendsStore-CYdTo7cN.mjs";
36
36
  import { L as Bs } from "../OnClickEvents-CseHDZ94.mjs";
37
37
  import { T as Ms, a as Us } from "../ToggleListItem-BLu_fWA2.mjs";
38
- import { G as ks } from "../GlobalAccountFilter-C0oMFGr7.mjs";
38
+ import { G as ks } from "../GlobalAccountFilter-CmnaZDS6.mjs";
39
39
  import { S as Rs } from "../StatusBar-BK_uYHAB.mjs";
40
40
  import { D as Os } from "../Donut-CpxJlVvJ.mjs";
41
41
  import { D as Fs } from "../Dialog-Ck34yr-d.mjs";
@@ -14,7 +14,7 @@ import k from "@mui/material/Button";
14
14
  import A from "@mui/material/IconButton";
15
15
  import I from "@mui/material/Tooltip";
16
16
  import B from "@mui/material/useMediaQuery";
17
- import { G as F } from "../GlobalAccountFilter-C0oMFGr7.mjs";
17
+ import { G as F } from "../GlobalAccountFilter-CmnaZDS6.mjs";
18
18
  import { u as y } from "../useScreenSize-B6JyS_Lj.mjs";
19
19
  import { C as $ } from "../ConnectDrawer-C0wjwcJt.mjs";
20
20
  import { u as z } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
@@ -1,7 +1,8 @@
1
1
  interface DebtsPriorityActionProps {
2
2
  disabled?: boolean;
3
+ isDesktop?: boolean;
3
4
  }
4
- export declare const DebtsPriorityAction: (({ disabled }: DebtsPriorityActionProps) => import("react/jsx-runtime").JSX.Element) & {
5
+ export declare const DebtsPriorityAction: (({ disabled, isDesktop }: DebtsPriorityActionProps) => import("react/jsx-runtime").JSX.Element) & {
5
6
  displayName: string;
6
7
  };
7
8
  export {};
@@ -2,8 +2,9 @@ import { default as React } from 'react';
2
2
  interface DebtsPrioriyButtonProps {
3
3
  buttonText: string;
4
4
  disabled?: boolean;
5
+ isDesktop?: boolean;
5
6
  isOpen: boolean;
6
7
  onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
7
8
  }
8
- export declare const DebtsPriorityButton: ({ buttonText, disabled, isOpen, onClick, }: DebtsPrioriyButtonProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const DebtsPriorityButton: ({ buttonText, disabled, isDesktop, isOpen, onClick, }: DebtsPrioriyButtonProps) => import("react/jsx-runtime").JSX.Element;
9
10
  export {};