@mx-cartographer/experiences 9.0.13 → 9.0.14

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.
@@ -7,9 +7,9 @@ import R from "@mui/material/Tabs";
7
7
  import d from "@mui/material/Divider";
8
8
  import b from "@mui/material/List";
9
9
  import T from "@mui/material/Stack";
10
- import { R as C, A as S, a as E, M as v } from "./ManageIncome-CPy6xnnI.mjs";
10
+ import { R as C, A as S, a as E, M as v } from "./ManageIncome-BadwsHRL.mjs";
11
11
  import { u as _, h as A, f } from "./hooks-97sNJ_lf.mjs";
12
- import { R as y, F as N } from "./RecurringTransactionsUtil-zOxq5pzY.mjs";
12
+ import { R as y, F as N } from "./RecurringTransactionsUtil-CHWmqvW5.mjs";
13
13
  import { A as m } from "./Analytics-WeZYytR0.mjs";
14
14
  const I = h(() => {
15
15
  const { recurring: g } = _(), { detailedRepeatingTransactions: n } = A(), { onEvent: a } = f(), l = (r) => {
@@ -8,15 +8,15 @@ import { formatISO as K } from "date-fns/formatISO";
8
8
  import { fromUnixTime as C } from "date-fns/fromUnixTime";
9
9
  import { getUnixTime as y } from "date-fns/getUnixTime";
10
10
  import { isAfter as D } from "date-fns/isAfter";
11
- import { isBefore as u } from "date-fns/isBefore";
11
+ import { isBefore as d } from "date-fns/isBefore";
12
12
  import { isSameDay as H } from "date-fns/isSameDay";
13
13
  import { lastDayOfMonth as j } from "date-fns/lastDayOfMonth";
14
- import { nextDay as O } from "date-fns/nextDay";
14
+ import { nextDay as b } from "date-fns/nextDay";
15
15
  import { parseISO as U } from "date-fns/parseISO";
16
16
  import { setDate as k } from "date-fns/setDate";
17
17
  import { setDay as z } from "date-fns/setDay";
18
18
  import { setDayOfYear as B } from "date-fns/setDayOfYear";
19
- import { startOfToday as b } from "date-fns/startOfToday";
19
+ import { startOfToday as E } from "date-fns/startOfToday";
20
20
  import { subDays as Q } from "date-fns/subDays";
21
21
  import { subMonths as J } from "date-fns/subMonths";
22
22
  import { subQuarters as G } from "date-fns/subQuarters";
@@ -25,7 +25,7 @@ import { subYears as X } from "date-fns/subYears";
25
25
  import { g as Z, a as q, b as F, c as R, d as T, e as ee, f as te, h as re, i as se } from "./DateUtil-CzBmbjmA.mjs";
26
26
  import { b as Y } from "./NumberFormatting--XMeeBfr.mjs";
27
27
  import { b as f } from "./Localization-DnoVyBNK.mjs";
28
- import { f as E, D as M } from "./DateFormats-HudZ3Bjs.mjs";
28
+ import { f as M, D as O } from "./DateFormats-HudZ3Bjs.mjs";
29
29
  var c = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.EveryWeek = 1] = "EveryWeek", e[e.EveryOtherWeek = 2] = "EveryOtherWeek", e[e.EveryMonth = 3] = "EveryMonth", e[e.EveryOtherMonth = 4] = "EveryOtherMonth", e[e.EveryQuarter = 5] = "EveryQuarter", e[e.EveryOtherQuarter = 6] = "EveryOtherQuarter", e[e.EveryYear = 7] = "EveryYear", e[e.TwiceAMonth = 8] = "TwiceAMonth", e))(c || {}), _ = /* @__PURE__ */ ((e) => (e[e.Paid = 0] = "Paid", e[e.Missed = 1] = "Missed", e[e.Upcoming = 2] = "Upcoming", e))(_ || {}), g = /* @__PURE__ */ ((e) => (e[e.Expense = 0] = "Expense", e[e.Income = 1] = "Income", e))(g || {}), P = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e[e.Income = 3] = "Income", e[e.Transfer = 4] = "Transfer", e))(P || {});
30
30
  const ae = (e) => {
31
31
  if (!e) return "";
@@ -52,31 +52,31 @@ const ae = (e) => {
52
52
  status: _.Upcoming,
53
53
  type: e.repeating_transaction_type === P.Income ? g.Income : g.Expense,
54
54
  transaction: void 0
55
- }, n = a.start, d = a.end;
55
+ }, n = a.start, u = a.end;
56
56
  switch (e.recurrence_type) {
57
57
  case c.EveryWeek:
58
- r.push(...ne(i, n, d));
58
+ r.push(...ne(i, n, u));
59
59
  break;
60
60
  case c.EveryOtherWeek:
61
- r.push(...ce(i, n, d));
61
+ r.push(...ce(i, n, u));
62
62
  break;
63
63
  case c.TwiceAMonth:
64
- r.push(...ie(i, n, d));
64
+ r.push(...ie(i, n, u));
65
65
  break;
66
66
  case c.EveryMonth:
67
- r.push(...de(i, n, d));
67
+ r.push(...de(i, n, u));
68
68
  break;
69
69
  case c.EveryOtherMonth:
70
- r.push(...ue(i, n, d));
70
+ r.push(...ue(i, n, u));
71
71
  break;
72
72
  case c.EveryQuarter:
73
- r.push(...me(i, n, d));
73
+ r.push(...me(i, n, u));
74
74
  break;
75
75
  case c.EveryOtherQuarter:
76
- r.push(...he(i, n, d));
76
+ r.push(...he(i, n, u));
77
77
  break;
78
78
  case c.EveryYear:
79
- r.push(...le(i, n, d));
79
+ r.push(...le(i, n, u));
80
80
  break;
81
81
  }
82
82
  const v = /* @__PURE__ */ new Set();
@@ -85,70 +85,70 @@ const ae = (e) => {
85
85
  (h) => h.repeating_transaction_guid === e.guid && !v.has(h.guid)
86
86
  ), p = w.find(
87
87
  (h) => h.date > y(Q(m.expectedDate, 5)) && h.date < y(N(m.expectedDate, 5))
88
- ) || w.reduce((h, W) => {
88
+ ) || (d(m.expectedDate, E()) ? w.reduce((h, W) => {
89
89
  const S = Math.abs(W.date - y(m.expectedDate)), L = h ? Math.abs(h.date - y(m.expectedDate)) : 1 / 0;
90
90
  return S < L ? W : h;
91
- }, void 0);
92
- p ? (v.add(p.guid), m.transaction = p, m.status = _.Paid, m.occurredOnDate = C(p.date)) : u(m.expectedDate, Q(b(), 3)) && (m.status = _.Missed);
91
+ }, void 0) : void 0);
92
+ p ? (v.add(p.guid), m.transaction = p, m.status = _.Paid, m.occurredOnDate = C(p.date)) : d(m.expectedDate, Q(E(), 3)) && (m.status = _.Missed);
93
93
  }
94
94
  return r;
95
95
  }, ne = (e, a, r) => {
96
96
  const o = [];
97
- let t = O(a, e.recurrenceDay);
98
- for (; u(t, r); )
99
- o.push({ ...e, expectedDate: t }), t = O(t, e.recurrenceDay);
97
+ let t = b(a, e.recurrenceDay);
98
+ for (; d(t, r); )
99
+ o.push({ ...e, expectedDate: t }), t = b(t, e.recurrenceDay);
100
100
  return o;
101
101
  }, ce = (e, a, r) => {
102
102
  const o = [];
103
103
  let t = e.expectedDate;
104
- if (u(t, a))
105
- for (; u(t, a); )
104
+ if (d(t, a))
105
+ for (; d(t, a); )
106
106
  t = x(t, 2);
107
107
  else {
108
108
  for (; D(t, a) || H(t, a); )
109
109
  t = V(t, 2);
110
110
  t = x(t, 2);
111
111
  }
112
- for (; u(t, r); )
112
+ for (; d(t, r); )
113
113
  o.push({ ...e, expectedDate: t }), t = N(t, 14);
114
114
  return o;
115
115
  }, ie = (e, a, r) => {
116
116
  const o = [];
117
117
  let t = k(a, e.recurrenceDay);
118
- for (; u(t, r); )
118
+ for (; d(t, r); )
119
119
  o.push({ ...e, expectedDate: t }), t = l(t, 1);
120
120
  let s = e.secondRecurrenceDay && e.secondRecurrenceDay < 28 ? k(a, e.secondRecurrenceDay) : j(a);
121
- for (; u(s, r); )
121
+ for (; d(s, r); )
122
122
  o.push({ ...e, expectedDate: s }), s = l(s, 1);
123
123
  return o;
124
124
  }, de = (e, a, r) => {
125
125
  const o = [];
126
126
  let t = k(a, e.recurrenceDay);
127
- for (o.push({ ...e, expectedDate: t }), t = l(t, 1); u(t, r); )
127
+ for (o.push({ ...e, expectedDate: t }), t = l(t, 1); d(t, r); )
128
128
  o.push({ ...e, expectedDate: t }), t = l(t, 1);
129
129
  return o;
130
130
  }, ue = (e, a, r) => {
131
131
  const o = [], t = e.expectedDate;
132
- let s = u(t, r) ? t : J(t, 2);
133
- for (; u(s, r); )
132
+ let s = d(t, r) ? t : J(t, 2);
133
+ for (; d(s, r); )
134
134
  D(s, a) && o.push({ ...e, expectedDate: s }), s = l(s, 2);
135
135
  return o;
136
136
  }, me = (e, a, r) => {
137
137
  const o = [], t = e.expectedDate;
138
- let s = u(t, r) ? t : G(t, 1);
139
- for (; u(s, r); )
138
+ let s = d(t, r) ? t : G(t, 1);
139
+ for (; d(s, r); )
140
140
  D(s, a) && o.push({ ...e, expectedDate: s }), s = A(s, 1);
141
141
  return o;
142
142
  }, he = (e, a, r) => {
143
143
  const o = [], t = e.expectedDate;
144
- let s = u(t, r) ? t : G(t, 2);
145
- for (; u(s, r); )
144
+ let s = d(t, r) ? t : G(t, 2);
145
+ for (; d(s, r); )
146
146
  D(s, a) && o.push({ ...e, expectedDate: s }), s = A(s, 2);
147
147
  return o;
148
148
  }, le = (e, a, r) => {
149
149
  const o = [], t = e.expectedDate;
150
- let s = u(t, r) ? t : X(t, 1);
151
- for (; u(s, r); )
150
+ let s = d(t, r) ? t : X(t, 1);
151
+ for (; d(s, r); )
152
152
  D(s, a) && o.push({ ...e, expectedDate: s }), s = I(s, 1);
153
153
  return o;
154
154
  }, He = (e, a) => {
@@ -183,7 +183,7 @@ const ae = (e) => {
183
183
  recurrences: [r]
184
184
  }), a;
185
185
  }, []), Je = (e, a, r) => {
186
- const o = O(b(), a.recurrence_day), t = B(b(), a.recurrence_day), s = Y(a.recurrence_day), i = a.second_recurrence_day ? Y(a.second_recurrence_day) : "";
186
+ const o = b(E(), a.recurrence_day), t = B(E(), a.recurrence_day), s = Y(a.recurrence_day), i = a.second_recurrence_day ? Y(a.second_recurrence_day) : "";
187
187
  let n = r ? f(e.monthly_ordinal, s) : e.monthly;
188
188
  switch (a.recurrence_type) {
189
189
  case c.EveryQuarter:
@@ -192,19 +192,19 @@ const ae = (e) => {
192
192
  case c.EveryWeek:
193
193
  n = r ? f(
194
194
  e.weekly_ordinal,
195
- E(o, M.DAY_OF_WEEK)
195
+ M(o, O.DAY_OF_WEEK)
196
196
  ) : e.weekly;
197
197
  break;
198
198
  case c.EveryYear:
199
199
  n = r ? f(
200
200
  e.anually_ordinal,
201
- E(t, M.MONTH_DAY)
201
+ M(t, O.MONTH_DAY)
202
202
  ) : e.anually;
203
203
  break;
204
204
  case c.EveryOtherWeek:
205
205
  n = r ? f(
206
206
  e.every_other_week_ordinal,
207
- E(o, M.DAY_OF_WEEK)
207
+ M(o, O.DAY_OF_WEEK)
208
208
  ) : e.every_other_week;
209
209
  break;
210
210
  case c.EveryOtherMonth:
@@ -258,16 +258,16 @@ const ae = (e) => {
258
258
  );
259
259
  if (r) return r.expectedDate;
260
260
  const o = (n) => a.some(
261
- (d) => d.repeatingTransactionGuid === e.guid && d.status === _.Paid && Math.abs($(d.expectedDate, n)) <= 5
261
+ (u) => u.repeatingTransactionGuid === e.guid && u.status === _.Paid && Math.abs($(u.expectedDate, n)) <= 5
262
262
  ), t = {
263
263
  [c.EveryWeek]: (n) => x(n, 1),
264
264
  [c.EveryOtherWeek]: (n) => x(n, 2),
265
265
  [c.TwiceAMonth]: (n) => {
266
- const d = se(
266
+ const u = se(
267
267
  e.recurrence_day,
268
268
  e.second_recurrence_day ?? 28
269
269
  );
270
- return d.find((v) => D(v, n)) ?? d[d.length - 1];
270
+ return u.find((v) => D(v, n)) ?? u[u.length - 1];
271
271
  },
272
272
  [c.EveryMonth]: (n) => l(n, 1),
273
273
  [c.EveryOtherMonth]: (n) => l(n, 2),
@@ -27,7 +27,7 @@ import { isAfter as z } from "date-fns/isAfter";
27
27
  import { isSameDay as K } from "date-fns/isSameDay";
28
28
  import { isWithinInterval as gt } from "date-fns/isWithinInterval";
29
29
  import { subDays as pt } from "date-fns/subDays";
30
- import { f as O, h as Zt, a as f, b as Q } from "./RecurringTransactionsUtil-zOxq5pzY.mjs";
30
+ import { f as O, h as Zt, a as f, b as Q } from "./RecurringTransactionsUtil-CHWmqvW5.mjs";
31
31
  import { I as u, A as _, B as G } from "./Notification-DTNYSd8P.mjs";
32
32
  import { endOfToday as q } from "date-fns/endOfToday";
33
33
  import { formatISO as te } from "date-fns/formatISO";
@@ -2091,6 +2091,7 @@ class xe {
2091
2091
  selectedDay;
2092
2092
  dateRange = { start: E(y()), end: T(y()) };
2093
2093
  selectedRepeatingTransactionGuid = null;
2094
+ selectedRecurrence = null;
2094
2095
  alert = { message: "", severity: void 0 };
2095
2096
  constructor(t) {
2096
2097
  this.globalStore = t, this.api = new it(
@@ -2240,6 +2241,7 @@ class xe {
2240
2241
  ) : void 0;
2241
2242
  }
2242
2243
  setSelectedRepeatingTransactionGuid = (t) => this.selectedRepeatingTransactionGuid = t;
2244
+ setSelectedRecurrence = (t) => this.selectedRecurrence = t;
2243
2245
  setRepeatingTransactions = (t) => {
2244
2246
  this.repeatingTransactions = t, this.isDataLoaded = !0;
2245
2247
  };
@@ -2348,7 +2350,7 @@ class xe {
2348
2350
  await this.globalStore.transactionStore.updateTransaction({
2349
2351
  ...e,
2350
2352
  repeating_transaction_guid: t
2351
- }), await this.loadRepeatingTransactions(), this.setAlert(this.copy.link_transaction_success, "success");
2353
+ }), await this.loadRepeatingTransactions(), this.setSelectedRecurrence(null), this.setAlert(this.copy.link_transaction_success, "success");
2352
2354
  } catch (s) {
2353
2355
  console.error(`Error occurred while marking recurrence as paid: ${s}`), this.setAlert(this.copy.link_transaction_error, "error");
2354
2356
  }
@@ -2362,7 +2364,7 @@ class xe {
2362
2364
  await this.globalStore.transactionStore.updateTransaction({
2363
2365
  ...t,
2364
2366
  repeating_transaction_guid: null
2365
- }), await this.loadRepeatingTransactions(), this.setAlert(this.copy.unlink_transaction_success, "success");
2367
+ }), await this.loadRepeatingTransactions(), this.setSelectedRecurrence(null), this.setAlert(this.copy.unlink_transaction_success, "success");
2366
2368
  } catch (e) {
2367
2369
  console.error(`Error occurred while marking recurrence as unpaid: ${e}`), this.setAlert(this.copy.unlink_transaction_error, "error");
2368
2370
  }
@@ -45,7 +45,7 @@ import { u as nt, C as at } from "../CategorySelectorDrawer-NJsFsKP1.mjs";
45
45
  import Pe from "@mui/material/CardHeader";
46
46
  import { subDays as rt } from "date-fns/subDays";
47
47
  import st from "@mui/material/IconButton";
48
- import { M as it } from "../ManageIncome-CPy6xnnI.mjs";
48
+ import { M as it } from "../ManageIncome-BadwsHRL.mjs";
49
49
  import { u as je } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
50
50
  import { W as ct } from "../WidgetContainer-DJnp6t6c.mjs";
51
51
  import { g as lt, a as dt } from "../BudgetUtil-Bg2AQJpQ.mjs";
@@ -17,7 +17,7 @@ import { I as pe } from "../InformationTooltip-4su8bn1e.mjs";
17
17
  import { u as Oe } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
18
18
  import { M as Ze } from "../MiniWidgetContainer-Bmv_WeUd.mjs";
19
19
  import { E as et } from "../EmptyState-CJUDc3kD.mjs";
20
- import { R as tt } from "../RecurringSettings-fr6qhQ7f.mjs";
20
+ import { R as tt } from "../RecurringSettings-CGZiV-Ie.mjs";
21
21
  import nt from "@mui/material/Tabs";
22
22
  import ye from "@mui/material/Tab";
23
23
  import { getUnixTime as le } from "date-fns/getUnixTime";
@@ -34,7 +34,7 @@ import { addDays as _e } from "date-fns/addDays";
34
34
  import { DataGridPro as at } from "@mui/x-data-grid-pro";
35
35
  import { T as Ce } from "../TabContentContainer-B0eYJP5p.mjs";
36
36
  import W from "@mui/material/Button";
37
- import { M as rt, S as st, i as ct, b as we, c as lt } from "../ManageIncome-CPy6xnnI.mjs";
37
+ import { M as rt, S as st, i as ct, b as we, c as lt } from "../ManageIncome-BadwsHRL.mjs";
38
38
  import { D as He } from "../Drawer-DsnW2o0v.mjs";
39
39
  import { subDays as We } from "date-fns/subDays";
40
40
  import { endOfToday as dt } from "date-fns/endOfToday";
@@ -45,7 +45,7 @@ import { formatISO as ut } from "date-fns/formatISO";
45
45
  import { fromUnixTime as De } from "date-fns/fromUnixTime";
46
46
  import { startOfMonth as pt } from "date-fns/startOfMonth";
47
47
  import { S as ht, a as ft } from "../EmbeddedCard-BxgB26dd.mjs";
48
- import { F as gt, R as Ie, d as ve } from "../RecurringTransactionsUtil-zOxq5pzY.mjs";
48
+ import { F as gt, R as Ie, d as ve } from "../RecurringTransactionsUtil-CHWmqvW5.mjs";
49
49
  import { k as bt } from "../DateUtil-CzBmbjmA.mjs";
50
50
  const q = () => {
51
51
  if (!h.useContext(Xe))
@@ -1,4 +1,4 @@
1
- import { l as Y } from "../UserStore-66-vYoey.mjs";
1
+ import { l as Y } from "../UserStore-C1fdL3Iu.mjs";
2
2
  import { b as $, a as H } from "../Localization-DnoVyBNK.mjs";
3
3
  import { f as j, b as V, a as K, c as Z, g as J, d as X } from "../NumberFormatting--XMeeBfr.mjs";
4
4
  import { C as rr, a as er, b as or } from "../CurrencyDialog-DumQCTPO.mjs";
@@ -1,9 +1,9 @@
1
- import { A as g, a as m, b as C, c as N, d as h, B as f, e as E, f as D, g as b, C as I, h as M, i as R, j as B, D as L, F as G, k as _, G as H, l as P, m as U, n as x, o as O, H as F, p as k, q as v, r as w, M as W, s as Y, N as $, t as q, u as K, R as j, v as z, S as J, w as Q, T as X, x as Z, y as V, U as tt, z as at, W as st } from "../UserStore-66-vYoey.mjs";
1
+ import { A as g, a as m, b as C, c as N, d as h, B as f, e as E, f as D, g as b, C as I, h as M, i as R, j as B, D as L, F as G, k as _, G as H, l as P, m as U, n as x, o as O, H as F, p as k, q as v, r as w, M as W, s as Y, N as $, t as q, u as K, R as j, v as z, S as J, w as Q, T as X, x as Z, y as V, U as tt, z as at, W as st } from "../UserStore-C1fdL3Iu.mjs";
2
2
  import { b as ot, a as nt, d as rt, c as it, A as ct, C as pt, e as At, E as St, M as ut, N as lt, P as Tt, f as yt, g as dt, S as gt } from "../Account-DR7Plrqy.mjs";
3
3
  import { A as Ct, B as Nt, I as ht, N as ft } from "../Notification-DTNYSd8P.mjs";
4
4
  import { F as n } from "../GlobalCopyApi-wcnDUzMV.mjs";
5
5
  import { A as Dt, B as bt, G as It } from "../GlobalCopyApi-wcnDUzMV.mjs";
6
- import { F as Rt, a as Bt, b as Lt, R as Gt } from "../RecurringTransactionsUtil-zOxq5pzY.mjs";
6
+ import { F as Rt, a as Bt, b as Lt, R as Gt } from "../RecurringTransactionsUtil-CHWmqvW5.mjs";
7
7
  import { G as Ht, M as Pt, T as Ut } from "../GoalsUtil-C9EnLWvC.mjs";
8
8
  import { L as Ot, V as Ft, b as kt, g as vt } from "../Localization-DnoVyBNK.mjs";
9
9
  import { A as e } from "../ApiEndpoints-DXwIYNUV.mjs";
@@ -14,6 +14,7 @@ export declare class RecurringTransactionsStore {
14
14
  selectedDay: Date | undefined;
15
15
  dateRange: DateRange;
16
16
  selectedRepeatingTransactionGuid: string | null;
17
+ selectedRecurrence: Recurrence | null;
17
18
  alert: RecurringAlertProps;
18
19
  constructor(globalStore: GlobalStore);
19
20
  get copy(): RecurringCopy;
@@ -90,6 +91,7 @@ export declare class RecurringTransactionsStore {
90
91
  get selectedDayRecurrences(): Recurrence[] | undefined;
91
92
  get selectedRepeatingTransaction(): RepeatingTransaction | undefined;
92
93
  setSelectedRepeatingTransactionGuid: (guid: string | null) => string | null;
94
+ setSelectedRecurrence: (recurrence: Recurrence | null) => Recurrence | null;
93
95
  setRepeatingTransactions: (repeating: RepeatingTransaction[]) => void;
94
96
  /**
95
97
  * Set the date range for filtering recurrences.
@@ -62,11 +62,11 @@ import { g as Jn, S as eo, b as to } from "../SpendingLegend-CxvNOg3c.mjs";
62
62
  import { formatISO as no } from "date-fns/formatISO";
63
63
  import { fromUnixTime as oo } from "date-fns/fromUnixTime";
64
64
  import { subDays as ro } from "date-fns/subDays";
65
- import { c as ao, b as pt, S as io, i as so } from "../ManageIncome-CPy6xnnI.mjs";
66
- import { F as Tt, d as co, R as Ot } from "../RecurringTransactionsUtil-zOxq5pzY.mjs";
65
+ import { c as ao, b as pt, S as io, i as so } from "../ManageIncome-BadwsHRL.mjs";
66
+ import { F as Tt, d as co, R as Ot } from "../RecurringTransactionsUtil-CHWmqvW5.mjs";
67
67
  import { LocalizationProvider as lo, DatePicker as po, StaticDatePicker as uo } from "@mui/x-date-pickers";
68
68
  import { AdapterDateFns as Rt } from "@mui/x-date-pickers/AdapterDateFnsV3";
69
- import { R as _o } from "../RecurringSettings-fr6qhQ7f.mjs";
69
+ import { R as _o } from "../RecurringSettings-CGZiV-Ie.mjs";
70
70
  import { LocalizationProvider as mo } from "@mui/x-date-pickers/LocalizationProvider";
71
71
  import ho from "@mui/lab/Timeline";
72
72
  import go, { timelineItemClasses as yo } from "@mui/lab/TimelineItem";
@@ -1,9 +1,10 @@
1
- import { RepeatingTransaction } from '../../core';
1
+ import { Recurrence, RepeatingTransaction } from '../../core';
2
2
  interface RecurringTransactionDetailsProps {
3
3
  onDeleted: () => void;
4
4
  recurringTransaction: RepeatingTransaction;
5
+ selectedRecurrence: Recurrence | null;
5
6
  }
6
- export declare const RecurringTransactionDetails: (({ onDeleted, recurringTransaction }: RecurringTransactionDetailsProps) => import("react/jsx-runtime").JSX.Element) & {
7
+ export declare const RecurringTransactionDetails: (({ onDeleted, recurringTransaction, selectedRecurrence }: RecurringTransactionDetailsProps) => import("react/jsx-runtime").JSX.Element) & {
7
8
  displayName: string;
8
9
  };
9
10
  export {};
@@ -1,6 +1,8 @@
1
+ import { RecurrenceStatus } from '../../core';
1
2
  interface UpcomingRecurrenceCardProps {
2
3
  expectedDate: Date;
3
4
  onMarkAsPaidClick: () => void;
5
+ status?: RecurrenceStatus;
4
6
  }
5
- export declare const UpcomingRecurrenceCard: ({ expectedDate, onMarkAsPaidClick, }: UpcomingRecurrenceCardProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const UpcomingRecurrenceCard: ({ expectedDate, onMarkAsPaidClick, status, }: UpcomingRecurrenceCardProps) => import("react/jsx-runtime").JSX.Element;
6
8
  export {};