@kashifd/jwero-components 0.7.24 → 0.7.25
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 +4 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -58264,11 +58264,11 @@ const uz = ({ name: e, data: t, labels: r }) => {
|
|
|
58264
58264
|
isPercentage: a = !1
|
|
58265
58265
|
}) => {
|
|
58266
58266
|
const [s, c] = _r("0"), d = ui(null), g = ui();
|
|
58267
|
-
return Si(() => {
|
|
58267
|
+
return console.log("value", e), Si(() => {
|
|
58268
58268
|
const v = e - 0, w = (T) => {
|
|
58269
58269
|
d.current || (d.current = T);
|
|
58270
|
-
const O = T - d.current, P = Math.min(O / t, 1), I = Math.floor(0 + v * P);
|
|
58271
|
-
|
|
58270
|
+
const O = T - d.current, P = Math.min(O / t, 1), I = Math.floor(0 + v * P), j = e >= 1 ? dz(I, a) : (e == null ? void 0 : e.toString()) + (a ? "%" : "");
|
|
58271
|
+
console.log(e, e > 0, j), c(j), P < 1 && (g.current = requestAnimationFrame(w));
|
|
58272
58272
|
};
|
|
58273
58273
|
return g.current = requestAnimationFrame(w), () => {
|
|
58274
58274
|
cancelAnimationFrame(g.current), d.current = null;
|
|
@@ -58313,7 +58313,7 @@ const uz = ({ name: e, data: t, labels: r }) => {
|
|
|
58313
58313
|
);
|
|
58314
58314
|
P(z > 200 * 0.5);
|
|
58315
58315
|
}
|
|
58316
|
-
}, [(I = e == null ? void 0 : e.customChipProps) == null ? void 0 : I.label]), /* @__PURE__ */ b.jsxs(
|
|
58316
|
+
}, [(I = e == null ? void 0 : e.customChipProps) == null ? void 0 : I.label]), console.log(e.total_number, Number(e.total_number)), /* @__PURE__ */ b.jsxs(
|
|
58317
58317
|
$t,
|
|
58318
58318
|
{
|
|
58319
58319
|
sx: {
|