@mx-cartographer/experiences 4.2.2-alpha.mega3 → 4.2.2-alpha.mega5

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/dist/index.es.js CHANGED
@@ -13636,22 +13636,10 @@ class D1 {
13636
13636
  }
13637
13637
  };
13638
13638
  }
13639
- const x1 = (e, A, n) => {
13640
- const a = e[A];
13641
- return a ? typeof a == "function" ? a() : Promise.resolve(a) : new Promise((r, o) => {
13642
- (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
13643
- o.bind(
13644
- null,
13645
- new Error(
13646
- "Unknown variable dynamic import: " + A + (A.split("/").length !== n ? ". Note that variables only represent file names one level deep." : "")
13647
- )
13648
- )
13649
- );
13650
- });
13651
- }, O1 = {
13639
+ const x1 = {
13652
13640
  text: "Oops! Something went wrong."
13653
13641
  };
13654
- class P1 extends g.Component {
13642
+ class O1 extends g.Component {
13655
13643
  state = {
13656
13644
  hasError: !1
13657
13645
  };
@@ -13662,12 +13650,12 @@ class P1 extends g.Component {
13662
13650
  return { hasError: !0 };
13663
13651
  }
13664
13652
  render() {
13665
- return this.state.hasError ? /* @__PURE__ */ t(DA, { sx: { pt: 24 }, children: O1.text }) : this.props.children;
13653
+ return this.state.hasError ? /* @__PURE__ */ t(DA, { sx: { pt: 24 }, children: x1.text }) : this.props.children;
13666
13654
  }
13667
13655
  }
13668
- const N1 = {
13656
+ const P1 = {
13669
13657
  request_button: "Request Support"
13670
- }, M1 = ({
13658
+ }, N1 = ({
13671
13659
  hasRequestButton: e,
13672
13660
  onNavigateToList: A,
13673
13661
  title: n,
@@ -13707,18 +13695,18 @@ const N1 = {
13707
13695
  mt: { xs: 24, sm: 0 }
13708
13696
  },
13709
13697
  xs: 12,
13710
- children: /* @__PURE__ */ t(re, { variant: "contained", children: N1.request_button })
13698
+ children: /* @__PURE__ */ t(re, { variant: "contained", children: P1.request_button })
13711
13699
  }
13712
13700
  )
13713
- ] }), R1 = ({
13701
+ ] }), M1 = ({
13714
13702
  hasRequestButton: e = !1,
13715
13703
  onNavigateToList: A,
13716
13704
  topicInfo: { category: n, pageTitle: a, topicKey: r }
13717
13705
  }) => {
13718
- const { help: o } = _(), i = g.useMemo(() => n ? g.lazy(() => x1(/* @__PURE__ */ Object.assign({ "./components/content/section/Accounts.tsx": () => import("./Accounts-BpAyGgvu.mjs"), "./components/content/section/Budgets.tsx": () => import("./Budgets-BqAk2CxJ.mjs"), "./components/content/section/CashFlow.tsx": () => import("./CashFlow-C9fBzJ9K.mjs"), "./components/content/section/Goals.tsx": () => import("./Goals-BHLELiU3.mjs") }), `./components/content/section/${n.replace(" ", "")}.tsx`, 5)) : null, [n]);
13706
+ const { help: o } = _(), i = g.useMemo(() => n ? g.lazy(() => R1(`./components/content/section/${n.replace(" ", "")}.tsx`)) : null, [n]);
13719
13707
  return /* @__PURE__ */ l(J, { children: [
13720
13708
  /* @__PURE__ */ t(
13721
- M1,
13709
+ N1,
13722
13710
  {
13723
13711
  hasRequestButton: e,
13724
13712
  onNavigateToList: A,
@@ -13727,9 +13715,32 @@ const N1 = {
13727
13715
  }
13728
13716
  ),
13729
13717
  /* @__PURE__ */ t(RA, { color: "text.primary", sx: { mt: 24, whiteSpace: { sm: "nowrap", xs: "wrap" } }, children: a }),
13730
- /* @__PURE__ */ t(P1, { children: /* @__PURE__ */ t(g.Suspense, { fallback: /* @__PURE__ */ t(Qe, {}), children: i && /* @__PURE__ */ t(i, { copy: o, topicKey: r }) }) })
13718
+ /* @__PURE__ */ t(O1, { children: /* @__PURE__ */ t(g.Suspense, { fallback: /* @__PURE__ */ t(Qe, {}), children: i && /* @__PURE__ */ t(i, { copy: o, topicKey: r }) }) })
13731
13719
  ] });
13732
- }, B1 = ({
13720
+ };
13721
+ function R1(e) {
13722
+ switch (e) {
13723
+ case "./components/content/section/Accounts":
13724
+ case "./components/content/section/Accounts.tsx":
13725
+ return import("./Accounts-BpAyGgvu.mjs");
13726
+ case "./components/content/section/Budgets":
13727
+ case "./components/content/section/Budgets.tsx":
13728
+ return import("./Budgets-BqAk2CxJ.mjs");
13729
+ case "./components/content/section/CashFlow":
13730
+ case "./components/content/section/CashFlow.tsx":
13731
+ return import("./CashFlow-C9fBzJ9K.mjs");
13732
+ case "./components/content/section/Goals":
13733
+ case "./components/content/section/Goals.tsx":
13734
+ return import("./Goals-BHLELiU3.mjs");
13735
+ default:
13736
+ return new Promise(function(A, n) {
13737
+ (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
13738
+ n.bind(null, new Error("Unknown variable dynamic import: " + e))
13739
+ );
13740
+ });
13741
+ }
13742
+ }
13743
+ const B1 = ({
13733
13744
  buttonText: e,
13734
13745
  hasRequestButton: A = !1,
13735
13746
  helpCategories: n = [],
@@ -13841,7 +13852,7 @@ const N1 = {
13841
13852
  const c = () => {
13842
13853
  }, d = (u) => n(u);
13843
13854
  return !a || !r ? /* @__PURE__ */ t(Qe, {}) : /* @__PURE__ */ t(lA, { sx: e, children: A ? /* @__PURE__ */ t(
13844
- R1,
13855
+ M1,
13845
13856
  {
13846
13857
  hasRequestButton: s?.enable_support_requests,
13847
13858
  onNavigateToList: () => n(null),
@@ -19415,7 +19426,7 @@ export {
19415
19426
  Fg as GoalStore,
19416
19427
  Zn as GoalType,
19417
19428
  v3 as GoalsWidget,
19418
- R1 as HelpContent,
19429
+ M1 as HelpContent,
19419
19430
  B1 as HelpList,
19420
19431
  K1 as HelpWidget,
19421
19432
  da as INCOME_ACCOUNT_TYPES,