@mx-cartographer/experiences 8.0.0-alpha.bb4 → 8.0.0-alpha.sms2

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.
Files changed (90) hide show
  1. package/dist/{Account-B4CDD-zq.mjs → Account-Cp30A3ad.mjs} +1 -1
  2. package/dist/AccountDetailsContent-C1HumFnW.mjs +683 -0
  3. package/dist/{AccountDetailsHeader-DRjFuyJT.mjs → AccountDetailsHeader-NMx79DGs.mjs} +17 -17
  4. package/dist/{AccountFields-Cl4KHoSj.mjs → AccountFields-CW6cIthP.mjs} +8 -8
  5. package/dist/AccountListItem-DxmAs98Z.mjs +90 -0
  6. package/dist/{AccountStore-HbVblv86.mjs → AccountStore-hIs-yA6W.mjs} +3 -3
  7. package/dist/{Accounts-CRUehOiy.mjs → Accounts-DUHkUyK4.mjs} +1 -1
  8. package/dist/{BudgetUtil-Jv8h9H9l.mjs → BudgetUtil-CIDAPPPT.mjs} +30 -30
  9. package/dist/{CashflowStore-CA190BPF.mjs → CashflowStore-naOtJcwo.mjs} +22 -15
  10. package/dist/{CategorySelectorDrawer-Dl006GKy.mjs → CategorySelectorDrawer-DqDAA_5I.mjs} +26 -26
  11. package/dist/{ConnectDrawer-DVp54lUH.mjs → ConnectDrawer-Dn1MlqLz.mjs} +60 -61
  12. package/dist/{ConnectionsDrawer-Dsc04-4Z.mjs → ConnectionsDrawer-CSo6AFkG.mjs} +2 -2
  13. package/dist/CurrencyInput-BrGvhgVK.mjs +85 -0
  14. package/dist/{DebtsStore-pL63fmdT.mjs → DebtsStore-hi1cqrRk.mjs} +3 -3
  15. package/dist/{Drawer-BF40nbsH.mjs → Drawer-Dqe5EqvA.mjs} +6 -6
  16. package/dist/{ExportCsvAction-QhQK4_FU.mjs → ExportCsvAction-CQ1grpwo.mjs} +3 -3
  17. package/dist/{FinstrongStore-BGf36b0z.mjs → FinstrongStore-dKZOZ2hM.mjs} +3 -3
  18. package/dist/{GoalStore-C1-w3Y1E.mjs → GoalStore-CFeAJloA.mjs} +3 -3
  19. package/dist/HeaderCell-DjuifqHJ.mjs +6 -0
  20. package/dist/{Help-DBfsTkAi.mjs → Help-i4OasOO-.mjs} +176 -158
  21. package/dist/{LineChart-C1PxNf7P.mjs → LineChart-bc1D9xBE.mjs} +78 -78
  22. package/dist/Loader-BSWSYqvn.mjs +24 -0
  23. package/dist/{ManageIncome-8EsStyIQ.mjs → ManageIncome-D_qVX5dN.mjs} +44 -44
  24. package/dist/{MiniWidgetContainer-CKzf_Ira.mjs → MiniWidgetContainer-D7MkHG15.mjs} +12 -12
  25. package/dist/{NetWorthStore-Bti6u-d9.mjs → NetWorthStore-8FFC1Bs0.mjs} +2 -2
  26. package/dist/{NotificationSettings-B74rQVYC.mjs → NotificationSettings-BsWiYD94.mjs} +67 -67
  27. package/dist/{OriginalBalanceAction-2Y_3U_mg.mjs → OriginalBalanceAction-62e0mU_3.mjs} +7 -7
  28. package/dist/{RecurringSettings-DAncu--R.mjs → RecurringSettings-RfZ8Wuhh.mjs} +3 -3
  29. package/dist/{RecurringTransactions-CxcSL1dY.mjs → RecurringTransactions-Bhx56aA3.mjs} +76 -76
  30. package/dist/{RecurringTransactionsStore-CNFxyGB6.mjs → RecurringTransactionsStore-D3EOKZ2B.mjs} +1 -1
  31. package/dist/{ResponsiveButton-Cn6-R7ue.mjs → ResponsiveButton-C6KH8JH4.mjs} +1 -1
  32. package/dist/SearchBox-B2_zLv8-.mjs +42 -0
  33. package/dist/{SingleSegmentDonut-7Uy6VEld.mjs → SingleSegmentDonut-PsRQPkmV.mjs} +1 -1
  34. package/dist/{SpendingLegend-6FqtMcBV.mjs → SpendingLegend-CZzDb-7d.mjs} +10 -10
  35. package/dist/TransactionDetails-Duv1X9ec.mjs +1379 -0
  36. package/dist/{TransactionStore-DbwAutwC.mjs → TransactionStore-DgLrYW4C.mjs} +3 -3
  37. package/dist/{User-BklmOUSd.mjs → User-DqNX2GAK.mjs} +107 -107
  38. package/dist/{ViewMoreMicroCard-DAkyNRlD.mjs → ViewMoreMicroCard-CH9E-jOx.mjs} +178 -177
  39. package/dist/{WidgetContainer-CDh9fjpR.mjs → WidgetContainer-B1Jzb4XA.mjs} +6 -6
  40. package/dist/accounts/index.es.js +45 -45
  41. package/dist/analytics/index.es.js +22 -22
  42. package/dist/budgets/index.es.js +266 -265
  43. package/dist/cashflow/index.es.js +155 -154
  44. package/dist/categories/index.es.js +1 -1
  45. package/dist/common/components/Loader.d.ts +2 -1
  46. package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
  47. package/dist/common/components/barchart/Bar.d.ts +25 -0
  48. package/dist/common/components/barchart/BarChart.d.ts +34 -0
  49. package/dist/common/components/barchart/BarColumn.d.ts +37 -0
  50. package/dist/common/components/barchart/Legend.d.ts +8 -0
  51. package/dist/common/components/barchart/Util.d.ts +42 -0
  52. package/dist/common/components/barchart/index.d.ts +1 -0
  53. package/dist/common/components/charts/linechart/CustomMark.d.ts +1 -1
  54. package/dist/common/components/index.d.ts +1 -0
  55. package/dist/common/index.es.js +659 -394
  56. package/dist/common/utils/Theme.d.ts +3 -1
  57. package/dist/dashboard/index.es.js +21 -21
  58. package/dist/debts/components/DebtsChart.d.ts +2 -1
  59. package/dist/debts/index.es.js +438 -438
  60. package/dist/{exportTransactionsToCSV-BgV_wTLT.mjs → exportTransactionsToCSV-BFpuIAXW.mjs} +1 -1
  61. package/dist/finstrong/index.es.js +113 -113
  62. package/dist/goals/index.es.js +379 -385
  63. package/dist/help/components/content/BottomImageContent.d.ts +1 -1
  64. package/dist/help/components/content/LeftImageContent.d.ts +1 -1
  65. package/dist/help/components/content/RightImageContent.d.ts +1 -1
  66. package/dist/help/components/content/TopImageContent.d.ts +1 -1
  67. package/dist/help/index.es.js +3 -3
  68. package/dist/investments/index.es.js +279 -278
  69. package/dist/merchants/index.es.js +16 -16
  70. package/dist/microinsights/index.es.js +1 -1
  71. package/dist/networth/components/NetWorthChange.d.ts +1 -3
  72. package/dist/networth/index.es.js +185 -191
  73. package/dist/notifications/index.es.js +29 -29
  74. package/dist/recurringtransactions/index.es.js +82 -82
  75. package/dist/settings/index.es.js +254 -254
  76. package/dist/spending/index.es.js +43 -43
  77. package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +7 -0
  78. package/dist/transactions/index.es.js +150 -149
  79. package/dist/trends/index.es.js +297 -296
  80. package/dist/{useAccountDisplayName-CcIp09Xc.mjs → useAccountDisplayName-usSZCQ7I.mjs} +1 -1
  81. package/dist/{useCombineEvents-kNzLTWCp.mjs → useCombineEvents-CRwX-qWE.mjs} +2 -2
  82. package/dist/{useScreenSize-B5afALev.mjs → useScreenSize-B6JyS_Lj.mjs} +1 -1
  83. package/package.json +30 -30
  84. package/dist/AccountDetailsContent-adZTkM52.mjs +0 -683
  85. package/dist/AccountListItem-wgmlex-_.mjs +0 -90
  86. package/dist/CurrencyInput-D1cjbdCI.mjs +0 -85
  87. package/dist/HeaderCell-P8w6CmfO.mjs +0 -6
  88. package/dist/Loader-Ckqi9Rx6.mjs +0 -21
  89. package/dist/SearchBox-B7km148n.mjs +0 -39
  90. package/dist/TransactionDetails-Bn0qY5Hw.mjs +0 -1336
@@ -1,19 +1,19 @@
1
- import { jsxs as a, Fragment as $, jsx as t } from "react/jsx-runtime";
2
- import X from "@mui/material/Box";
1
+ import { jsxs as a, Fragment as B, jsx as t } from "react/jsx-runtime";
2
+ import F from "@mui/material/Box";
3
3
  import { useTheme as Y } from "@mui/material/styles";
4
4
  import { ResponsiveChartContainer as fe, ChartsReferenceLine as xe, AreaPlot as ye, LinePlot as ge, MarkPlot as pe, BarPlot as be, ChartsXAxis as ke, ChartsYAxis as Me, ChartsAxisHighlight as Ce } from "@mui/x-charts";
5
- import { f as p, c as F } from "./NumberFormatting-DjTD0t3W.mjs";
5
+ import { f as p, c as O } from "./NumberFormatting-DjTD0t3W.mjs";
6
6
  import we from "@mui/material/useMediaQuery";
7
7
  import { observer as Le } from "mobx-react-lite";
8
- import W from "@mui/material/Stack";
8
+ import P from "@mui/material/Stack";
9
9
  import { Text as l } from "@mxenabled/mxui";
10
- import { u as ve } from "./hooks-C41HAxM5.mjs";
11
- import { useTheme as Se, Stack as M, Box as H } from "@mui/material";
10
+ import { u as Se } from "./hooks-C41HAxM5.mjs";
11
+ import { useTheme as ve, Stack as M, Box as X } from "@mui/material";
12
12
  import { ChartsTooltip as Te } from "@mui/x-charts/ChartsTooltip";
13
13
  const De = (e) => {
14
- const r = Y(), s = e.showLabel, o = e.style, b = o?.markLabelStyles, x = Number(e.x), m = Number(e.y), h = e.handlers?.onMarkClick, u = e.handlers?.onMouseEnter, c = e.handlers?.onMouseLeave, i = we(r.breakpoints.up("sm")), f = e.valueFormatterString ? p(e.yData[e.dataIndex], e.valueFormatterString) : String(e.yData[e.dataIndex]), d = i ? r.typography.body2?.fontSize : r.typography.caption?.fontSize, T = 30, D = 24, A = x - T / 2, I = m - 30;
15
- return /* @__PURE__ */ a($, { children: [
16
- s && /* @__PURE__ */ a($, { children: [
14
+ const r = Y(), s = e.showLabel, o = e.style, b = o?.markLabelStyles, x = Number(e.x), u = Number(e.y), h = e.handlers?.onMarkClick, m = e.handlers?.onMouseEnter, c = e.handlers?.onMouseLeave, i = we(r.breakpoints.up("sm")), f = e.valueFormatterString ? p(e.yData[e.dataIndex], e.valueFormatterString) : String(e.yData[e.dataIndex]), d = i ? r.typography.Small?.fontSize : r.typography.XSmall?.fontSize, T = 30, D = 24, A = x - T / 2, I = u - 30;
15
+ return /* @__PURE__ */ a(B, { children: [
16
+ s && /* @__PURE__ */ a(B, { children: [
17
17
  e.labelBackgroundColor && /* @__PURE__ */ t(
18
18
  "rect",
19
19
  {
@@ -37,7 +37,7 @@ const De = (e) => {
37
37
  },
38
38
  textAnchor: "middle",
39
39
  x,
40
- y: m - 28 + D / 2,
40
+ y: u - 28 + D / 2,
41
41
  children: f
42
42
  }
43
43
  )
@@ -48,11 +48,11 @@ const De = (e) => {
48
48
  cursor: h ? "pointer" : "unset",
49
49
  d: "M4.514,0A4.514,4.514,0,1,1,-4.514,0A4.514,4.514,0,1,1,4.514,0",
50
50
  height: "20px",
51
- onClick: (j) => {
52
- h?.(j, e.dataIndex);
51
+ onClick: ($) => {
52
+ h?.($, e.dataIndex);
53
53
  },
54
54
  onMouseEnter: () => {
55
- u?.(e.dataIndex);
55
+ m?.(e.dataIndex);
56
56
  },
57
57
  onMouseLeave: () => {
58
58
  c?.();
@@ -69,7 +69,7 @@ const De = (e) => {
69
69
  }
70
70
  )
71
71
  ] });
72
- }, Ae = (e) => /* @__PURE__ */ a($, { children: [
72
+ }, Ae = (e) => /* @__PURE__ */ a(B, { children: [
73
73
  /* @__PURE__ */ t("clipPath", { id: e.id, children: /* @__PURE__ */ t("rect", { height: e.height, width: e.width, x: "0", y: "0" }) }),
74
74
  /* @__PURE__ */ t("g", { children: /* @__PURE__ */ t(
75
75
  "path",
@@ -90,8 +90,8 @@ const De = (e) => {
90
90
  label: e,
91
91
  customLegendVariant: r
92
92
  }) => {
93
- const s = r || "body2";
94
- return typeof e == "string" ? /* @__PURE__ */ t(l, { variant: s, children: e }) : typeof e == "object" && e.amount !== void 0 && e.label ? /* @__PURE__ */ a($, { children: [
93
+ const s = r || "Small";
94
+ return typeof e == "string" ? /* @__PURE__ */ t(l, { variant: s, children: e }) : typeof e == "object" && e.amount !== void 0 && e.label ? /* @__PURE__ */ a(B, { children: [
95
95
  /* @__PURE__ */ t(l, { variant: s, children: e.label }),
96
96
  /* @__PURE__ */ t(l, { bold: !0, sx: { marginLeft: 8 }, variant: s, children: p(e.amount, "0,0") })
97
97
  ] }) : null;
@@ -102,20 +102,20 @@ const De = (e) => {
102
102
  labels: o = [],
103
103
  series: b,
104
104
  style: x,
105
- title: m,
105
+ title: u,
106
106
  valueFormatterString: h
107
107
  }) => {
108
- const { common: u } = ve(), c = r || "body2";
109
- return /* @__PURE__ */ a(W, { style: { flexDirection: "row", gap: 24, ...x }, children: [
108
+ const { common: m } = Se(), c = r || "Small";
109
+ return /* @__PURE__ */ a(P, { style: { flexDirection: "row", gap: 24, ...x }, children: [
110
110
  b.map((i, f) => {
111
111
  const d = o[f];
112
112
  return d ? /* @__PURE__ */ a(
113
- W,
113
+ P,
114
114
  {
115
115
  style: { alignItems: "center", flexDirection: "row", flexWrap: "wrap" },
116
116
  children: [
117
117
  /* @__PURE__ */ t(
118
- X,
118
+ F,
119
119
  {
120
120
  sx: {
121
121
  width: 10,
@@ -132,31 +132,31 @@ const De = (e) => {
132
132
  f
133
133
  ) : null;
134
134
  }),
135
- e && /* @__PURE__ */ a(W, { sx: { alignItems: "center", flexDirection: "row" }, children: [
135
+ e && /* @__PURE__ */ a(P, { sx: { alignItems: "center", flexDirection: "row" }, children: [
136
136
  /* @__PURE__ */ t(l, { bold: !0, sx: { marginRight: 8 }, variant: c, children: "– –" }),
137
137
  /* @__PURE__ */ a(l, { variant: c, children: [
138
- m || u.average,
138
+ u || m.average,
139
139
  "  "
140
140
  ] }),
141
141
  /* @__PURE__ */ t(l, { bold: !0, variant: c, children: h ? p(e, h) : e })
142
142
  ] })
143
143
  ] });
144
- }, $e = Le(Re);
145
- function je({
144
+ }, Be = Le(Re);
145
+ function $e({
146
146
  customLabels: e,
147
147
  labels: r = [],
148
148
  valueFormatterString: s = "0,0"
149
149
  }) {
150
- const o = Se();
150
+ const o = ve();
151
151
  return /* @__PURE__ */ t(
152
152
  Te,
153
153
  {
154
154
  showCrosshair: !0,
155
155
  slots: {
156
156
  axisContent: (b) => {
157
- const { axisValue: x, dataIndex: m, series: h } = b, u = m ?? 0;
157
+ const { axisValue: x, dataIndex: u, series: h } = b, m = u ?? 0;
158
158
  if (e) {
159
- const c = e[u]?.[0]?.header || String(x);
159
+ const c = e[m]?.[0]?.header || String(x);
160
160
  return /* @__PURE__ */ a(
161
161
  M,
162
162
  {
@@ -184,12 +184,12 @@ function je({
184
184
  marginTop: 4
185
185
  },
186
186
  children: [
187
- /* @__PURE__ */ t(l, { variant: "h3", children: c }),
188
- /* @__PURE__ */ t(l, { bold: !0, variant: "h3", children: p(h[0]?.data[u], s) })
187
+ /* @__PURE__ */ t(l, { variant: "H3", children: c }),
188
+ /* @__PURE__ */ t(l, { bold: !0, variant: "H3", children: p(h[0]?.data[m], s) })
189
189
  ]
190
190
  }
191
191
  ),
192
- e[u]?.some((i) => (typeof i == "string" ? 0 : i.amount) !== 0) ? e[u]?.map((i) => {
192
+ e[m]?.some((i) => (typeof i == "string" ? 0 : i.amount) !== 0) ? e[m]?.map((i) => {
193
193
  const f = typeof i == "string" ? i : i.label, d = typeof i == "string" ? 0 : i.amount;
194
194
  return d === 0 ? null : /* @__PURE__ */ a(
195
195
  M,
@@ -215,7 +215,7 @@ function je({
215
215
  },
216
216
  children: [
217
217
  /* @__PURE__ */ t(
218
- H,
218
+ X,
219
219
  {
220
220
  sx: {
221
221
  width: "12px",
@@ -225,16 +225,16 @@ function je({
225
225
  }
226
226
  }
227
227
  ),
228
- /* @__PURE__ */ t(l, { variant: "body1", children: f })
228
+ /* @__PURE__ */ t(l, { variant: "Body", children: f })
229
229
  ]
230
230
  }
231
231
  ),
232
- /* @__PURE__ */ t(l, { bold: !0, variant: "body1", children: p(Math.abs(d), s) })
232
+ /* @__PURE__ */ t(l, { bold: !0, variant: "Body", children: p(Math.abs(d), s) })
233
233
  ]
234
234
  },
235
235
  f
236
236
  );
237
- }) : /* @__PURE__ */ t(l, { variant: "body1", children: "No data" })
237
+ }) : /* @__PURE__ */ t(l, { variant: "Body", children: "No data" })
238
238
  ]
239
239
  }
240
240
  );
@@ -254,7 +254,7 @@ function je({
254
254
  py: 12
255
255
  },
256
256
  children: [
257
- /* @__PURE__ */ t(l, { variant: "h3", children: String(x) }),
257
+ /* @__PURE__ */ t(l, { variant: "H3", children: String(x) }),
258
258
  h.map((c, i) => /* @__PURE__ */ a(
259
259
  M,
260
260
  {
@@ -269,7 +269,7 @@ function je({
269
269
  children: [
270
270
  /* @__PURE__ */ a(M, { sx: { flexDirection: "row", alignItems: "center", gap: 8 }, children: [
271
271
  /* @__PURE__ */ t(
272
- H,
272
+ X,
273
273
  {
274
274
  sx: {
275
275
  width: "12px",
@@ -279,9 +279,9 @@ function je({
279
279
  }
280
280
  }
281
281
  ),
282
- /* @__PURE__ */ t(l, { variant: "body1", children: typeof r[i] == "string" ? r[i] : r[i]?.label })
282
+ /* @__PURE__ */ t(l, { variant: "Body", children: typeof r[i] == "string" ? r[i] : r[i]?.label })
283
283
  ] }),
284
- /* @__PURE__ */ t(l, { bold: !0, variant: "body1", children: p(c.data[u], s) })
284
+ /* @__PURE__ */ t(l, { bold: !0, variant: "Body", children: p(c.data[m], s) })
285
285
  ]
286
286
  },
287
287
  c.id
@@ -302,9 +302,9 @@ const Qe = ({
302
302
  chartFor: o,
303
303
  chartXaxisSx: b,
304
304
  chartYaxisSx: x,
305
- colors: m,
305
+ colors: u,
306
306
  curveType: h = "linear",
307
- customLegendVariant: u,
307
+ customLegendVariant: m,
308
308
  customLegendSx: c,
309
309
  customLegendBoxSx: i,
310
310
  customTooltipLabels: f,
@@ -313,19 +313,19 @@ const Qe = ({
313
313
  isGraphClippingXAxis: D = !1,
314
314
  labels: A,
315
315
  labelBackgroundColor: I,
316
- labelFontColor: j,
316
+ labelFontColor: $,
317
317
  labelFontSize: q,
318
318
  margin: Q,
319
319
  markHandlers: U,
320
320
  markStyles: V,
321
321
  minRange: J,
322
322
  maxRange: K,
323
- onItemClick: z,
324
- peerAverage: B,
323
+ onItemClick: j,
324
+ peerAverage: W,
325
325
  showArea: E = !1,
326
- showAverage: G = !1,
326
+ showAverage: H = !1,
327
327
  showAxisHighlight: Z = !1,
328
- showBars: N = !1,
328
+ showBars: z = !1,
329
329
  showLegend: _ = !1,
330
330
  showMark: ee = !0,
331
331
  showMarkLabel: te = !1,
@@ -340,16 +340,16 @@ const Qe = ({
340
340
  width: ce,
341
341
  xAxisScaleType: de
342
342
  }) => {
343
- const y = Y(), he = d.flat().map((n) => n.x), C = d.flat().map((n) => n.y), O = B || Math.round(C.reduce((n, S) => S + n, 0) / C.length), w = Math.floor(Math.min(...C) / 100) * 100, L = Math.ceil(Math.max(...C) / 100) * 100, P = d.map((n, S) => ({
344
- type: N ? "bar" : "line",
343
+ const y = Y(), he = d.flat().map((n) => n.x), C = d.flat().map((n) => n.y), G = W || Math.round(C.reduce((n, v) => v + n, 0) / C.length), w = Math.floor(Math.min(...C) / 100) * 100, L = Math.ceil(Math.max(...C) / 100) * 100, N = d.map((n, v) => ({
344
+ type: z ? "bar" : "line",
345
345
  curve: h,
346
- color: N ? y.palette.chart?.chart6 : m[S] ?? y.palette.primary.main,
346
+ color: z ? y.palette.chart?.chart6 : u[v] ?? y.palette.primary.main,
347
347
  data: n.map((g) => g.y),
348
348
  area: E,
349
349
  baseline: s,
350
350
  showMark: !0,
351
351
  valueFormatter: (g) => k ? p(g || 0, k) : String(g)
352
- })), ue = {
352
+ })), me = {
353
353
  ...{
354
354
  top: 60,
355
355
  right: 35,
@@ -358,19 +358,19 @@ const Qe = ({
358
358
  },
359
359
  ...Q
360
360
  };
361
- let v = J ?? w, R = K ?? L;
361
+ let S = J ?? w, R = K ?? L;
362
362
  if (o === "networthChart") {
363
- const n = L - w, S = n < L * 0.05 ? 0.25 : 0.2, g = Math.max(n * S, L * 0.015);
364
- v = w - g < 0 ? w : w - g, R = L + g;
363
+ const n = L - w, v = n < L * 0.05 ? 0.25 : 0.2, g = Math.max(n * v, L * 0.015);
364
+ S = w - g < 0 ? w : w - g, R = L + g;
365
365
  }
366
- const me = () => {
366
+ const ue = () => {
367
367
  if (o === "creditOverTime")
368
- return F(v, 850, 5);
368
+ return O(S, 850, 5);
369
369
  if (o === "networthChart")
370
- return F(v, R, 5);
370
+ return O(S, R, 5);
371
371
  };
372
372
  return /* @__PURE__ */ a(
373
- X,
373
+ F,
374
374
  {
375
375
  sx: {
376
376
  position: "relative",
@@ -392,8 +392,8 @@ const Qe = ({
392
392
  fe,
393
393
  {
394
394
  height: T,
395
- margin: ue,
396
- series: P,
395
+ margin: me,
396
+ series: N,
397
397
  sx: {
398
398
  "& .MuiBarLabel-root": {
399
399
  fontSize: 10,
@@ -403,33 +403,33 @@ const Qe = ({
403
403
  opacity: 0.15
404
404
  },
405
405
  "& .MuiChartsAxis-tickLabel > tspan": {
406
- fontFamily: y.typography.body2.fontFamily
406
+ fontFamily: y.typography.Small.fontFamily
407
407
  },
408
408
  "& .MuiLineChart-markLabel": {
409
- fontFamily: y.typography.body2.fontFamily
409
+ fontFamily: y.typography.Small.fontFamily
410
410
  }
411
411
  },
412
412
  width: ce,
413
- xAxis: [{ data: he, scaleType: de || (N ? "band" : "point") }],
413
+ xAxis: [{ data: he, scaleType: de || (z ? "band" : "point") }],
414
414
  yAxis: [
415
415
  {
416
- tickInterval: me(),
417
- min: D ? -22 : v,
416
+ tickInterval: ue(),
417
+ min: D ? -22 : S,
418
418
  max: R || 100,
419
- colorMap: E && P.length < 2 ? {
419
+ colorMap: E && N.length < 2 ? {
420
420
  type: "continuous",
421
- min: v,
421
+ min: S,
422
422
  max: R,
423
423
  color: [
424
424
  y.palette.background.paper,
425
- m[0] ?? y.palette.primary.main
425
+ u[0] ?? y.palette.primary.main
426
426
  ]
427
427
  } : void 0,
428
428
  valueFormatter: (n) => k ? p(n, k) : String(n)
429
429
  }
430
430
  ],
431
431
  children: [
432
- G && /* @__PURE__ */ t(
432
+ H && /* @__PURE__ */ t(
433
433
  xe,
434
434
  {
435
435
  lineStyle: {
@@ -437,13 +437,13 @@ const Qe = ({
437
437
  strokeDasharray: "10, 8",
438
438
  strokeWidth: 2
439
439
  },
440
- y: O
440
+ y: G
441
441
  }
442
442
  ),
443
443
  /* @__PURE__ */ t(
444
444
  ye,
445
445
  {
446
- onItemClick: z,
446
+ onItemClick: j,
447
447
  ...e && {
448
448
  slots: {
449
449
  area: (n) => /* @__PURE__ */ a("g", { children: [
@@ -460,7 +460,7 @@ const Qe = ({
460
460
  /* @__PURE__ */ t(
461
461
  ge,
462
462
  {
463
- onItemClick: z,
463
+ onItemClick: j,
464
464
  slots: {
465
465
  line: (n) => /* @__PURE__ */ t(
466
466
  Ae,
@@ -475,14 +475,14 @@ const Qe = ({
475
475
  /* @__PURE__ */ t(
476
476
  pe,
477
477
  {
478
- onItemClick: z,
478
+ onItemClick: j,
479
479
  slots: se ? {
480
480
  mark: (n) => /* @__PURE__ */ t(
481
481
  De,
482
482
  {
483
483
  handlers: U,
484
484
  labelBackgroundColor: I,
485
- labelFontColor: j,
485
+ labelFontColor: $,
486
486
  labelFontSize: q,
487
487
  showLabel: te,
488
488
  showMark: ee || n.dataIndex === d[0].length - 1,
@@ -544,7 +544,7 @@ const Qe = ({
544
544
  ),
545
545
  Z && /* @__PURE__ */ t(Ce, { x: "line" }),
546
546
  ne && /* @__PURE__ */ t(
547
- je,
547
+ $e,
548
548
  {
549
549
  customLabels: f,
550
550
  labels: A,
@@ -555,13 +555,13 @@ const Qe = ({
555
555
  }
556
556
  ),
557
557
  _ && /* @__PURE__ */ t(
558
- $e,
558
+ Be,
559
559
  {
560
- average: G ? O : void 0,
560
+ average: H ? G : void 0,
561
561
  customLegendBoxSx: i,
562
- customLegendVariant: u,
562
+ customLegendVariant: m,
563
563
  labels: A,
564
- series: P,
564
+ series: N,
565
565
  style: {
566
566
  position: "absolute",
567
567
  top: 16,
@@ -0,0 +1,24 @@
1
+ import { jsxs as s, jsx as o } from "react/jsx-runtime";
2
+ import c from "@mui/material/CircularProgress";
3
+ import a from "@mui/material/Stack";
4
+ import { useTokens as i, Text as m } from "@mxenabled/mxui";
5
+ const f = ({ height: e = 250, label: r = "", size: t = 32 }) => {
6
+ const n = i();
7
+ return /* @__PURE__ */ s(
8
+ a,
9
+ {
10
+ alignItems: "center",
11
+ gap: n.Spacing.XLarge,
12
+ height: e,
13
+ justifyContent: "center",
14
+ sx: { backgroundColor: "background.paper" },
15
+ children: [
16
+ /* @__PURE__ */ o(c, { size: t }),
17
+ r && /* @__PURE__ */ o(m, { children: r })
18
+ ]
19
+ }
20
+ );
21
+ };
22
+ export {
23
+ f as L
24
+ };