@mx-cartographer/experiences 7.0.25 → 7.0.26-alpha-recurring-transactions-padding-ram2

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.
@@ -450,102 +450,109 @@ const Z = {
450
450
  end: z(C)
451
451
  });
452
452
  };
453
- return /* @__PURE__ */ o(oe, { container: !0, sx: { pt: 16, px: 24, spacing: 24 }, children: [
454
- /* @__PURE__ */ e(oe, { md: !0, sm: 12, width: "100%", children: /* @__PURE__ */ o(c, { sx: { gap: 16 }, children: [
455
- /* @__PURE__ */ o(c, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
456
- /* @__PURE__ */ e(qe, { sx: { px: 24 }, children: N(
457
- t.header_title,
458
- A(u.start, E.MONTH_LONG)
459
- ) }),
460
- !n && /* @__PURE__ */ o(c, { direction: "row", gap: 4, children: [
453
+ return /* @__PURE__ */ o(
454
+ oe,
455
+ {
456
+ container: !0,
457
+ sx: { pt: 16, pl: n ? 24 : 0, pr: n ? 24 : 16, spacing: 24 },
458
+ children: [
459
+ /* @__PURE__ */ e(oe, { md: !0, sm: 12, width: "100%", children: /* @__PURE__ */ o(c, { sx: { gap: 16 }, children: [
460
+ /* @__PURE__ */ o(c, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
461
+ /* @__PURE__ */ e(qe, { sx: { px: 24 }, children: N(
462
+ t.header_title,
463
+ A(u.start, E.MONTH_LONG)
464
+ ) }),
465
+ !n && /* @__PURE__ */ o(c, { direction: "row", gap: 4, children: [
466
+ /* @__PURE__ */ e(
467
+ be,
468
+ {
469
+ color: "primary",
470
+ disabled: ee,
471
+ onClick: ne,
472
+ children: /* @__PURE__ */ e(Ye, {})
473
+ }
474
+ ),
475
+ /* @__PURE__ */ e(be, { color: "primary", onClick: te, children: /* @__PURE__ */ e(Ve, {}) })
476
+ ] })
477
+ ] }),
461
478
  /* @__PURE__ */ e(
462
- be,
479
+ _e,
463
480
  {
464
- color: "primary",
465
- disabled: ee,
466
- onClick: ne,
467
- children: /* @__PURE__ */ e(Ye, {})
481
+ expected: g,
482
+ missed: m,
483
+ paid: x,
484
+ title: t.expenses,
485
+ total: r.length,
486
+ upcoming: W
468
487
  }
469
488
  ),
470
- /* @__PURE__ */ e(be, { color: "primary", onClick: te, children: /* @__PURE__ */ e(Ve, {}) })
471
- ] })
472
- ] }),
473
- /* @__PURE__ */ e(
474
- _e,
475
- {
476
- expected: g,
477
- missed: m,
478
- paid: x,
479
- title: t.expenses,
480
- total: r.length,
481
- upcoming: W
482
- }
483
- ),
484
- /* @__PURE__ */ e(
485
- _e,
486
- {
487
- expected: s,
488
- isExpense: !1,
489
- paid: b,
490
- title: t.deposits,
491
- total: l.length,
492
- upcoming: J
493
- }
494
- ),
495
- n && /* @__PURE__ */ e(
496
- H,
497
- {
498
- onRecurrenceClick: U,
499
- recurrences: B,
500
- title: t.upcoming_activity
501
- }
502
- ),
503
- !n && /* @__PURE__ */ o(c, { children: [
504
- /* @__PURE__ */ o(Fe, { onChange: I, value: $, variant: "fullWidth", children: [
505
489
  /* @__PURE__ */ e(
506
- Re,
490
+ _e,
507
491
  {
508
- label: /* @__PURE__ */ e(p, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: i ? t.upcoming : t.upcoming_activity })
492
+ expected: s,
493
+ isExpense: !1,
494
+ paid: b,
495
+ title: t.deposits,
496
+ total: l.length,
497
+ upcoming: J
509
498
  }
510
499
  ),
500
+ n && /* @__PURE__ */ e(
501
+ H,
502
+ {
503
+ onRecurrenceClick: U,
504
+ recurrences: B,
505
+ title: t.upcoming_activity
506
+ }
507
+ ),
508
+ !n && /* @__PURE__ */ o(c, { children: [
509
+ /* @__PURE__ */ o(Fe, { onChange: I, value: $, variant: "fullWidth", children: [
510
+ /* @__PURE__ */ e(
511
+ Re,
512
+ {
513
+ label: /* @__PURE__ */ e(p, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: i ? t.upcoming : t.upcoming_activity })
514
+ }
515
+ ),
516
+ /* @__PURE__ */ e(
517
+ Re,
518
+ {
519
+ label: /* @__PURE__ */ e(p, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: i ? t.past : t.past_transactions })
520
+ }
521
+ )
522
+ ] }),
523
+ $ === 0 && /* @__PURE__ */ e(
524
+ H,
525
+ {
526
+ onRecurrenceClick: U,
527
+ recurrences: B
528
+ }
529
+ ),
530
+ $ === 1 && /* @__PURE__ */ e(
531
+ H,
532
+ {
533
+ onRecurrenceClick: w,
534
+ recurrences: f
535
+ }
536
+ )
537
+ ] })
538
+ ] }) }),
539
+ n && /* @__PURE__ */ e(oe, { sx: { minWidth: 450 }, xs: "auto", children: /* @__PURE__ */ o(c, { gap: 24, children: [
540
+ /* @__PURE__ */ e(Ne, {}),
511
541
  /* @__PURE__ */ e(
512
- Re,
542
+ H,
513
543
  {
514
- label: /* @__PURE__ */ e(p, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: i ? t.past : t.past_transactions })
544
+ onRecurrenceClick: w,
545
+ recurrences: d || f,
546
+ title: y ? N(
547
+ t.day_transactions,
548
+ A(y, E.MONTH_DAY)
549
+ ) : t.past_transactions
515
550
  }
516
551
  )
517
- ] }),
518
- $ === 0 && /* @__PURE__ */ e(
519
- H,
520
- {
521
- onRecurrenceClick: U,
522
- recurrences: B
523
- }
524
- ),
525
- $ === 1 && /* @__PURE__ */ e(
526
- H,
527
- {
528
- onRecurrenceClick: w,
529
- recurrences: f
530
- }
531
- )
532
- ] })
533
- ] }) }),
534
- n && /* @__PURE__ */ e(oe, { sx: { minWidth: 450 }, xs: "auto", children: /* @__PURE__ */ o(c, { gap: 24, children: [
535
- /* @__PURE__ */ e(Ne, {}),
536
- /* @__PURE__ */ e(
537
- H,
538
- {
539
- onRecurrenceClick: w,
540
- recurrences: d || f,
541
- title: y ? N(
542
- t.day_transactions,
543
- A(y, E.MONTH_DAY)
544
- ) : t.past_transactions
545
- }
546
- )
547
- ] }) })
548
- ] });
552
+ ] }) })
553
+ ]
554
+ }
555
+ );
549
556
  }), wn = T(({ onBackClick: t, sx: n = {} }) => {
550
557
  const { accounts: i } = pe(), { recurring: a } = D(), { isCopyLoaded: r, isInitialized: l, selectedAccountGuids: u, setSelectedAccounts: g } = V(), { isDataLoaded: s, loadRepeatingTransactions: m, setDateRange: f } = v(), { setFilter: x } = ge(), { onEvent: b } = X(), [y, d] = h.useState(!1);
551
558
  return h.useEffect(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.0.25",
3
+ "version": "7.0.26-alpha-recurring-transactions-padding-ram2",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",