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

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,109 +450,102 @@ const Z = {
450
450
  end: z(C)
451
451
  });
452
452
  };
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
- ] }),
453
+ return /* @__PURE__ */ o(oe, { container: !0, sx: { pt: 16, pl: 0, pr: n ? 24 : 16, 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: [
478
461
  /* @__PURE__ */ e(
479
- _e,
462
+ be,
480
463
  {
481
- expected: g,
482
- missed: m,
483
- paid: x,
484
- title: t.expenses,
485
- total: r.length,
486
- upcoming: W
464
+ color: "primary",
465
+ disabled: ee,
466
+ onClick: ne,
467
+ children: /* @__PURE__ */ e(Ye, {})
487
468
  }
488
469
  ),
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: [
489
505
  /* @__PURE__ */ e(
490
- _e,
506
+ Re,
491
507
  {
492
- expected: s,
493
- isExpense: !1,
494
- paid: b,
495
- title: t.deposits,
496
- total: l.length,
497
- upcoming: J
508
+ label: /* @__PURE__ */ e(p, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: i ? t.upcoming : t.upcoming_activity })
498
509
  }
499
510
  ),
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, {}),
541
511
  /* @__PURE__ */ e(
542
- H,
512
+ Re,
543
513
  {
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
514
+ label: /* @__PURE__ */ e(p, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: i ? t.past : t.past_transactions })
550
515
  }
551
516
  )
552
- ] }) })
553
- ]
554
- }
555
- );
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
+ ] });
556
549
  }), wn = T(({ onBackClick: t, sx: n = {} }) => {
557
550
  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);
558
551
  return h.useEffect(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.0.26-alpha-recurring-transactions-padding-ram2",
3
+ "version": "7.0.26-alpha-recurring-transactions-padding-ram3",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",