anarock-widgets 1.0.307 → 1.0.308
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.cjs.js +1 -1
- package/dist/index.es.js +7 -7
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -50784,9 +50784,9 @@ const Mue = [
|
|
|
50784
50784
|
{ name: "Others", value: 6e5, color: "#F59E0B" },
|
|
50785
50785
|
{ name: "Pool Maintenance", value: 7e5, color: "#8B5CF6" },
|
|
50786
50786
|
{ name: "Administration", value: 52e4, color: "#10B981" }
|
|
50787
|
-
], jue = ({ active: e, payload: t }) => {
|
|
50787
|
+
], jue = ({ active: e, payload: t, currency: n }) => {
|
|
50788
50788
|
if (!e || !t || !t.length) return null;
|
|
50789
|
-
const { name:
|
|
50789
|
+
const { name: r, value: i, payload: o } = t[0];
|
|
50790
50790
|
return /* @__PURE__ */ g.jsxs(
|
|
50791
50791
|
"div",
|
|
50792
50792
|
{
|
|
@@ -50809,7 +50809,7 @@ const Mue = [
|
|
|
50809
50809
|
width: 9,
|
|
50810
50810
|
height: 9,
|
|
50811
50811
|
borderRadius: "50%",
|
|
50812
|
-
background:
|
|
50812
|
+
background: o.color,
|
|
50813
50813
|
flexShrink: 0
|
|
50814
50814
|
}
|
|
50815
50815
|
}
|
|
@@ -50818,7 +50818,7 @@ const Mue = [
|
|
|
50818
50818
|
"span",
|
|
50819
50819
|
{
|
|
50820
50820
|
style: { color: "#fff", fontSize: 13, flex: 1, whiteSpace: "nowrap" },
|
|
50821
|
-
children:
|
|
50821
|
+
children: r
|
|
50822
50822
|
}
|
|
50823
50823
|
),
|
|
50824
50824
|
/* @__PURE__ */ g.jsxs(
|
|
@@ -50832,9 +50832,9 @@ const Mue = [
|
|
|
50832
50832
|
whiteSpace: "nowrap"
|
|
50833
50833
|
},
|
|
50834
50834
|
children: [
|
|
50835
|
-
|
|
50835
|
+
n,
|
|
50836
50836
|
" ",
|
|
50837
|
-
Number(
|
|
50837
|
+
Number(i).toLocaleString()
|
|
50838
50838
|
]
|
|
50839
50839
|
}
|
|
50840
50840
|
)
|
|
@@ -50866,7 +50866,7 @@ function Yfe({ data: e, currency: t = "AED" }) {
|
|
|
50866
50866
|
children: n.map((o, a) => /* @__PURE__ */ g.jsx(xn, { fill: o.color }, `cell-${a}`))
|
|
50867
50867
|
}
|
|
50868
50868
|
),
|
|
50869
|
-
/* @__PURE__ */ g.jsx(Tt, { content: /* @__PURE__ */ g.jsx(jue, {}) })
|
|
50869
|
+
/* @__PURE__ */ g.jsx(Tt, { content: /* @__PURE__ */ g.jsx(jue, { currency: t }) })
|
|
50870
50870
|
] }) }),
|
|
50871
50871
|
/* @__PURE__ */ g.jsxs("div", { className: "absolute inset-0 flex flex-col items-center justify-center pointer-events-none", children: [
|
|
50872
50872
|
/* @__PURE__ */ g.jsxs("div", { className: "font-semibold text-3xl leading-[12px] ", children: [
|